build-verify-loop

build-verify-loop is a skill for Claude Code, Codex from legacybridge-tech/claude-plugins. It costs 94 tokens per session (5,991 once invoked), scanned A, original, MIT.

A repeating work-and-review process in which one agent builds or revises an artifact and another checks it against acceptance criteria.

In plain words
What is it for?
Use it for code, documents, plans, designs, specifications, proposals, and other substantial artifacts that benefit from automatic implementation and criticism.
Why use it?
It reduces the chance of stopping with known issues by sending the work through additional correction rounds until reviews find no material problems or escalation is needed.

Skill for Claude CodeCodex

Part of the build-verify-loop plugin — 1 skill shipped together

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 skills/legacybridge-tech/claude-plugins/build-verify-loop
Any agent
npx skills add legacybridge-tech/claude-plugins --skill build-verify-loop
Clone the repo
git clone --depth 1 https://github.com/legacybridge-tech/claude-plugins

Made for: Claude Code, Codex.

Or install build-verify-loop, the plugin that ships this one along with the rest of its 1 skill.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/legacybridge-tech/claude-plugins/build-verify-loop.svg)](https://agentmods.dev/skills/legacybridge-tech/claude-plugins/build-verify-loop)
Your own site
<a href="https://agentmods.dev/skills/legacybridge-tech/claude-plugins/build-verify-loop"><img src="https://agentmods.dev/badge/skills/legacybridge-tech/claude-plugins/build-verify-loop.svg" alt="Measured on agentmods" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,991 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 $0.00094 $0.05991
Opus 5 $0.00047 $0.02995
Sonnet 5 $0.00019 $0.01198
Haiku 4.5 $0.00009 $0.00599

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

Security

Grade A, and why

build-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 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.

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.

build-verify-loop/skills/build-verify-loop/SKILL.md · 461 lines

How it starts

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

Build-Verify Loop

A standalone Claude Code skill. Drop this directory into ~/.claude/skills/build-verify-loop/ and trigger with /build-verify-loop <task>. No additional configuration required.

What this is

An orchestration pattern for autonomous work. The main agent does not do the work itself — it spawns two isolated subagents per round:

  • Implementor — produces / revises the artifact, addressing prior findings
  • Critic — adversarial audit against acceptance criteria

The loop continues until the Critic finds nothing material for two consecutive rounds, or an exit condition forces escalation. The main agent never judges the content of individual findings, never paraphrases between subagents, and never injects its own framing — this is the discipline that makes the loop work.

When to use

Trigger phrases:

  • /build-verify-loop <task> or /bvl <task>
  • "Run a build-verify loop on X" / "Use bvl on X" / "Run bvl for Y"
  • "Autonomously complete X with self-verification"
  • "Self-iterate Y until done"
  • 「自主完成 X」「閉環跑 Y」「自己跑迴圈做 Z」「用 bvl 跑 X」「啟動 bvl 做 Y」「使用 bvl skill 做 X」

Good fits:

  • Producing or revising a non-trivial artifact (code module, document section, design doc, plan, proposal, spec)
  • The user has acceptance criteria they can articulate up front
  • The user wants the work done without per-round confirmation, but with rigor preserved

When NOT to use

  • Single-shot tasks (no iteration needed)
  • Open-ended exploration where AC cannot be defined
  • Real-time conversational tasks
  • Tasks where the user wants to be involved in every round
  • Tasks requiring external side effects (deploy, send email, post to chat) — this skill is for artifact production only

Required inputs

When triggered, ensure the following are provided. If any are missing, ask in one batched message before starting the loop:

  1. TASK — one-line goal statement
  2. ARTIFACT — file path(s) the Implementor will read and write each round
  3. ACCEPTANCE CRITERIA (AC) — bullet list defining "done". Examples by domain:
    • Code: tests must pass, no hardcoded credentials, function signature matches foo(x: int) -> str
    • Document: covers sections A/B/C, audience is non-technical executives, under 800 words, tone formal
    • Plan: includes pre-conditions, rollback, owner per phase, risk register
  4. DOMAIN CONTEXT (optional but recommended) — short paragraph orienting subagents to the work
  5. ITERATION_CAP (optional, default 5) — max rounds before forced escalation

Read the full file on GitHub · 461 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 · 461 lines · 94 tokens per session scan A c22667fa0a16

Subscribe to this mod's changes

build-verify-loop is a skill published in the GitHub repository legacybridge-tech/claude-plugins (6 stars, last pushed 3mo ago), licensed MIT. It adds 94 tokens to every session and 5,991 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens