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 melodic-software/claude-code-plugins --skill diagnosegit clone --depth 1 https://github.com/melodic-software/claude-code-pluginsWrote 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/melodic-software/claude-code-plugins/diagnose)<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/diagnose"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/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.
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/diagnose"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/diagnose.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.00089 | $0.01339 |
| Opus 5.5 | $0.00036 | $0.00536 |
| Sonnet 5.5 | $0.00018 | $0.00268 |
| Haiku 4.5 | $0.00009 | $0.00134 |
Grade A, and why
diagnose 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnose
Purpose
The mechanics of computer use (actions, the allowlist gate, permission tiers, which tool Claude prefers over screen control) belong to Claude Code's own tool descriptions and docs: enable computer use, approve apps per session and when computer use applies. This skill does not restate any of that.
It carries only what those tool descriptions and docs do not tell you and the model cannot derive: the shape of the screenshot budget, the failure modes that look like tool bugs but are environment state, and the per-OS input quirks that are invisible until they bite.
Arguments
Parse $ARGUMENTS. Each value names one reference spoke; there are exactly three.
| Argument | Loads |
|---|---|
| (none) | Nothing. Answer from the symptom guide below, and load a spoke only if the symptom needs it. |
screenshots |
reference/screenshots-and-zoom.md. Pixel budget, zoom, resolution guidance |
failures |
reference/failure-diagnostics.md. The idle timer, capture and input ladders, probes |
quirks |
The per-OS file for the machine you are on (see below) |
Symptom guide (no file load needed)
| Situation | Answer |
|---|---|
| Screenshot looks low-resolution | Expected. Fixed pixel budget, no setting. Use zoom. → screenshots-and-zoom.md |
| Small text unreadable after downscale | zoom the region. It re-captures at full resolution. Do not lower display resolution. |
empty capture (0x0) |
Environment, not a tool bug. Walk the ladder → failure-diagnostics.md |
| Input returns a UIPI error | An elevated or secure-desktop process holds the foreground. Not recoverable by retrying. |
| "not in the allowed applications and is currently in front" | A background app stole focus. Retry with screenshot as the batch's first action → failure-diagnostics.md |
| Session died partway through a long task | Idle timeout. Claude's own input does not reset it → failure-diagnostics.md |
| A synthesized key does nothing in a menu | Shell-owned surfaces differ from in-app menus → your OS's quirks file |
What ships with it
3 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.
- 3d ago Changed · +2 lines 75a12f3f58b5
- 7d ago Changed · -105 tokens per session 2ce9fa4eabb3
- 10d ago Changed · +3 lines 432f15f2cfc6
- 23d ago Changed · -5 lines a0d4a24d2fbf
- 1mo ago Changed · -1 lines · +24 tokens per session 16d9cb51ef13
- 1mo ago Changed · +5 lines 38d54f69f7cf
- 1mo ago Changed · -14 tokens per session 54e954aaafef
- 1mo ago Changed · -3 lines 47afdf5a5563
- 2mo ago Changed · +2 lines 661a650391c2
- 3mo ago First seen · 88 lines · 184 tokens per session scan A 39dffa40a205
diagnose is a skill published in the GitHub repository melodic-software/claude-code-plugins (34 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 1,339 once invoked, about $0.0004 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-08-30.
diagnose compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagnosemelodic-software/claude-code-plugins | Skill | 34 | today | MIT | A | 89 | Claude Code |
| adversarial-analysisjimmc414/claude-code-plugin-marketplace | Skill | 4 | today | MIT | A | 37 | Claude Code |
| benchmark-before-optimizejimmc414/claude-code-plugin-marketplace | Skill | 4 | today | MIT | A | 25 | Claude Code |
| handle-edge-casesjimmc414/claude-code-plugin-marketplace | Skill | 4 | today | MIT | A | 27 | Claude Code |
| validate-before-processjimmc414/claude-code-plugin-marketplace | Skill | 4 | today | MIT | A | 24 | Claude Code |
| display-grid-statejimmc414/claude-code-plugin-marketplace | Skill | 4 | today | MIT | A | 25 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | today | MIT | A | 200 | Claude Code, Codex |