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 ★
- Genesis Investigator — Diagnoses Genesis subsystem failures 90 ★
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
Alfresco Debugger Agent
Given an Alfresco stack trace or log snippet, searches documentation and known issues to diagnose the root cau
Laravel Debugger
Expert Laravel debugger specializing in diagnosing complex issues, analyzing Laravel-specific problems, and sy
Pixeltable Debugger
Diagnoses failing or stale Pixeltable pipelines. Errored computed columns, no-op recomputes, retrieval problem
Related Skills
Root Cause Tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger - systematical
GitHub Review Comments
Use when a PR has unresolved review comments that need responses -- evaluates each comment, implements valid f
J Debug
Systematic bug investigation — root cause analysis, not random fixes. Use when a test fails, a bug appears, or