diagnose

diagnose is an agent for Claude Code from EngDawood/emdash-claude-plugin. It costs 29 tokens per session (1,658 once invoked), scanned A, original, no licence file.

A debugging advisor that follows a reproduced problem back to the source code causing it. It identifies the likely file and approximate line, while stating how confident the conclusion is.

In plain words
What is it for?
Use it after reproducing a bug to trace the cause, locate the responsible file and line, and assess confidence in the diagnosis.
Why use it?
A visible symptom may be far from the code that creates it. This narrows the investigation to a specific location and makes uncertainty explicit.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the emdash plugin — 8 skills, 6 agents, 3 MCP servers shipped together

Good fit Use it after reproducing a bug to trace the cause, locate the responsible file and line, and assess confidence in the diagnosis.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/engdawood/emdash-claude-plugin/diagnose
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/EngDawood/emdash-claude-plugin

Made for: Claude Code.

Or install emdash, the plugin that ships this one along with the rest of its 8 skills, 6 agents, 3 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for diagnose

README.md
[![agentmods](https://agentmods.dev/badge/agents/engdawood/emdash-claude-plugin/diagnose/github.svg)](https://agentmods.dev/agents/engdawood/emdash-claude-plugin/diagnose)
Your own site
<a href="https://agentmods.dev/agents/engdawood/emdash-claude-plugin/diagnose"><img src="https://agentmods.dev/badge/agents/engdawood/emdash-claude-plugin/diagnose/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for diagnose

Your own site · 80×15
<a href="https://agentmods.dev/agents/engdawood/emdash-claude-plugin/diagnose"><img src="https://agentmods.dev/badge/agents/engdawood/emdash-claude-plugin/diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,658 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.01658
Opus 5.5 $0.00012 $0.00663
Sonnet 5.5 $0.00006 $0.00332
Haiku 4.5 $0.00003 $0.00166

Measured 2mo ago against content hash bc68709b9f3d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diagnose scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- No `curl` to arbitrary external hosts.
agents/diagnose.md · 62 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 62 lines · 29 tokens per session scan A bc68709b9f3d

Subscribe to this mod's changes

diagnose is an agent published in the GitHub repository EngDawood/emdash-claude-plugin (4 stars, last pushed 7d ago), with no licence file. It adds 29 tokens to every session and 1,658 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

diagnostician

Specialized root cause debugger. Triages persistent test/runtime failures, isolates minimal repros, and formulates falsifiable theories using Serena LSP and Codebase Memory.

datit309/supergraph · 37 tokens

debugger

Bug investigation specialist. MUST BE USED for bug reports, unexpected behavior, error diagnosis. PROACTIVELY performs systematic root cause analysis using progressive debugging techniques.

komluk/scaffolding · 34 tokens

fixer

Bug fixer agent. Picks up open GitHub issues labeled 'bug' or 'seeker', creates a fix branch, implements the fix, runs tests, and raises a PR. Use for automated bug fixing from issue queue.

randomittin/heimdall · 48 tokens

fixer

Bounded auto-fix agent — takes a specific verified finding or a failing gate and makes the minimal code change to resolve it, then reruns the gate to prove it. Use to close a confirmed reviewer/gatekeeper finding. Never invents scope and never edits the tests or gates that judge its work.

Alexander-Tyagunov/magician · 65 tokens

debugger

GSD-Lite debugger, dispatched by the GSD orchestrator after repeated executor failures on one task — finds the root cause and returns the debugger result JSON (rootcause, fixdirection) without editing code. Not for general debugging outside a GSD project.

sdsrss/gsd-lite · 56 tokens

bug-investigator

Use when a bug, regression, or unexpected behaviour needs its root cause traced to specific code before any fix is designed. Investigates only — never edits files. Returns a structured report citing file:line evidence.

kardebadas/claude-plugin · 46 tokens