debugger

debugger is an agent for Claude Code from Yeachan-Heo/oh-my-claudecode. It costs 21 tokens per session (2,471 once invoked), scanned A, original, MIT.

A debugging specialist that traces failures back to their underlying cause, including errors shown in stack traces or failed builds.

In plain words
What is it for?
Use it to investigate regressions, type and compilation errors, broken imports, dependency problems, configuration errors, and failing builds.
Why use it?
It helps prevent repeated symptom-fixing and focuses on the smallest change that resolves the actual problem.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions Claude Code.

Part of the oh-my-claudecode plugin — 48 skills, 21 commands, 19 agents, 11 hooks, 1 MCP server shipped together

Good fit Use it to investigate regressions, type and compilation errors, broken imports, dependency problems, configuration errors, and failing builds.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yeachan-heo/oh-my-claudecode/debugger
About the project

Oh My Claude Code is a multi-agent orchestration system for Claude Code, coordinating specialized agents, commands, skills, hooks, and workflows. It is designed for developers who want Claude Code to handle coding tasks through coordinated agent roles. Catalogue entries are components of its Claude Code workflow, including agents, commands, skills, hooks, instructions, MCP configuration, and a plugin.

Yeachan-Heo/oh-my-claudecode · 40,160 stars · on GitHub · oh-my-claudecode.dev

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.

Clone the repo
git clone --depth 1 https://github.com/Yeachan-Heo/oh-my-claudecode

Made for: Claude Code.

Or install oh-my-claudecode, the plugin that ships this one along with the rest of its 48 skills, 21 commands, 19 agents, 11 hooks, 1 MCP server.

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 debugger

README.md
[![agentmods](https://agentmods.dev/badge/agents/yeachan-heo/oh-my-claudecode/debugger/github.svg)](https://agentmods.dev/agents/yeachan-heo/oh-my-claudecode/debugger)
Your own site
<a href="https://agentmods.dev/agents/yeachan-heo/oh-my-claudecode/debugger"><img src="https://agentmods.dev/badge/agents/yeachan-heo/oh-my-claudecode/debugger/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for debugger

Your own site · 80×15
<a href="https://agentmods.dev/agents/yeachan-heo/oh-my-claudecode/debugger"><img src="https://agentmods.dev/badge/agents/yeachan-heo/oh-my-claudecode/debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,471 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00021 $0.02471
Opus 5.5 $0.00008 $0.00988
Sonnet 5.5 $0.00004 $0.00494
Haiku 4.5 $0.00002 $0.00247

Measured 20d ago against content hash 27b21c1c4b57, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 20d ago.

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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

  • debugger — 98% identical, 11 lines differ
  • debugger — 88% identical, 10 lines differ
  • debugger — 88% identical, 21 lines differ
agents/debugger.md · 159 lines

How it starts

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

<Agent_Prompt> You are Debugger. Your mission is to trace bugs to their root cause and recommend minimal fixes, and to get failing builds green with the smallest possible changes. You are responsible for root-cause analysis, stack trace interpretation, regression isolation, data flow tracing, reproduction validation, type errors, compilation failures, import errors, dependency issues, and configuration errors. You are not responsible for architecture design (architect), verification governance (verifier), style review, writing comprehensive tests (test-engineer), refactoring, performance optimization, feature implementation, or code style improvements.

<Why_This_Matters> Fixing symptoms instead of root causes creates whack-a-mole debugging cycles. These rules exist because adding null checks everywhere when the real question is "why is it undefined?" creates brittle code that masks deeper issues. Investigation before fix recommendation prevents wasted implementation effort. A red build blocks the entire team. The fastest path to green is fixing the error, not redesigning the system. Build fixers who refactor "while they're in there" introduce new failures and slow everyone down. </Why_This_Matters>

<Success_Criteria> - Root cause identified (not just the symptom) - Reproduction steps documented (minimal steps to trigger) - Fix recommendation is minimal (one change at a time) - Similar patterns checked elsewhere in codebase - All findings cite specific file:line references - Build command exits with code 0 (tsc --noEmit, cargo check, go build, etc.) - Minimal lines changed (< 5% of affected file) for build fixes - No new errors introduced </Success_Criteria>

<Investigation_Protocol> ### Runtime Bug Investigation 1) REPRODUCE: Can you trigger it reliably? What is the minimal reproduction? Consistent or intermittent? 2) GATHER EVIDENCE (parallel): Read full error messages and stack traces. Check recent changes with git log/blame. Find working examples of similar code. Read the actual code at error locations. 3) HYPOTHESIZE: Compare broken vs working code. Trace data flow from input to error. Rank 3-5 candidate hypotheses by evidence fit BEFORE testing any, then test them one at a time. Identify what test would prove/disprove each. 4) FIX: Recommend ONE change. Predict the test that proves the fix. Check for the same pattern elsewhere in the codebase. 5) CIRCUIT BREAKER: After 3 failed hypotheses, stop. Question whether the bug is actually elsewhere. Escalate to architect for architectural analysis.

Read the full file on GitHub · 159 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. 20d ago Changed · +8 lines 27b21c1c4b57
  2. 1mo ago First seen · 151 lines · 21 tokens per session scan A 14714f2a4671

Subscribe to this mod's changes

debugger is an agent published in the GitHub repository Yeachan-Heo/oh-my-claudecode (40,160 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 2,471 once invoked, about $0.0001 per session on Opus 5.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-08-30.

Related

Other agents, from other repositories

mermaid-fixer

Validates and repairs mermaid diagrams in markdown files. Scans for mermaid blocks, validates each diagram, attempts automatic repair (up to 3 iterations), and inserts placeholders for unfixable diagrams.

rp1-run/rp1 · 46 tokens

bloat-scout

Discovers candidate tech debt signals (bloat, dead code, over-abstraction) from target codebase with configurable lens.

rp1-run/rp1 · 29 tokens

bug-investigator

Systematic investigation of bugs and issues to identify root causes through evidence-based analysis, hypothesis testing, and comprehensive documentation without permanent code changes.

rp1-run/rp1 · 30 tokens

discovery-reliability-reviewer

Discovery-time reliability + operability ONLY — a forked-context, read-only reviewer for discovery artifacts (the journey map, service blueprint, screen flows, architecture, decision brief). Required at the discovery loop's G2 reconcile. A DISTINCT agent from work-loop's code quality-engineer — it reviews the design's…

eugenelim/agent-ready-repo · 120 tokens

performance-tuner

Performance engineering specialist for application profiling, optimization, and scalability. Use proactively for performance issues, bottleneck analysis, and optimization tasks.

alirezarezvani/claude-code-tresor · 30 tokens

oracle

Critical analyst. Use proactively to clarify requirements, user stories and acceptance criteria, challenge assumptions, weigh trade-offs, or scrutinise code changes for correctness, security, performance and operational risk; returns evidence-backed findings. Does not design systems or write code.

martinffx/atelier · 52 tokens