carve-harness: Command for Claude Code

.claude/commands/verify-loop.md

verify-loop is a command for Claude Code from claude-code-expert/carve-harness. It costs 35 tokens per session (247 once invoked), scanned A, original, MIT.

A verification loop that compares the specification with the implementation, checklist, and score.

In plain words
What is it for?
Repeatedly reviewing implementation requirements until all items meet the target score.
Why use it?
It helps check that every required implementation item reaches the stated 95-point threshold.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is claude-code-expert/carve-harness's own configuration. It tells Claude Code how to work on carve-harness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything carve-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to claude-code-expert/carve-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/claude-code-expert/carve-harness/main/.claude/commands/verify-loop.md
Clone the repo
git clone --depth 1 https://github.com/claude-code-expert/carve-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-loop

README.md
[![agentmods](https://agentmods.dev/badge/commands/claude-code-expert/carve-harness/verify-loop/github.svg)](https://agentmods.dev/commands/claude-code-expert/carve-harness/verify-loop)
Your own site
<a href="https://agentmods.dev/commands/claude-code-expert/carve-harness/verify-loop"><img src="https://agentmods.dev/badge/commands/claude-code-expert/carve-harness/verify-loop/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 verify-loop

Your own site · 80×15
<a href="https://agentmods.dev/commands/claude-code-expert/carve-harness/verify-loop"><img src="https://agentmods.dev/badge/commands/claude-code-expert/carve-harness/verify-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 247 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.00035 $0.00247
Opus 5.5 $0.00014 $0.00099
Sonnet 5.5 $0.00007 $0.00049
Haiku 4.5 $0.00003 $0.00025

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

Security

Grade A, and why

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

.claude/commands/verify-loop.md · 12 lines

What it actually says

carve-verify-loop 워크플로를 실행하라. $ARGUMENTS를 목표(goal)로 전달한다.

  • 항목(tasks)을 직접 주지 않으면 P1에서 리서치 기반으로 3~7개 체크리스트 항목(claim·acceptance·owns 비중복)으로 자동 분해한다.
  • 각 항목을 evaluator가 코드 대조로 0~100 채점하고, 95 미만 항목만 gap을 되먹여 재작업→재채점(항목당 최대 3회).
  • 진행 상태는 specs/checklist.json에 기록되며, 미달 항목이 남으면 checklist-gate 훅이 완료(Stop)를 차단한다.
  • 워크플로 없이(타 에이전트·일반 세션) 같은 루프를 손으로 돌릴 때는 checklist-loop 스킬의 SOP를 따른다.

$ARGUMENTS

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 · 12 lines · 35 tokens per session scan A 0e08280b3c7e

Subscribe to this mod's changes

verify-loop is a command published in the GitHub repository claude-code-expert/carve-harness (15 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 247 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-30.