spec

spec is a command for Claude Code from shdennlin/agent-plugins. It costs 17 tokens per session (1,887 once invoked), scanned A, original, MIT.

A command for reviewing a feature specification, proposal, design, or task list before implementation. It checks areas such as scope, completeness, tasks, platform concerns, and how separate parts fit together.

In plain words
What is it for?
Use it before coding to review one or more specification files or folders, select review angles, and optionally iterate on fixes.
Why use it?
It helps expose missing details, risks, and unclear requirements while changes are still easier to make. An optional fix mode can run review-and-fix rounds.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the reviewer plugin — 3 skills, 4 commands, 1 MCP server shipped together

Good fit Use it before coding to review one or more specification files or folders, select review angles, and optionally iterate on fixes.

Compare 6 commands from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add shdennlin/agent-plugins
Claude Code
/plugin install reviewer

Made for: Claude Code.

Or install reviewer, the plugin that ships this one along with the rest of its 3 skills, 4 commands, 1 MCP server.

Wrote 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.

agentmods badge for spec

README.md
[![agentmods](https://agentmods.dev/badge/commands/shdennlin/agent-plugins/spec/github.svg)](https://agentmods.dev/commands/shdennlin/agent-plugins/spec)
Your own site
<a href="https://agentmods.dev/commands/shdennlin/agent-plugins/spec"><img src="https://agentmods.dev/badge/commands/shdennlin/agent-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.

agentmods 80×15 button for spec

Your own site · 80×15
<a href="https://agentmods.dev/commands/shdennlin/agent-plugins/spec"><img src="https://agentmods.dev/badge/commands/shdennlin/agent-plugins/spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,887 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.01887
Opus 5.5 $0.00007 $0.00755
Sonnet 5.5 $0.00003 $0.00377
Haiku 4.5 $0.00002 $0.00189

Measured 1mo ago against content hash a0a22c9f8f90, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo 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.

plugins/reviewer/commands/spec.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spec Review Command

Review feature specifications, proposals, designs, or task lists before implementation starts.

Multi-angle parallel review is the default — every invocation fans out across all built-in angles (scope, completeness, tasks, platform, design, consistency, and composition when the orchestrator judges multiple independent spec units are in scope). Use --angles to narrow that set; use --fix to also run an iterative review → fix loop.

Arguments

Parse the following from $ARGUMENTS:

  • [path...] — One or more file or folder paths to review (positional args)
  • --fix — After each review round, run an iterative fix loop. The orchestrator auto-fixes issues that don't need design judgment and escalates the rest to you (brainstorming-style) instead of using rigid severity rules
  • --angles <list> — Comma-separated list of angles to run (default: all built-in angles). Standalone flag; works with or without --fix
  • -n <N> or --max-iterations <N> — Maximum review-fix rounds, default 3 (only meaningful with --fix)
  • --no-explore — Skip codebase exploration step (go straight to review)
  • --help or -h — Show usage information and exit

Instructions

Step 1: Parse Arguments

From $ARGUMENTS, extract:

  1. help: if --help or -h is present, show the usage information below and stop. Do NOT delegate to the agent.
  2. paths: collect all positional arguments (not flags or flag values)
  3. fix_enabled: true if --fix is present
  4. no_explore: true if --no-explore is present
  5. angles: value after --angles (comma-separated string), or "default" if not provided. Validate it: run node "${CLAUDE_PLUGIN_ROOT}/scripts/check-angles.cjs" --section spec --angles <value>; on exit 1 print its stderr line and stop; pass the angles array it prints to the orchestrator as angles (joined with commas; "default" stays "default" so the orchestrator may add composition)
  6. max_iterations: integer value after -n or --max-iterations, default 3

Read the full file on GitHub · 200 lines

Changes

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.

  1. 1mo ago Changed · +4 lines a0a22c9f8f90
  2. 1mo ago Changed · +2 lines b835dbf165be
  3. 3mo ago First seen · 194 lines · 17 tokens per session scan A 48bed9000363

Subscribe to this mod's changes

spec is a command published in the GitHub repository shdennlin/agent-plugins (3 stars, last pushed 5d ago), licensed MIT. It adds 17 tokens to every session and 1,887 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-08-31.

Related

spec compared with commands from other repositories

spec next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
specshdennlin/agent-pluginsCommand35d agoMITA17Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code