spec-verify

spec-verify is a command for Claude Code from Habib0x0/spec-driven-plugin. It costs 14 tokens per session (898 once invoked), scanned A, original, MIT.

A command that runs smoke tests against a deployed web application. Smoke tests are small checks that confirm key pages and features work in a live environment.

In plain words
What is it for?
Use it with a production or staging URL to check the application, selected requirements, or all browser-testable acceptance criteria.
Why use it?
It finds deployment-only problems such as missing settings, cross-origin request errors, database connection failures, or stale cached files.

Command for Claude Code

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

Part of the spec-driven plugin — 1 skill, 18 commands, 11 agents shipped together

Good fit Use it with a production or staging URL to check the application, selected requirements, or all browser-testable acceptance criteria.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/habib0x0/spec-driven-plugin/spec-verify
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/Habib0x0/spec-driven-plugin

Made for: Claude Code.

Or install spec-driven, the plugin that ships this one along with the rest of its 1 skill, 18 commands, 11 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-verify

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/habib0x0/spec-driven-plugin/spec-verify"><img src="https://agentmods.dev/badge/commands/habib0x0/spec-driven-plugin/spec-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 898 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.00014 $0.00898
Opus 5.5 $0.00006 $0.00359
Sonnet 5.5 $0.00003 $0.00180
Haiku 4.5 $0.00001 $0.00090

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

Security

Grade A, and why

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

commands/spec-verify.md · 117 lines

How it starts

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

/spec-verify Command

Run smoke tests against a deployed environment to verify the feature works in production/staging. Reuses the spec-tester agent with a target URL instead of localhost.

Philosophy

"It works on my machine" doesn't count. Post-deployment verification catches environment-specific issues: missing env vars, CORS misconfigs, database connectivity, CDN caching, etc. This is a lightweight check, not a full test suite — just enough to confirm the feature is alive.

Workflow

1. Locate the Spec

If a spec name is provided, use it. Otherwise auto-detect from .claude/specs/.

2. Get the Target Environment

If a URL was provided as a second argument, use it. Otherwise, ask via AskUserQuestion:

  • Production — Enter the production URL
  • Staging — Enter the staging URL
  • Custom environment — Enter any URL

Also ask:

  • Full smoke test — Verify all acceptance criteria that can be tested via browser
  • Quick health check — Just verify the app loads and key routes respond
  • Specific requirements — Pick which requirements to verify

3. Build the Smoke Test Plan

Read requirements.md and extract acceptance criteria that can be verified via browser/HTTP:

  • UI behaviors → Playwright navigation and interaction
  • API endpoints → HTTP requests to verify responses
  • Authentication flows → Login/logout verification
  • Error handling → Verify error pages/responses work

Skip criteria that require:

  • Database state manipulation (unless safe read-only checks)
  • Background job verification
  • Internal-only metrics

4. Spawn the Tester Agent

Delegate to the spec-driven:spec-tester agent via the Task tool.

Pass the agent:

  • The spec directory path
  • The target URL (NOT localhost)
  • The testing scope (full, quick, or specific)
  • Instruction to treat this as a smoke test, not a full test suite — verify the feature exists and responds correctly, don't test every edge case
  • Instruction to not modify any code or files — this is read-only verification

Read the full file on GitHub · 117 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 First seen · 117 lines · 14 tokens per session scan A 462ac6581b7e

Subscribe to this mod's changes

spec-verify is a command published in the GitHub repository Habib0x0/spec-driven-plugin (10 stars, last pushed 5mo ago), licensed MIT. It adds 14 tokens to every session and 898 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.