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 AkshitIreddy/agent-skills --skill diagnosing-bugsgit clone --depth 1 https://github.com/AkshitIreddy/agent-skillsWrote 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/akshitireddy/agent-skills/diagnosing-bugs)<a href="https://agentmods.dev/skills/akshitireddy/agent-skills/diagnosing-bugs"><img src="https://agentmods.dev/badge/skills/akshitireddy/agent-skills/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/akshitireddy/agent-skills/diagnosing-bugs"><img src="https://agentmods.dev/badge/skills/akshitireddy/agent-skills/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.00023 | $0.00577 |
| Opus 5.5 | $0.00009 | $0.00231 |
| Sonnet 5.5 | $0.00005 | $0.00115 |
| Haiku 4.5 | $0.00002 | $0.00058 |
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 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.
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.
This is a copy
100% identical to diagnosing-bugs — 163 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnose the reported defect
Adapted from Matt Pocock's diagnosing-bugs skill; see LICENSE.txt.
Establish the actual symptom and a useful feedback loop at the seam where the failure occurs. Prefer an existing test, command, trace, or real interaction that can distinguish the reported bug from nearby failures.
Build evidence without blocking discovery
Read relevant code and logs to locate the failing path and construct a probe. Confirm that the probe can expose the reported symptom before trusting its pass. Reduce irrelevant inputs when that improves diagnosis, without requiring every remaining input to be proven minimal before continuing.
For intermittent failures, record reproduction frequency and conditions. Use bounded repetition, stress, or timing probes suited to the defect. A device or production-only bug may need captured evidence or a longer-running probe; it need not become a deterministic seconds-fast unit test.
If reproduction is unavailable, state the gap and continue evidence-led source inspection or targeted diagnostics. Keep hypotheses tentative. Request only the specific missing artifact, access, or decision that enables further work. Do not add production instrumentation or access without authorization.
Distinguish causes
Rank plausible explanations and define an observable prediction for each. Choose the next probe by how well it separates those explanations. Change one relevant variable at a time when possible; use a debugger, narrow logs, or profiling appropriate to the failure. Performance work needs comparable baseline measurements rather than adjectives.
Communicate findings that affect the user's decisions. A fixed number of hypotheses or a checkpoint before every experiment is unnecessary.
Protect diagnostic data
Inspect and share only the necessary redacted excerpts. Logs, HARs, URLs, dumps, and screenshots can contain credentials and personal data. Keep authentication in the user's normal application flow; never request passwords or tokens in a diagnostic transcript. If human observation is necessary, ask for the relevant action and symptom directly rather than requiring an interactive shell script.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago Changed · -75 lines · -17 tokens per session 3b4d16fc6242
- 3mo ago First seen · 139 lines · 40 tokens per session scan A 77f3cf31bc99
diagnosing-bugs is a skill published in the GitHub repository AkshitIreddy/agent-skills (1 stars, last pushed 2mo ago), licensed MIT. It adds 23 tokens to every session and 577 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to diagnosing-bugs, differing in 163 lines, and is treated as a copy.
diagnosing-bugs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagnosing-bugsAkshitIreddy/agent-skills | Skill | 1 | 2mo ago | MIT | A | 23 | Codex |
| debugging-livekit-agentsfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 116 | Claude Code |
| gcloud-usagefcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 49 | Claude Code |
| chisle-auditJayPokale/Chisle | Skill | 1.3k | 8d ago | MIT | A | 130 | Claude Code |
| mongodb-query-optimizerfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 98 | Claude Code |
| frontend-testing-debuggingfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 50 | Claude Code, Codex |
| known-errorsChatCut-Inc/agent-plugin | Skill | 1.1k | yesterday | Apache-2.0 | A | 28 | Claude Code, Codex |