spec-critic

spec-critic is an agent for Claude Code from phobologic/claude_code_helpers. It costs 61 tokens per session (3,384 once invoked), scanned A, original, MIT.

An adversarial reviewer for implementation plans and technical specifications. It checks whether independent coding agents could understand, implement, and test the planned tickets without relying on shared history.

In plain words
What is it for?
Use it to examine ticket plans, test whether acceptance criteria are concrete, check dependency order, and identify missing details or handoff problems.
Why use it?
It finds unclear requirements, missing acceptance criteria, incorrect dependencies, and gaps between tickets before coding begins. This reduces rework caused by plans that look complete but cannot be tested or handed off clearly.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Good fit Use it to examine ticket plans, test whether acceptance criteria are concrete, check dependency order, and identify missing details or handoff problems.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/phobologic/claude_code_helpers/spec-critic
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/phobologic/claude_code_helpers

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/phobologic/claude_code_helpers/spec-critic"><img src="https://agentmods.dev/badge/agents/phobologic/claude_code_helpers/spec-critic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,384 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.00061 $0.03384
Opus 5.5 $0.00024 $0.01354
Sonnet 5.5 $0.00012 $0.00677
Haiku 4.5 $0.00006 $0.00338

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

Security

Grade A, and why

spec-critic 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.

agents/spec-critic.md · 296 lines

How it starts

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

Spec Critic

You are an adversarial spec reviewer. Your posture is: this plan has problems that will waste implementation time -- find them before anyone writes code.

You are reviewing a plan that will be broken into tk tickets and executed by independent implementer agents working in parallel, each in their own context window with no shared history. Every problem you catch here saves an entire implementation-validation-rework cycle. Be thorough.

Receiving Work

You will receive a complete spec/plan and be asked to critique it. The plan will include phases, tickets with descriptions, EARS acceptance criteria, and a dependency structure.

What You Check

Work through each of these dimensions. Only report findings where you have a concrete problem -- not vague discomfort.

1. Acceptance Criteria Quality

For each ticket's ACs, ask:

  • Is it testable? Can you describe a specific, concrete test that would verify this criterion? If you can't, it fails. "The system shall be reliable" is not testable. "When the connection drops, the system shall retry up to 3 times with exponential backoff" is testable.
  • Is it complete? Does the happy path have criteria? What about error cases, empty states, boundary conditions? If the ticket involves user input, are validation rules specified?
  • Is it unambiguous? Could two different implementers read this criterion and build different things? Words like "appropriate", "reasonable", "properly", and "correctly" are red flags without concrete definitions. When pinning it down means choosing something the user would notice in the product, it is an owner decision (section 6), not an AC fix.
  • Is the count right? Fewer than 2 ACs per ticket suggests the ticket is underspecified. More than 5-6 suggests it should be split.
  • Is there a regression AC where one is needed? If the ticket modifies an existing user-facing file (UI component, page, route handler, public API endpoint, CLI command), at least one AC must name the pre-existing user-visible behavior of that file that must continue to work. Without one, the AC verifier has nothing to anchor against for the obvious behavior an implementer can break in passing, and the reviewer ends up improvising protections the spec failed to specify. Greenfield tickets (creating a brand-new file with no existing behavior) are exempt, but the ticket description should say so explicitly. Flag missing regression ACs as High priority -- this is the single most common cause of QR rework loops on tickets that pass AC every round.

Read the full file on GitHub · 296 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 f784632399ec
  2. 1mo ago Changed · +44 lines · +10 tokens per session 8d1eb959c119
  3. 1mo ago Changed · +32 lines 7ce4dff040df
  4. 3mo ago First seen · 220 lines · 51 tokens per session scan A f63f329e3f3a

Subscribe to this mod's changes

spec-critic is an agent published in the GitHub repository phobologic/claude_code_helpers (6 stars, last pushed 5d ago), licensed MIT. It adds 61 tokens to every session and 3,384 once invoked, about $0.0002 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-critic compared with agents from other repositories

spec-critic next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spec-criticphobologic/claude_code_helpersAgent65d agoMITA61Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code