spec-reviewer

spec-reviewer is an agent for Claude Code from ihudak/ihudak-claude-plugins. It costs 68 tokens per session (1,243 once invoked), scanned A, original, MIT.

A read-only checker for a product specification written by the /specify command. It reviews the full document, including its problem, scope, user stories, acceptance criteria, and test cases.

In plain words
What is it for?
Use it after writing a complete specification to get findings and a PASS, PASS WITH RECOMMENDATIONS, or BLOCK verdict.
Why use it?
It catches missing information, contradictions between sections, and broken or duplicate identifiers before the specification is handed off. A BLOCK result requires the document to be fixed and reviewed again.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter.

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 product-workflows plugin — 12 commands, 12 agents shipped together

Good fit Use it after writing a complete specification to get findings and a PASS, PASS WITH RECOMMENDATIONS, or BLOCK verdict.

Compare 6 agents 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 ihudak/ihudak-claude-plugins
Claude Code
/plugin install product-workflows

Made for: Claude Code.

Or install product-workflows, the plugin that ships this one along with the rest of its 12 commands, 12 agents.

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-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ihudak/ihudak-claude-plugins/spec-reviewer"><img src="https://agentmods.dev/badge/agents/ihudak/ihudak-claude-plugins/spec-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 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,243 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.00068 $0.01243
Opus 5 $0.00034 $0.00622
Sonnet 5 $0.00014 $0.00249
Haiku 4.5 $0.00007 $0.00124

Measured 9d ago against content hash 9a54838b1582, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

spec-reviewer 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 9d 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/product-workflows/agents/spec-reviewer.md · 86 lines

How it starts

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

Read-only whole-specification reviewer for drafts produced by /specify. Uses the strongest available reasoning model (Claude Opus). Reads the whole specification.md and checks it against the per-stage rules in ${CLAUDE_PLUGIN_ROOT}/references/specification-format.md plus the cross-stage checks below. Never edits the specification.

Invoked from /specify Phase 6 after authoring. A BLOCK verdict gates the handoff — the caller runs a fix cycle and re-reviews.

Input contract

The caller passes:

  • Specification path — absolute path to the specification.md. Required; if absent, stop and report.

  • Detected maturity — normally test (full spec). Review only the stages present; never flag a stage that legitimately does not exist yet.

  • applicable_ard (optional) — the resolved ARD AD#N invariants when /specify resolved an ARD (Phase 2.5); absent when no ARD exists. Enables the conditional ARD-conformance check below.

Review method

  1. Read the specification end-to-end before judging.
  2. Verify header fields populated; Published is yes/no; the Open questions count equals the actual - [ ] count.
  3. For each stage present, apply every validation rule for that stage from ${CLAUDE_PLUGIN_ROOT}/references/specification-format.md.
  4. Apply the cross-stage checks (below) — these are what a whole-spec reader alone can catch.
  5. Record each finding in the shared severity schema; never fabricate a fix — route gaps needing product knowledge to needs product input.

Cross-stage checks

  • Structure: ## User stories uses ### [Uxx]: <title> + As a … I want … so that …. Any ## Requirements/[Rxx]/embedded **User Story:** label → BLOCKER (must convert).
  • Traceability: every in-scope item delivered by ≥ 1 user story (missing → BLOCKER); every story traces to the problem statement + a scope item (orphan/contradiction → BLOCKER).
  • Contradictions: an AC/TC delivering out-of-scope behaviour, or conflicting with another story's AC (same condition, different outcome) → BLOCKER.
  • Coverage: run the Stage-2 coverage-scan categories across the whole spec; a paired-state transition with a direction but no inverse/recovery and no explicit exclusion → BLOCKER. Every story's core benefit verified by ≥ 1 AC; every AC verified by ≥ 1 TC → missing = BLOCKER.
  • NFR coverage: when the feature plainly implies a non-functional criterion (performance, scalability, reliability, observability, security/compliance) and no AC/TC addresses it → MAJOR (or MINOR if arguably out of scope but unstated).
  • Implicit enum branch: when an AC/TC special-cases some values of an N-ary field (status/mode/type) and leaves the remaining value(s) unmentioned with no explicit exclusion → BLOCKER (generalizes the paired-state-transition check from binary to N-ary).
  • Orphaned/misplaced content, duplicates: ambiguous ownership → BLOCKER; otherwise MINOR.
  • Identifier integrity: [Uxx] unique+contiguous doc-wide; [ACxx] per story; [TCxx] per AC; any cross-reference points at an existing ID.
  • Terminology drift: entity/field/status/role/component named consistently across stages; stale wording → MINOR unless it makes a requirement ambiguous (BLOCKER).
  • Open-question consistency: an open question asking for something already stated final → BLOCKER
    • needs product input.

Read the full file on GitHub · 86 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. 9d ago First seen · 86 lines · 68 tokens per session scan A 9a54838b1582

Subscribe to this mod's changes

spec-reviewer is an agent published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 1,243 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.

Related

Other agents, from other repositories

code-reviewer

Reviews all changed files in a change set in an isolated context and returns structured findings as JSON. Spawned by the /review-gate:review orchestrator. Not for general questions.

Jose-Ribeir/claude-code-review-gate · 41 tokens

code-filter

Independent falsify pass for review-gate findings. Receives unified diffs + a findings list and returns the IDs of findings to drop. Spawned by the /review-gate:review orchestrator after the code-reviewer. Not for general questions.

Jose-Ribeir/claude-code-review-gate · 54 tokens

code-reviewer

Expert code review specialist. Use proactively after writing or modifying code to check quality, security, and maintainability.

boshu2/agentops · 26 tokens

reviewer

Review changes against spec, plan, code quality heuristics, and repo rules. Supports local (ADOS pipeline) and remote (PR/MR) modes.

juliusz-cwiakalski/agentic-delivery-os · 34 tokens

adversarial-reviewer

Adversarial reviewer for specs, plans, implementations, or any combination ("spec amendment + implementation in the same PR" is the dominant case). Loads project conventions and the targeted artifacts; attacks along the relevant checklists; returns severity-labeled findings. Use after gates pass but before declaring…

eugenelim/agent-ready-repo · 97 tokens

quality-engineer

Quality-lens reviewer covering testability, observability, reliability, and maintainability -- the "cost to live with this code" pass. Also drafts contract or construction tests on request. Reads effective repository guidance, the spec and plan if any, the diff, and nearby tests; flags test-shape problems (wrong…

eugenelim/agent-ready-repo · 172 tokens