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.
npx skills add bendrucker/claude --skill diagnosing-bugsgit clone --depth 1 https://github.com/bendrucker/claudeWrote 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.
[](https://agentmods.dev/skills/bendrucker/claude/diagnosing-bugs)<a href="https://agentmods.dev/skills/bendrucker/claude/diagnosing-bugs"><img src="https://agentmods.dev/badge/skills/bendrucker/claude/diagnosing-bugs/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.
<a href="https://agentmods.dev/skills/bendrucker/claude/diagnosing-bugs"><img src="https://agentmods.dev/badge/skills/bendrucker/claude/diagnosing-bugs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.00325 |
| Opus 5.5 | $0.00022 | $0.00130 |
| Sonnet 5.5 | $0.00011 | $0.00065 |
| Haiku 4.5 | $0.00006 | $0.00032 |
Grade A, and why
diagnosing-bugs scanned grade A with 0 findings 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 1mo 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Diagnosing Bugs
Diagnose the failure in $ARGUMENTS, or the one the user just reported.
Reproduce
Build one command that fails on this bug: it drives the real code path and produces the reported symptom. Read and grep as needed to find how to invoke that path.
For a failing CI or pipeline job, that command already ran. Get its logs with github:actions-monitor or gitlab:ci-monitor.
When nothing you try reaches the bug, stop. Name what you tried and what each attempt could not reach, then ask for an environment where it reproduces, a captured artifact, or permission to add instrumentation.
Find the Cause
Change one thing per run. A cause is established when changing it turns the command green.
Report one cause. When none is established, say what you ruled out and how, then ask.
Hand Off
With the cause established and the fix clear, enter plan mode and map out the implementation. When the user asked for diagnosis without changes, stop at the cause and the plan.
Confirm
Once a fix is in, re-run the original reproduction, not a smaller case built along the way. Report it fixed only after that command passes, and quote the run.
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.
- 1mo ago Changed · -6 lines 1bac279ed416
- 2mo ago First seen · 38 lines · 55 tokens per session scan A b450d90b388d
diagnosing-bugs is a skill published in the GitHub repository bendrucker/claude (18 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 325 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
diagnosing-bugs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagnosing-bugsbendrucker/claude | Skill | 18 | today | MIT | A | 55 | Claude Code |
| memory-recallzilliztech/memsearch | Skill | 3.0k | yesterday | MIT | A | 38 | Claude Code, Codex |
| compare-site-configurationsmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 98 | Claude Code |
| release-itwondelai/skills | Skill | 2.8k | today | MIT | A | 131 | Claude Code, Codex |
| tidewave-integrationoliver-kriska/claude-elixir-phoenix | Skill | 579 | yesterday | MIT | A | 38 | Claude Code |
| debugsd0xdev/sd0x-harness | Skill | 196 | 6d ago | MIT | A | 67 | Claude Code |
| git-investigatesd0xdev/sd0x-harness | Skill | 196 | 6d ago | MIT | A | 53 | Claude Code |