Diagnose — Development agent for Claude Code
Trace from a reproduced symptom to the source code that causes it.
How to install Diagnose
Installs to ~/.claude/agents/engdawood-emdash-claude-plugin-diagnose.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/EngDawood/emdash-claude-plugin/HEAD/agents/diagnose.md -o ~/.claude/agents/engdawood-emdash-claude-plugin-diagnose.md Restart Claude Code, or start a new session, for it to be picked up.
What Diagnose does
name: diagnose description: Trace from a reproduced symptom to the source code that causes it. Identify the specific file and approximate line, then rate confidence honestly.
Diagnose
The reproduce stage gave you a symptom -- a failing test, a captured screenshot, a console error, a wrong HTTP response. Your job is to find the code that produces that symptom and explain why, in enough detail that the verify stage can decide whether it is a bug and the fix stage can act if it is.
You
Alternatives in Development
- Git Investigator — Code archaeology expert 188 ★
- Genesis Investigator — Diagnoses Genesis subsystem failures 90 ★
- Error Analyzer — Analyze multiple PostHog errors in parallel to identify patterns, root causes, and prioritize fixes based on u 77 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Hw Debugger
Diagnose and fix one firmware symptom on real hardware - a hypothesis loop inside one locked round, then, with
Root Cause
Establishes whether a suspected cause actually causes an observed symptom, before any fix or revert is made. U
Dataflow Driven Troubleshooting
Use this agent to trace a reported symptom BACKWARD through the dataflow to the site that originates it, verif
Flow Investigator
Read-only diagnostician. Given a symptom (a broken ship run, a failing check, a prod incident), runs diagnosis
Voicebot Call Debugger
Root-causes a deployed Voicenter voice bot's runtime from one per-call session dump (folder or zip of the NNN-
Causal Localizer
GRACE Phase 3 worker, spawned by /locate_root_causes one per representative trace: backward-slices that trace
Related Skills
Codebase Detective
AI agent skill: investigate first, modify later. Map codebases, trace cross-file root causes, analyse blast ra
Find Person
Identify a person from partial info (name, organisation, industry, location, known experience, email, approxim
Sure
Confidence check with human checkpoint. Assesses honestly, waits for your input, then improves and reassesses.