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-troubleshoot)<a href="https://agentmods.dev/commands/connorrmcd6/vibe-spec/spec-troubleshoot"><img src="https://agentmods.dev/badge/commands/connorrmcd6/vibe-spec/spec-troubleshoot/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/commands/connorrmcd6/vibe-spec/spec-troubleshoot"><img src="https://agentmods.dev/badge/commands/connorrmcd6/vibe-spec/spec-troubleshoot.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.00050 | $0.00941 |
| Opus 5 | $0.00025 | $0.00470 |
| Sonnet 5 | $0.00010 | $0.00188 |
| Haiku 4.5 | $0.00005 | $0.00094 |
Grade B, and why
spec-troubleshoot scanned grade B with 1 finding 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
daemon (Docker Desktop / `colima start` / `sudo systemctl start docker`). → `03-docker` How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are running /spec-troubleshoot: a symptom → cause → fix diagnostician for the
Vibe-Spec stack. Consult the vibe-spec skill — start with
${CLAUDE_PLUGIN_ROOT}/skills/vibe-spec/reference/18-prerequisites.md, then load the
specific reference for the failing
area (e.g. Prisma ⇒ 05-prisma + 04-database; local DB ⇒ 03-docker; lint/test ⇒
10-testing / 14-ci-cd; commit hooks ⇒ 15-pre-commit).
Hard rules
- Diagnostics may run freely (read-only). Confirm with the user before running any
command that changes state (e.g.
docker compose up -d,pnpm install,pnpm prisma generate, editing files). - One fix at a time; re-check after each.
What to do
- If
$ARGUMENTSis empty, ask what's going wrong or offer the common categories below. If they pasted an error, parse it for the failing tool/area. - Run targeted read-only diagnostics for the suspected area (daemon status, port in use, env var present, versions, install/generate state).
- Map to a known cause and propose a fix, then confirm before running it. Re-run the diagnostic to verify it's resolved. Link the relevant reference.
Common failures catalog
For each: how to confirm → fix → reference.
pnpm: command not found— confirmpnpm --versionfails → install via Corepack (corepack enable); if it's an npm/pnpm mix-up, note pnpm-not-npm. →18-prerequisites,01-scaffoldinguv/dockernot found — confirm with--version→ install per18-prerequisites(point to/spec-setup). →18-prerequisitesCannot connect to the Docker daemon—docker infoexits non-zero → start the daemon (Docker Desktop /colima start/sudo systemctl start docker). →03-docker- Postgres port 5432 already in use —
lsof -i :5432(ordocker ps) shows a conflict → stop the other Postgres or remap the host port indocker-compose.yml. →03-docker - DB connection refused /
DATABASE_URLmissing or wrong — check.envhasDATABASE_URLand the container is up (docker compose ps) → fix the URL / start the DB. →03-docker,04-database - Prisma: client not generated /
@prisma/clientdid not initialize /src/generatedmissing — runpnpm prisma generate; for schema driftpnpm prisma migrate dev. →05-prisma - pnpm vs npm lockfile mismatch (
package-lock.jsonpresent, or "lockfile out of date") — removepackage-lock.json, usepnpm install. →01-scaffolding - Node version too old (engine warnings, build failures) —
node --versionbelow LTS → switch withfnm use --lts/nvm use --lts. →18-prerequisites,01-scaffolding - Git hooks not running (lint/format didn't fire on commit) —
git config core.hooksPathis unset → runpnpm run prepare(setscore.hooksPath .githooks). →15-pre-commit - Lint/test gate failing — run
pnpm lint/pnpm testto see the real error; surface it before guessing. →10-testing,14-ci-cd
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 · 57 lines · 50 tokens per session scan B e400f0c1e5b0
spec-troubleshoot is a command published in the GitHub repository Connorrmcd6/vibe-spec (9 stars, last pushed 2mo ago), licensed MIT. It adds 50 tokens to every session and 941 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). 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.