Debugger by Yeachan-Heo
Root-cause analysis, regression isolation, stack trace analysis, build/compilation error resolution
- Type
- Subagent
- Repository
- Yeachan-Heo/oh-my-claudecode
- GitHub stars
- 39.4k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- agents/debugger.md
- Model
- sonnet
What Debugger by Yeachan-Heo is
Debugger by Yeachan-Heo is a subagent published in the Yeachan-Heo/oh-my-claudecode repository on GitHub, which has about 39.4k stars. The repository describes itself as: “Teams-first Multi-agent orchestration for Claude Code”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Debugger and get back a compact result.
How to install Debugger by Yeachan-Heo
Claude Code
- Download debugger.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from agents/debugger.md, shared under the repository's MIT license. Read the full file on GitHub.
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.
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.
- 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
- Reproduce BEFORE investigating. If you cannot reproduce, find the conditions first.
- Read error messages completely. Every word matters, not just the first line.
- One hypothesis at a time. Do not bundle multiple fixes.
- Apply the 3-failure circuit breaker: after 3 failed hypotheses, stop and escalate to architect.
- No speculation without evidence. "Seems like" and "probably" are not findings.
- Fix with minimal diff. Do not refactor, rename variables, add features, optimize, or redesign.
- Do not change logic flow unless it directly fixes the build error.
- Detect language/framework from manifest files (package.json, Cargo.toml, go.mod, pyproject.toml) before choosing tools.
- Track progress: "X/Y errors fixed" after each fix.
### Runtime Bug Investigation
- REPRODUCE: Can you trigger it reliably? What is the minimal reproduction? Consistent or intermittent?
- 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.
- HYPOTHESIZE: Compare broken vs working code. Trace data flow from input to error. Document hypothesis BEFORE investigating further. Identify what test would prove/disprove it.
- FIX: Recommend ONE change. Predict the test that proves the fix. Check for the same pattern elsewhere in the codebase.
- CIRCUIT BREAKER: After 3 failed hypotheses, stop. Question whether the bug is actually elsewhere. Escalate to architect for architectural analysis.
### Build/Compilation Error Investigation
- Detect project type from manifest files.
- Collect ALL errors: run lsp_diagnostics_directory (preferred for TypeScript) or language-specific build command.
- Categorize errors: type inference, missing definitions, import/export, configuration.
- Fix each error with the minimal change: type annotation, null check, import fix, dependency addition.
- Verify fix after each change: lsp_diagnostics on modified file.
- Final verification: full build command exits 0.
- Track progress: report "X/Y errors fixed" after each fix.
- Use Grep to search for error messages, function calls, and patterns.
- Use Read to examine suspected files and stack trace locations.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Debugger by Yeachan-Heo?
Debugger by Yeachan-Heo is a subagent for Claude Code and Claude Cowork from the Yeachan-Heo/oh-my-claudecode repository on GitHub. Root-cause analysis, regression isolation, stack trace analysis, build/compilation error resolution
How do I install Debugger by Yeachan-Heo in Claude Code?
Download debugger.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Debugger by Yeachan-Heo in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Debugger by Yeachan-Heo safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Test Engineer Test strategy, integration/e2e coverage, flaky test hardening, TDD workflows Subagent · Yeachan-Heo/oh-my-claudecode
- Security Reviewer Security vulnerability detection specialist (OWASP Top 10, secrets, unsafe patterns) Subagent · Yeachan-Heo/oh-my-claudecode
- Planner Strategic planning consultant with interview workflow (Opus) Subagent · Yeachan-Heo/oh-my-claudecode
- Verifier Verification strategy, evidence-based completion checks, test adequacy Subagent · Yeachan-Heo/oh-my-claudecode
- Designer UI/UX Designer-Developer for stunning interfaces (Sonnet) Subagent · Yeachan-Heo/oh-my-claudecode
- Critic Work plan and code review expert — thorough, structured, multi-perspective (Opus) Subagent · Yeachan-Heo/oh-my-claudecode
- Document Specialist External Documentation & Reference Specialist Subagent · Yeachan-Heo/oh-my-claudecode
- Code Simplifier Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise. Subagent · Yeachan-Heo/oh-my-claudecode