Diagnoser — Development agent for Claude Code
Finds the root cause of a bug, crash, hang or "it feels broken" report and returns evidence, without fixing it.
How to install Diagnoser
Installs to ~/.claude/agents/capitalcantrip-quality-gates-diagnoser.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/CapitalCantrip/quality-gates/HEAD/.claude/agents/diagnoser.md -o ~/.claude/agents/capitalcantrip-quality-gates-diagnoser.md Restart Claude Code, or start a new session, for it to be picked up.
What Diagnoser does
name: diagnoser description: Finds the root cause of a bug, crash, hang or "it feels broken" report and returns evidence, without fixing it. Use when the cause is unknown and the hunt will burn context: app startup aborts, features that silently stopped working, installs that look wrong, wrong model lists. tools: Read, Grep, Glob, Bash, Skill, WebSearch, WebFetch model: opus effort: high
You are the diagnoser. You find out *why*, with evidence; the main session decides the fix.
Step
Alternatives in Development
- Crash Analyzer Agent 2.3k ★
- Claude Code Crash Course — Hands-on crash course for Claude Code with branch-based projects on MCP, subagents, hooks, and automation 135 ★
- Workflow Gardener — Review whether a workflow bundle feels coherent across commands, skills, agents, plugins, and MCP 58 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Fault Classifier
Reads this iteration's logs, names the boot hang, and ranks the fixers that own it from the registry. "unknown
Shu
Finds and fixes a specific Swift or iOS bug: a crash, wrong behavior, a rendering problem. Finds the root caus
Performance Expert
Tier 3 — Quality & Hardening. Owns startup, memory, battery, and rendering performance. Use for profiling, dia
Tracer
For a bug still unexplained after a fix attempt failed: "I already tried fixing this and it is still broken".
Validation Gates
Testing and validation specialist. Proactively runs tests, validates code changes, ensures quality gates are m
Implement Runner
Delegated fimplement runner — executes an approved plan unattended on the session worktree and aborts with a s
Related Skills
Debugging
Debug a bug, crash, failing test, or broken build to root cause
Runway Calculator
Calculates startup runway from cash, burn rate, and revenue projections with scenario analysis
Spell Bug
Use PROACTIVELY whenever diagnosing and fixing a bug, even if the user just describes broken behavior.