本文へ移動
cccskills
無料GitHub で公開

investigate

Bring past diagnoses to a bug before fixing it, record the new root-cause hypothesis, and close it as confirmed or refuted once the fix is verified. Use when a bug could come from more than one layer, or looks like something seen before.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Investigate

Cartographer's part of bug work is memory: what was diagnosed before, which hypotheses turned out wrong, and what finally fixed it. How to debug is left to you. This skill adds three steps around your own diagnosis.

Resolve ROOT from CARTOGRAPHER_ROOT, CLAUDE_PLUGIN_ROOT, or PLUGIN_ROOT; otherwise use this skill's base directory (../.. from skills/investigate).

1. Recall before diagnosing

Search for the symptom and for the files or components involved:

bash "$ROOT/scripts/cartographer-search.sh" "Investigated <symptom words>" --limit 10
bash "$ROOT/scripts/cartographer-search.sh" "<file or component name>" --limit 10

For each earlier investigation result, search its event id to find how it ended. An investigation_outcome event names it in its summary:

bash "$ROOT/scripts/cartographer-search.sh" "evt-abc123def456" --limit 5

Use --get <ids> for the full records. Report what bears on this bug, most of all hypotheses that were refuted for a similar symptom, and a confirmed cause that could be recurring. An investigation with no outcome is an open guess, not a finding. If nothing relevant comes back, say so in one line.

2. Record the hypothesis

Once you have a diagnosis worth testing, record it. It should name the cause, the mechanism that produces the symptom, and one observation that would disprove it.

jq -n -c --arg symptom "$SYMPTOM" --arg hypothesis "$HYPOTHESIS" \
  --arg layer "$LAYER" --argjson files "$FILES_JSON" \
  '{kind:"open", symptom:$symptom, hypothesis:$hypothesis, layer:$layer, files:$files}' \
  | bash "$ROOT/scripts/record-investigation.sh"

layer is optional (for example logic, state, boundary, validation, build); files is an optional JSON array of paths. Keep the printed event_id for step 3. The receipt reports the durable write and the index separately; if indexing failed, the record is still searchable by keyword.

3. Close it

After the fix is verified against the real failure, or the hypothesis is disproved, record the outcome:

jq -n -c --arg id "$EVENT_ID" --arg outcome confirmed --arg evidence "$EVIDENCE" \
  '{kind:"close", resolves:$id, outcome:$outcome, evidence:$evidence}' \
  | bash "$ROOT/scripts/record-investigation.sh"

outcome is confirmed, refuted, or abandoned. evidence is the observation that decided it: a log line, a measured value, a passing check on the real target. A refuted hypothesis is worth closing: it is the record that saves the next session from repeating it.

If the investigation continues in another session, step 1 finds the open record and its id there.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

carto

無料

Open the Session Cartographer Explorer web UI for visual browsing of Claude Code and Codex session history.

日本語の概要は準備中です。原文の説明を表示しています。

andyed/session-cartographer82026年10月8日 更新

focus

無料

Retired. Project orientation moved to the remember skill (`/remember --project <name>` with no query). Use remember instead.

日本語の概要は準備中です。原文の説明を表示しています。

andyed/session-cartographer82026年10月8日 更新

remember

無料

Recall past work across Claude Code and Codex sessions. Finds decisions, research, fixes, and conversations by intent; with only a project and no question, orients on that project's recent state.

日本語の概要は準備中です。原文の説明を表示しています。

andyed/session-cartographer82026年10月8日 更新

setup

無料

Diagnose or enable Session Cartographer semantic search in Codex, including least-privilege localhost access to local Qdrant and the embedding server. Use when setup, Qdrant health, localhost reachability, sandbox network denial, or semantic indexing is in question.

日本語の概要は準備中です。原文の説明を表示しています。

andyed/session-cartographer82026年10月8日 更新

standup

無料

Brief on concurrent sessions — who else is working, in which repos, on which files, and what landed underneath you. Use when a commit appears that you did not make, before touching a shared file, or when orienting mid-task in a busy workspace.

日本語の概要は準備中です。原文の説明を表示しています。

andyed/session-cartographer82026年10月8日 更新

trustmap

無料

Derive or update the auto mode `autoMode.environment` block from the event corpus — which repos, hosts, buckets, and CLIs your work actually touches.

日本語の概要は準備中です。原文の説明を表示しています。

andyed/session-cartographer82026年10月8日 更新

andyed のスキルをすべて見る

このスキルの問題を報告する