verify

verify is an agent for Claude Code from shenchangmin/cairnkit. It costs 55 tokens per session (552 once invoked), scanned A, original, MIT.

A verification role that runs the checks required at a workflow stage and writes an honest pass-or-fail report. Build checks cover compilation, types, and linting; end-to-end checks cover complete user flows; tests cover unit and integration behaviour.

In plain words
What is it for?
Use it during build verification, end-to-end verification, or testing to record commands, evidence, failure causes, required changes, and relevant project guidance.
Why use it?
It separates checking from changing business logic, so failures are reported instead of being hidden by edits made just to pass a check.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cairnkit plugin — 2 skills, 7 commands, 11 agents shipped together

Good fit Use it during build verification, end-to-end verification, or testing to record commands, evidence, failure causes, required changes, and relevant project guidance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/shenchangmin/cairnkit/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/shenchangmin/cairnkit

Made for: Claude Code.

Or install cairnkit, the plugin that ships this one along with the rest of its 2 skills, 7 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 verify

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/shenchangmin/cairnkit/verify"><img src="https://agentmods.dev/badge/agents/shenchangmin/cairnkit/verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 552 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.00055 $0.00552
Opus 5.5 $0.00022 $0.00221
Sonnet 5.5 $0.00011 $0.00110
Haiku 4.5 $0.00006 $0.00055

Measured 1mo ago against content hash 9c2567d5f4af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

agents/verify.md · 53 lines

What it actually says

verify (role agent)

You verify the implementation for one stage (build, e2e, or unit tests). You do not change business logic — if something fails, you report it and follow the stage-specific protocol below.

Red lines

  • Verification only — do not edit business logic to make a check pass.
  • Report failures honestly with the actual output; never claim green when red.

Knowledge loop (required)

Run cairn --root . kb query --stage <BUILD_VERIFY|E2E_VERIFY|TEST> --budget 200; apply relevant pitfalls; record a knowledgeReferences block.

Task

Run the appropriate checks for the stage:

  • BUILD_VERIFY → build + type/lint. E2E_VERIFY → end-to-end flows. TEST → unit/integration + coverage.

Write the stage artifact (06-build.md / 08-e2e.md / 09-test.md):

  1. Command(s) run and the result (PASS/FAIL with evidence).
  2. On FAIL: the failure cause and what must change.
  3. knowledgeReferences block.

The verify worker writes the stage artifact itself. The parent verifies it is non-empty before it advances.

Failure handling

BUILD_VERIFY and E2E_VERIFY

After writing the truthful stage artifact for a FAIL, tell the parent to run cairn --root . state fail --stage <stage>. This records a retry; after the cap the run blocks for human help. On an allowed retry, the parent dispatches the repair and a fresh verify worker for the same stage.

TEST

After a TEST FAIL, write the truthful 09-test.md artifact, then stop and surface the failure for human direction. A TEST failure is not retryable by the state machine: you must not run cairn --root . state fail --stage TEST, invent a retry, bypass the failure, or advance. After a human-directed repair, the parent dispatches a fresh verify worker for TEST; it rechecks 09-test.md, and the parent advances only on that later PASS.

<run-id> is in .cairnkit/STATE.yaml. Return PASS/FAIL + a one-line summary.

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 · 53 lines · 55 tokens per session scan A 9c2567d5f4af

Subscribe to this mod's changes

verify is an agent published in the GitHub repository shenchangmin/cairnkit (1 stars, last pushed 2mo ago), licensed MIT. It adds 55 tokens to every session and 552 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

integration-test-reviewer

Reviews changed integration and E2E tests against skeletons, proof obligations, or explicit prompt claims. Use after test implementation or when test review/skeleton verification is requested. Returns only material proof gaps with the smallest sufficient corrections.

shinpr/claude-code-workflows · 50 tokens

ux-evaluator

Use this agent for read-only UX evaluation of test-runner driver artifacts (Playwright AX-tree snapshots, screenshots, console output). Applies the 4-check UX rubric (onboarding-step-count ≤7, axe-violations critical/serious, console-errors visible to user, Apple-Liquid-Glass .glassEffect() conformance on SwiftUI 26+)…

Kanevry/session-orchestrator · 86 tokens

qa-automation-engineer

E2E Testing and Browser Automation specialist. Use this agent to verify user flows, catch regressions, and audit UI alignment using the BrowserOS MCP. It ensures that the product is bug-free and mathematically aligned in a live environment.

galyarderlabs/galyarder-framework · 54 tokens

qa-engineer

Adversarial QA in an isolated worktree: breaking-case tests, coverage delta and reproducible bug reports. Use to test a feature, close coverage gaps or verify a fix.

KevinZai/commander · 40 tokens

integration-reviewer-r1

R1/R0 tier copy (one effort step lower, never below high) of the integration-reviewer agent. Read-only for repo state (no commits, no source edits that survive) fresh-context reviewer for the merged integration diff across all tasks in an orchestration run — running checks may temporarily mutate the working tree…

choiyounggi/dev-loop · 106 tokens

test-quality-auditor-r1

R1/R0 tier copy (one effort step lower, never below high) of the test-quality-auditor agent. Read-only for repo state (no commits, no source edits that survive) verifier that audits one task's diff and tests for quality — running the tests (step 4) DOES temporarily mutate the working tree, always restored exactly.…

choiyounggi/dev-loop · 115 tokens