verify

verify is a command for Claude Code from dinhnguyenngoc/spec-driven-claude-code. It costs 17 tokens per session (6,308 once invoked), scanned C, original, MIT.

A command for checking a deployed application by using the actual build and staging environment it is about to release. It tests features as a user would encounter them, including real network connections.

In plain words
What is it for?
Use it before releasing a new build, especially when an older system lacks tests or infrastructure and configuration have changed. It is also required after a production hotfix.
Why use it?
Tests run before deployment can miss problems caused by the final build, configuration, or infrastructure. This check helps catch those problems before the artifact is staged.

Command for Claude Code

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.

agentmods
npx agentmods add commands/dinhnguyenngoc/spec-driven-claude-code/verify
Clone the repo
git clone --depth 1 https://github.com/dinhnguyenngoc/spec-driven-claude-code

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 verify

README.md
[![agentmods](https://agentmods.dev/badge/commands/dinhnguyenngoc/spec-driven-claude-code/verify.svg)](https://agentmods.dev/commands/dinhnguyenngoc/spec-driven-claude-code/verify)
Your own site
<a href="https://agentmods.dev/commands/dinhnguyenngoc/spec-driven-claude-code/verify"><img src="https://agentmods.dev/badge/commands/dinhnguyenngoc/spec-driven-claude-code/verify.svg" alt="Measured on agentmods" 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 6,308 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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 $0.00017 $0.06308
Opus 5 $0.00009 $0.03154
Sonnet 5 $0.00003 $0.01262
Haiku 4.5 $0.00002 $0.00631

Measured 4d ago against content hash 8a7cdf62d687, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

verify scanned grade C with 1 finding 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 4d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

2. **Let the runner clean its output dir each run.** Playwright clears `outputDir` on start by default → stale artifacts from a previous (e.g. FAILED) run never bleed into the next verdict. If the runner does not auto-cl
.claude/commands/verify.md · 267 lines

How it starts

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

/verify — Post-Deploy Real-Environment Verification

"Test what you ship, not a proxy of it."

Purpose

Status: step optional · BLOCKING if run. Strongly recommended before /deploy stages the artifact, especially for brownfield (missing legacy test suite) or releases with infra/config changes. Required when called from the /hotfix orchestrator (Step 4 re-verify on the patched digest).

Workspace Mode: if the session root declares Mode: workspace → resolve the target repo per CLAUDE.md §Workspace Mode before anything else; every path, probe, and gate below is relative to the target repo, and the workspace disk-check applies at the gate.

Verifies every user-observable feature works correctly on the exact artifact about to be staged (correct image/build, staging config — the same env that /deploy will use ⇒ within the kit's scope the env always matches, over real network) — before /deploy declares STAGED. The kit stops at staging; promoting to production is a manual step (see deploy.md §The kit's boundary) — config differences between staging↔production belong to the manual checklist DEPLOY_RUNBOOK §8.

/verify closes the fidelity gap that earlier test layers cannot touch: /build (in-memory) and /test (TestContainers + in-process host) both run in a test-environment via in-process transport. A class of bugs only surfaces at (production environment) × (real network) × (real client): CORS, security headers, env-gating middleware, TLS, reverse-proxy headers, container networking, env-var injection, build-time config baking. /verify is the only layer that exercises that intersection.

Scope Clarification

Command Responsibility
/test Pre-deploy QA — unit, integration (real deps via TestContainers), contract tests in-process
/infra Setup — Dockerfile, compose, env config
/verify Prove on real artifact — run feature suite against the deployed stack; gate promotion. Step optional · BLOCKING if run (REQUIRED inside /hotfix)
/deploy Promote — if /verify was run, ship only a build with a passing report for that exact digest

Read the full file on GitHub · 267 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. 4d ago First seen · 267 lines · 17 tokens per session scan C 8a7cdf62d687

Subscribe to this mod's changes

verify is a command published in the GitHub repository dinhnguyenngoc/spec-driven-claude-code (20 stars, last pushed 5d ago), licensed MIT. It adds 17 tokens to every session and 6,308 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.