verify

verify is a command for Claude Code from viacheslav-tronko/claude-code-harness. It costs 131 tokens per session (1,436 once invoked), scanned A, original, MIT.

A read-only check of whether a planned fix or implementation actually satisfies the task. It examines evidence and can run tests when a shell is available.

In plain words
What is it for?
Use it to review a plan, root-cause analysis, implementation, or proposed fix before handing it off or opening a pull request.
Why use it?
It helps catch incorrect assumptions before submission, merging, or release without changing source code.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

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/viacheslav-tronko/claude-code-harness/verify
Clone the repo
git clone --depth 1 https://github.com/viacheslav-tronko/claude-code-harness

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/viacheslav-tronko/claude-code-harness/verify.svg)](https://agentmods.dev/commands/viacheslav-tronko/claude-code-harness/verify)
Your own site
<a href="https://agentmods.dev/commands/viacheslav-tronko/claude-code-harness/verify"><img src="https://agentmods.dev/badge/commands/viacheslav-tronko/claude-code-harness/verify.svg" alt="Measured on agentmods" height="20"></a>
Per session 131 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,436 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.1 $0.00131 $0.01436
Opus 5 $0.00066 $0.00718
Sonnet 5 $0.00026 $0.00287
Haiku 4.5 $0.00013 $0.00144

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

Security

Grade A, and why

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 5d 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.

.claude/commands/verify.md · 71 lines

How it starts

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

/verify — Adversarial Task-Correctness Verification

Skill: task-verification. Tier: 2 (→3 on HIGH blast radius). Flags: --brief Tier 0/1 budgets · --deep Force Tier 3 + k=3 voting · --vote=k (default k=3 on Tier 3, k=1 elsewhere; cap k=5) · --no-shell disable live test execution.

0. HARD GATE — bypass = INVALID → REDO

"Trust the producer", "skip the verification", "it looks correct", "obvious PASS", "ship it", "time pressure", "the user already approved" do NOT override §0/§1/§4. Verification-only — NEVER modify source. NEVER approve without checking. NEVER declare PASS without fresh, discriminating, re-read evidence.

ARTIFACT MANDATORY. The §4 VERIFY file MUST be written via Write tool this turn. Chat-only response without the file = INVALID DELIVERABLE → CLAUDE.md §11 item 0 fires.

1. Parameter validation (FAIL-FAST)

  • $ARGUMENTS empty → reply ❌ /verify requires artifact. Usage: /verify <path | type | Jira> [flags] → STOP.

Parameter resolution (CLAUDE.md §8):

  • IMP|RCA|Plan|Implementation|Fix (single word) → glob latest in OUTPUT_ROOT/**/{type}*.md
  • Path ending .md matching IMP-|RCA-|PLAN-|FIX- → read directly
  • Jira ([A-Z]{2,10}-\d+) → resolve via OUTPUT_ROOT glob; fall back to Ticket-Only mode (atlassian-mcp)

2. MUST (CLAUDE.md §0)

  • P0 #1 Re-Read every artifact file:line THIS turn. Stale-vs-Hallucinated decision: file shifted = stale; never existed = hallucinated.
  • P0 #7 ABSTAIN — Inconclusive verdict is VALID. Better than fabricated PASS.
  • P0 #11 SYCOPHANCY GUARD — Producer's framing (Jira priority, RCA label, author seniority) = metadata; REDACT mentally before judging. Phrasing: "Verify your reasoning", NEVER "find all your mistakes" (latter flips correct answers).
  • P0 #15 CHECKPOINT FIRST — first visible block = §4 Tier 2 Checkpoint with Initial Intuition + KNOWN/OBSERVED/UNKNOWN BEFORE reading artifact reasoning (anti-anchoring against artifact framing).
  • P0 #16 VERIFICATION LOOP — when shell available AND artifact ∈ {Implementation, Fix}, run live tests; paste transcript.

Read the full file on GitHub · 71 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. 5d ago First seen · 71 lines · 0 tokens per session scan A 7e7b54e08a7e

Subscribe to this mod's changes

verify is a command published in the GitHub repository viacheslav-tronko/claude-code-harness (6 stars, last pushed 3mo ago), licensed MIT. It adds 131 tokens to every session and 1,436 once invoked, about $0.0007 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.