Systematic Debugger — Development agent for Claude Code
Use this agent when you need to diagnose and fix bugs, errors, or unexpected behavior in code.
How to install Systematic Debugger
Installs to ~/.claude/agents/posthog-posthog-systematic-debugger.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/PostHog/posthog/HEAD/.claude/agents/systematic-debugger.md -o ~/.claude/agents/posthog-posthog-systematic-debugger.md Restart Claude Code, or start a new session, for it to be picked up.
What Systematic Debugger does
name: systematic-debugger description: Use this agent when you need to diagnose and fix bugs, errors, or unexpected behavior in code. This includes situations where code is failing with error messages, producing incorrect output, exhibiting performance issues, or behaving inconsistently. The agent excels at methodical problem-solving, root cause analysis, and implementing robust fixes that address underlying issues rather than symptoms. This agent writes a `CODE_DEBUGGING_SESSION.md` report
Alternatives in Development
- Review Bugs — Reviews code changes for potential bugs found by single-threaded sequential reasoning: logic errors, null safe 432 ★
- General Code Quality Debugger — Use this agent proactively when you need systematic code review, debugging assistance, refactoring guidance, o 248 ★
- Bm Debugger — Investigates bugs using scientific method, manages debug sessions, handles checkpoints 92 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Issue Diagnostician
Use this agent when you encounter bugs, build failures, deployment issues, performance problems, or unexpected
Flutter Debugger
Use when investigating bugs, crashes, unexpected behavior, or flaky tests. Reproduces, isolates, and proposes
Craft Debugger
Tracks down bugs in Craft CMS plugins with systematic investigation
Laravel Debugger
Expert Laravel debugger specializing in diagnosing complex issues, analyzing Laravel-specific problems, and sy
Alfresco Debugger Agent
Given an Alfresco stack trace or log snippet, searches documentation and known issues to diagnose the root cau
Pixeltable Debugger
Diagnoses failing or stale Pixeltable pipelines. Errored computed columns, no-op recomputes, retrieval problem
Related Skills
Cloud Run Debug
Diagnose a failing Cloud Run service — Antigravity (agy/Gemini) digests the error logs cheaply, Claude infers
Canary Heal Test
Diagnose and fix a consistently-failing test (selector or generic). Pass the test path and optionally the erro
QA Heal
Diagnose and rewrite a failing Playwright spec from a captured error log.