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 juanmhidalgo/claude-plugins/plugin install feature-devWrote 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/juanmhidalgo/claude-plugins/spec)<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/spec"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/spec/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/juanmhidalgo/claude-plugins/spec"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/spec.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.00029 | $0.03945 |
| Opus 5.5 | $0.00012 | $0.01578 |
| Sonnet 5.5 | $0.00006 | $0.00789 |
| Haiku 4.5 | $0.00003 | $0.00394 |
Grade A, and why
spec 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 17d 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 — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context
- Branch: !
git branch --show-current - Recent commits: !
git log --oneline -5 - Additional directories: !
jq -r '.permissions.additionalDirectories[]? // empty' .claude/settings.local.json 2>/dev/null || true - Parent context file: !
test -f ../CLAUDE.md && echo "../CLAUDE.md exists (read for repo catalog)" || echo "no ../CLAUDE.md" - Feature store: each feature lives in
.feature-dev/features/<slug>/, managed by${CLAUDE_PLUGIN_ROOT}/scripts/features.py(pass--root <repo root>). Layout: artifact-locations.md. - Spec store option:
${user_config.spec_store}(a literal${user_config...}here meansfile). - Arguments: !
bash "${CLAUDE_PLUGIN_ROOT}/scripts/args.sh" '$ARGUMENTS'
<best_practices> @feature-dev/skills/spec-driven-development/SKILL.md </best_practices>
Spec-Driven Development Workflow
First, check for --publish <SPEC> <target>. --publish is a flag the parser does not know, so it stays in positional: when positional[0] is --publish, positional[1] is <SPEC> and positional[2] is <target>. Go straight to Publish Mode below — it skips the authoring phases (Specify, Handoff) entirely and never reads the rest of the arguments as a feature description. Otherwise, continue below.
Then read the description. positional, joined with spaces, is the feature description. --with-tasks was removed in 3.0.0: if it is there, drop it and say in one line that the plan comes from /feature-dev:explore-plan (or, for a small feature, /feature-dev:tdd straight from the ACs). If the Arguments line in Context is a shell error instead of JSON (an apostrophe in the description does that: "the user's profile"), read the description from the bold line below and strip the flags by hand.
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.
- 17d ago Changed · -73 lines a44067980164
- 26d ago Changed · +42 lines · -66 tokens per session 69deec0d9f6d
- 28d ago Changed · +1 lines 84609ae373b8
- 29d ago Changed · -41 lines · +66 tokens per session 210faa232162
- 1mo ago Changed · -2 lines f897eebbcc0a
- 1mo ago Changed · +3 lines 8565190923a2
- 1mo ago Changed · +4 lines ea6dd49a6da1
- 2mo ago Changed · +25 lines ad4057dc94ea
- 2mo ago Changed · +34 lines f4c05f64cca6
- 2mo ago First seen · 167 lines · 29 tokens per session scan A e6da8b6c4952
spec is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 18d ago), licensed MIT. It adds 29 tokens to every session and 3,945 once invoked, about $0.0001 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-09-03.
spec compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| specjuanmhidalgo/claude-plugins | Command | 8 | 18d ago | MIT | A | 29 | Claude Code |
| importspecdog/dotdog | Command | 8 | 3d ago | MIT | A | 10 | Claude Code |
| inspectspecdog/dotdog | Command | 8 | 3d ago | MIT | A | 7 | Claude Code |
| servespecdog/dotdog | Command | 8 | 3d ago | MIT | A | 10 | Claude Code |
| specifygithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| speckit.bug.testgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| constitutiongithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |