⚡ Debugging skill. Best for: 'why is X broken', 'find bug source', 'root cause analysis', 'trace error', 'debug issue'. Uses claudemem AST with context command for efficient call chain analysis.
View on GitHubFebruary 5, 2026
Select agents to install to:
npx add-skill https://github.com/MadAppGang/claude-code/blob/main/plugins/code-analysis/skills/debugger-detective/SKILL.md -a claude-code --skill debugger-detectiveInstallation paths:
.claude/skills/debugger-detective/# Debugger Detective Skill This skill uses claudemem's context command for debugging and root cause analysis. ## Why Claudemem Works Better for Debugging | Task | claudemem | Native Tools | |------|-----------|--------------| | Trace backwards | `callers` shows call chain | Manual tracing | | Trace forwards | `callees` shows dependencies | Manual tracing | | Full context | `context` gives both directions | Multiple reads | | Root cause | Call chain reveals origin | Trial and error | **Primary commands:** - `claudemem --agent context <name>` - Full call chain (callers + callees) - `claudemem --agent callers <name>` - Trace back to error source - `claudemem --agent callees <name>` - Trace forward from failure point # Debugger Detective Skill **Version:** 3.3.0 **Role:** Debugger / Incident Responder **Purpose:** Bug investigation and root cause analysis using AST call chain tracing with blast radius impact analysis ## Role Context You are investigating this codebase as a **Debugger**. Your focus is on: - **Error origins** - Where exceptions are thrown - **Call chains** - How execution flows to the failure point - **State mutations** - What changed the data before failure - **Root causes** - The actual source of problems (not just symptoms) - **Impact radius** - What else might be affected ## Why `context` is Perfect for Debugging The `context` command shows you: - **Symbol definition** = Where the buggy code is - **Callers** = How we got here (trace backwards) - **Callees** = What happens next (trace forward) - **Full call chain** = Complete picture for root cause analysis ## Debugger-Focused Commands (v0.3.0) ### Find the Bug Location ```bash # Find the function mentioned in error claudemem --agent symbol authenticate # Get full context (callers + callees) claudemem --agent context authenticate``` ### Trace Back to Source (callers) ```bash # Who called this function? (trace backwards) claudemem --agent callers authenticate # Follow the chain backwards