Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add Connorrmcd6/vibe-spec/plugin install vibe-specWrote 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/commands/connorrmcd6/vibe-spec/spec-doctor)<a href="https://agentmods.dev/commands/connorrmcd6/vibe-spec/spec-doctor"><img src="https://agentmods.dev/badge/commands/connorrmcd6/vibe-spec/spec-doctor.svg" alt="Measured on agentmods" 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.00051 | $0.00606 |
| Opus 5 | $0.00026 | $0.00303 |
| Sonnet 5 | $0.00010 | $0.00121 |
| Haiku 4.5 | $0.00005 | $0.00061 |
Grade A, and why
spec-doctor 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 8d 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
You are running /spec-doctor: a read-only health check of the user's
development environment. Consult the vibe-spec skill
(${CLAUDE_PLUGIN_ROOT}/skills/vibe-spec/reference/18-prerequisites.md) for the
canonical tool list and detection commands.
You must not install, modify, or configure anything. This command only reports.
If something is missing, point the user at /spec-setup; if a tool is present but
misbehaving, point them at /spec-troubleshoot.
What to do
-
Detect the OS once (
uname -son macOS/Linux; note if on Windows). -
From
reference/18-prerequisites.md, run each tool's detection command with read-only Bash, capturing the version or the "not found" result:git --versionnode --versionpnpm --versiondocker --version, thendocker info(exit 0 = daemon running) anddocker compose versionuv --versiongh --version(optional) Run independent checks together. Treat a non-zero exit or "command not found" as missing — do not error out; record it and continue.
-
Print a compact status table with one row per tool:
Tool Status Version Needed for Use ✓ for present, ✗ for missing. For Docker, surface the daemon state explicitly (e.g. "✓ installed, daemon not running"). Fill "Needed for" from the reference (e.g. Git → always; Node/pnpm → any web app; Docker → local Postgres; uv → dbt).
-
Summarize in one or two lines: what's ready, what's missing, and which missing tools actually matter (note that Docker/uv are only needed for some project types).
-
End by telling the user:
- Run
/spec-setupto install missing tools (guided, only what the project needs). - Run
/spec-troubleshootif a tool is installed but failing.
- Run
Keep the output scannable. Do not propose or run install commands here.
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.
- 8d ago First seen · 44 lines · 51 tokens per session scan A 424cb2c1dfa6
spec-doctor is a command published in the GitHub repository Connorrmcd6/vibe-spec (9 stars, last pushed 2mo ago), licensed MIT. It adds 51 tokens to every session and 606 once invoked, about $0.0003 per session on Opus 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-31.
Other commands, from other repositories
magic-wand
When /magic-wand [issue description] is invoked, immediately execute the following steps to perform a comprehensive, expert-level analysis and fix when standard debugging approaches have failed.
clean-code
When /clean-code [target] is invoked, immediately execute the following steps to remove redundant code, unused variables, dead code, debug statements, and other technical debt.
fix
When /fix is invoked, immediately execute the following steps.
cleanup-repo
When /cleanup-repo is invoked, immediately execute the following steps to analyze, organize, and clean up the repository structure when files are scattered and disorganized.
brainstorm
When /brainstorm [topic] is invoked, immediately execute the following steps to collaboratively brainstorm, enhance, and plan new features for the app through an iterative product management workflow.
devops
When /devops is invoked, immediately execute the following steps to create, configure, or manage DevOps infrastructure, CI/CD pipelines, and deployment configurations.