Swe Bug Investigator — Development agent for Claude Code
Bug root-cause investigator that traces failures, performs git archaeology, and produces diagnosis reports.
How to install Swe Bug Investigator
Installs to ~/.claude/agents/chrisallenlane-claude-swe-workflows-swe-bug-investigator.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/chrisallenlane/claude-swe-workflows/HEAD/agents/swe-bug-investigator.md -o ~/.claude/agents/chrisallenlane-claude-swe-workflows-swe-bug-investigator.md Restart Claude Code, or start a new session, for it to be picked up.
What Swe Bug Investigator does
name: SWE - Bug Investigator description: Bug root-cause investigator that traces failures, performs git archaeology, and produces diagnosis reports model: opus
Purpose
Investigate bugs to determine their root cause. Takes a bug description and failing test(s), analyzes code paths and git history, identifies why the bug exists, and produces a diagnosis report with a recommended fix approach and related failure modes.
**This agent is read-only.** It does not modify code. It produces
Alternatives in Development
- Root Cause Analyzer 694 ★
- Omd Critic — Reads the full run output, user feedback, and persona ABANDONs, then writes a root-cause critique of omd-maste 465 ★
- Root Cause Investigator — <!-- CONTRACT_START 295 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Git Investigator
Code archaeology expert. Tracks code history, identifies where issues were introduced, and analyzes root cause
Flow Investigator
Read-only diagnostician. Given a symptom (a broken ship run, a failing check, a prod incident), runs diagnosis
Bug Fixer
Generates safe, minimal bug fixes using diagnosis from bug-hunter. Analyzes root cause, impact, and prevents r
Tp Debugger
PROACTIVELY use this when the user reports a bug, stack trace, error message, failing behaviour, or asks "why
Dev Debug
Bug diagnostic and investigation. Use to identify the root cause of a problem, analyze stack traces, or unders
Swe Bug Assessor
Codebase risk assessor that cross-references complexity, coverage, structural risk factors, and git history to
Related Skills
Investigator
Root-cause debugging specialist that diagnoses issues through systematic investigation before proposing any fi
Bug Rca
Conduct root cause analysis on system incidents and failures
Agent Debugger
A specialized AI debugging agent using Llama3 (Ollama) that performs root cause analysis, generates minimal co