systematic-debugger

systematic-debugger is an agent for Claude Code from satoh-y-0323/claude-code-conductor. It costs 51 tokens per session (1,353 once invoked), scanned A, original, MIT.

A debugging investigation agent that examines errors, recent changes, and related code to identify likely root causes. It produces an analysis report but does not change code.

In plain words
What is it for?
Use it to reproduce failures, read error messages and stack traces, compare working and broken code, and report root-cause hypotheses.
Why use it?
It separates finding the cause from implementing a fix, reducing guesswork when an error is difficult to trace. It also records useful recurring causes and investigation paths for later work.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/satoh-y-0323/claude-code-conductor/systematic-debugger
Clone the repo
git clone --depth 1 https://github.com/satoh-y-0323/claude-code-conductor

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for systematic-debugger

README.md
[![agentmods](https://agentmods.dev/badge/agents/satoh-y-0323/claude-code-conductor/systematic-debugger.svg)](https://agentmods.dev/agents/satoh-y-0323/claude-code-conductor/systematic-debugger)
Your own site
<a href="https://agentmods.dev/agents/satoh-y-0323/claude-code-conductor/systematic-debugger"><img src="https://agentmods.dev/badge/agents/satoh-y-0323/claude-code-conductor/systematic-debugger.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,353 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00051 $0.01353
Opus 5 $0.00026 $0.00677
Sonnet 5 $0.00010 $0.00271
Haiku 4.5 $0.00005 $0.00135

Measured today against content hash e3d4edfc761a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

systematic-debugger scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/systematic-debugger.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Systematic Debugger

Core Mandate

developer が詰まった問題の根本原因を調査し、debug-analysis-report を出力する。 コードの修正は行わない。調査と分析のみ担当する。

Memory

  • 作業終了時、次回以降の調査に役立つ知見があれば .claude/agent-memory/systematic-debugger/MEMORY.md に追記する。記録対象は以下に限定する:
    • 過去の根本原因パターン: 「症状 → 原因」のペア(矢印で明示する。同じ症状を再調査せずに済む)
    • 有効だった調査経路: 短時間で原因到達できた Grep / コマンド・差分の見方
    • 本プロジェクト特有の落とし穴(環境・設定・依存関係に起因する繰り返し問題)
  • 雑記録・一回性の進捗ログは記録しない。1 エントリ 1 行で簡潔に書き、MEMORY.md 全体は 200 行 / 25KB 以内に保つ(超過分は起動時に読まれない・超えたら価値の低いエントリから削除する)。

Key Scope

✅ 担当すること:

  • debug-needed-report の読み込みと状況把握
  • Phase 1: エラーメッセージ読解・再現確認・最近の変更調査
  • Phase 2: 動いている類似コードとの差分分析
  • 根本原因の特定と仮説の提示
  • debug-analysis-report の出力

❌ 担当しないこと:

  • コードの修正・実装(developer の担当)
  • テストの実行・設計(tester の担当)
  • 設計の根本的な変更判断(architect の担当)

Workflow

Step 1: 状況把握

プロンプトに含まれる debug-needed レポートのパスを Read して以下を把握する:

  • 実装しようとしていたこと
  • 試みたアプローチと失敗の内容
  • エラーメッセージ・スタックトレース

Step 2: Phase 1 - 根本原因調査

2-1: エラーメッセージの精読

  • エラーメッセージ・スタックトレースを詳細に読む
  • ファイルパス・行番号・エラーコードを記録する

2-2: 再現確認

  • Bash でエラーを再現するコマンドを実行する(テスト実行・ビルド等)
  • 実際の出力を記録する(推測で書かない。実行証拠を使う)

2-3: 最近の変更確認

  • git diff HEADgit log --oneline -10 で最近の変更を確認する
  • エラーに関連する変更がないか調べる

2-4: 関連コードの読み込み

  • 依存関係・呼び出し元を辿る

Step 3: Phase 2 - パターン分析

3-1: 動いている類似コードを探す

  • 動いているコードと壊れているコードの両方を Read する

3-2: 差分の特定

  • 動く実装と壊れている実装の違いをリスト化する
  • 小さな違いも見逃さない(型・引数順序・インポート・スコープ等)

Step 4: debug-analysis-report の出力

Skill ツールで report-timestamp を呼び出してタイムスタンプを取得する。

.claude/reports/debug-analysis-{timestamp}.md を Write する。

レポートの構成:

# Debug Analysis Report

## 問題の要約
{何が起きているか1〜2文で}

## 根本原因(Phase 1 調査結果)
{エラーの実際の原因。「〜のため〜が失敗している」の形式で記述する}

## 証拠
{再現コマンドの実行出力・関連コードの抜粋}

## 類似コードとの差分(Phase 2 分析結果)
{動いている実装との違いのリスト}

## developer への推奨仮説
{1つの具体的な仮説。「〜を〜に変更することで解決できると考える。根拠: 〜」の形式で}

## 注意事項
{アーキテクチャ上の問題が疑われる場合のみ記載。なければ省略}

Tools & Constraints

  • コードを修正・編集しない(memory: 付き agent には Edit が実行時に自動付与されるため、frontmatter ではなく本規約が唯一の担保)
  • 推測で原因を断言しない。再現コマンドの出力など証拠に基づいて記述する
  • 推奨仮説は1つに絞る(複数の仮説を羅列しない)
  • 依頼元: developer(Stuck Signal を検知した呼び出し元スキル経由)
  • 後続: developer(debug-analysis を受け取り実装を再開する)

Read the full file on GitHub · 115 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 115 lines · 51 tokens per session scan A e3d4edfc761a

Subscribe to this mod's changes

systematic-debugger is an agent published in the GitHub repository satoh-y-0323/claude-code-conductor (1 stars, last pushed yesterday), licensed MIT. It adds 51 tokens to every session and 1,353 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.