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 codybrom/clairvoyance --skill diagnosegit clone --depth 1 https://github.com/codybrom/clairvoyanceWrote 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/codybrom/clairvoyance/diagnose)<a href="https://agentmods.dev/skills/codybrom/clairvoyance/diagnose"><img src="https://agentmods.dev/badge/skills/codybrom/clairvoyance/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/codybrom/clairvoyance/diagnose"><img src="https://agentmods.dev/badge/skills/codybrom/clairvoyance/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.00057 | $0.00822 |
| Opus 5.5 | $0.00023 | $0.00329 |
| Sonnet 5.5 | $0.00011 | $0.00164 |
| Haiku 4.5 | $0.00006 | $0.00082 |
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 3mo 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 — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnose
When invoked with $ARGUMENTS, match the described symptom against the decision tree below and route to the appropriate skill. If code paths are referenced, read them first to confirm the match before routing. This skill routes to other skills from Clairvoyance (https://clairvoyance.fyi). It works best when the full collection is installed.
Decision Tree
1. "Something feels wrong but I can't say what"
The symptom is a general sense of unease with no concrete complaint.
→ complexity-recognition: Apply the three-symptom framework to locate the source.
2. "Simple changes require edits in many files"
Change amplification. Branch by cause:
- Shared knowledge is scattered across modules → information-hiding (look for leaked implementation details)
- Old abstractions no longer fit the current shape of the system → code-evolution (check whether the design has kept pace with requirements)
- Module boundaries cut across concerns instead of encapsulating them → module-boundaries (re-evaluate decomposition)
3. "This interface is awkward / too many parameters"
The interface exposes too much or forces callers to assemble details they shouldn't need.
- Implementation burden leaks upward → pull-complexity-down (push details below the interface)
- The abstraction mixes general infrastructure with special-case logic → general-vs-special (separate the two)
- The module is shallow. Interface cost rivals implementation cost → deep-modules (deepen the module)
4. "I can't name this thing"
Naming difficulty signals a design problem, not a vocabulary problem.
→ naming-obviousness: If the name can't be made obvious, the entity's responsibility is likely unclear. → Then design-it-twice: Consider alternative decompositions that yield nameable pieces.
5. "Errors everywhere / too many exceptions"
Exception surfaces are large, catch blocks are boilerplate or error paths obscure the normal path.
→ error-design: Apply define-errors-out and exception aggregation.
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.
- 3mo ago First seen · 81 lines · 57 tokens per session scan A e4d3523e98c5
diagnose is a skill published in the GitHub repository codybrom/clairvoyance (22 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 822 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-08-30.
diagnose compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagnosecodybrom/clairvoyance | Skill | 22 | 1mo ago | MIT | A | 57 | Claude Code |
| agent-debugging-onesmartguy-next-level-real-estamajiayu000/claude-skill-registry | Skill | 754 | yesterday | MIT | A | 0 | Claude Code, Codex |
| agent-error-coordinator-tony363-superclaude-68aa171fmajiayu000/claude-skill-registry | Skill | 754 | yesterday | MIT | A | 0 | Claude Code, Codex |
| systematic-debuggingguanyang/open-agent-hub | Skill | 1.0k | yesterday | MIT | A | 21 | Claude Code |
| baoyu-electron-extractguanyang/open-agent-hub | Skill | 1.0k | yesterday | MIT | A | 113 | Claude Code |
| atlas-agent-developermajiayu000/claude-skill-registry-data | Skill | 31 | yesterday | none | A | 15 | Claude Code, Codex |
| agent-code-analyzermajiayu000/claude-skill-registry-data | Skill | 31 | yesterday | none | A | 19 | Claude Code, Codex |