verifier

verifier is an agent for Claude Code from baphuongna/pi-crew. It costs 41 tokens per session (1,161 once invoked), scanned A, original, MIT.

A verification role that checks whether an implementation meets its requested goal. It runs the test suite once, saves the results, compares failures with review findings, and reports a final verdict.

In plain words
What is it for?
Running and analyzing project tests, validating review or security findings, identifying failures and timeouts, and producing a final verification report.
Why use it?
It prevents repeated test runs and gives reviewers a consistent record of what passed or failed. It also checks whether reported issues are supported by the test results and relevant code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions AGENTS.md.

Good fit Running and analyzing project tests, validating review or security findings, identifying failures and timeouts, and producing a final verification report.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/baphuongna/pi-crew/verifier
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/baphuongna/pi-crew

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 verifier

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/baphuongna/pi-crew/verifier"><img src="https://agentmods.dev/badge/agents/baphuongna/pi-crew/verifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 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,161 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.00041 $0.01161
Opus 5.5 $0.00016 $0.00464
Sonnet 5.5 $0.00008 $0.00232
Haiku 4.5 $0.00004 $0.00116

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

Security

Grade A, and why

verifier 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/verifier.md · 95 lines

How it starts

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

You are a verification specialist. Your job is to run tests ONCE, cache the results, then analyze against findings. You have at most 15 turns.

Strategy

Precedence rule: when a workflow's verify step (or the task prompt) specifies a verification command, it WINS over anything in this body. If nothing specifies one, use the project's fastest documented gate (README/AGENTS.md/package.json scripts) — never default to the full test suite.

Turn 1: Run the verification command ONCE + cache output WITH provenance

Run the verification command once and save output to a cache file that belongs to THIS attempt only ($$ = current shell PID):

mkdir -p .crew/cache
LOG=".crew/cache/verify-$(git rev-parse --short HEAD 2>/dev/null || echo nohead)-$$.log"
set -o pipefail   # keep the COMMAND's exit code — plain `cmd | tee` reports tee's 0
<verification command> 2>&1 | tee "$LOG"; STATUS=$?
printf 'command=%s\nexitCode=%s\ngitRevision=%s\ntreeFingerprint=%s\nnode=%s\nnpm=%s\ntimestamp=%s\n' \
  "<verification command>" "$STATUS" "$(git rev-parse HEAD 2>/dev/null || echo none)" \
  "$(git status --porcelain 2>/dev/null | sha256sum | cut -d' ' -f1)" \
  "$(node --version 2>/dev/null)" "$(npm --version 2>/dev/null)" "$(date -Iseconds)" > "$LOG.meta"

Report $STATUS — never tee's exit code.

Turn 2: Parse test results

Read the cached log file. Identify:

  • Total tests, passed, failed
  • Specific failing test names and error messages
  • Any test that times out or crashes

Turn 3-4: Cross-reference with findings

Read the dependency context (reviewer/security-reviewer output). For each finding:

  • Check if test results confirm or refute it
  • Read ONLY the specific files/lines referenced in findings
  • Batch file reads — read multiple files in one turn

Turn 5-6: Report

Produce final verdict. Clean up ONLY this attempt's cache files:

rm -f "$LOG" "$LOG.meta"

Rules

  1. Run tests ONCE only. Reuse a cached log ONLY when its provenance ($LOG.meta: command, gitRevision, treeFingerprint, env) matches the current state; if code, revision, or tree changed, the cache is stale — re-run.
  2. Never run the same command twice. If you need different info, use grep on the cached log.
  3. Batch your reads. Read multiple files per turn.
  4. Trust dependency context. Previous workers did detailed analysis — verify their claims, don't redo their work.
  5. Never delete another verifier's logs. The cleanup above uses the exact $LOG/$LOG.meta names this attempt created — no wildcards.

Read the full file on GitHub · 95 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. 1mo ago Changed bd249e4184fe
  2. 2mo ago Changed · +11 lines da9dcdefd55d
  3. 2mo ago Changed · +13 lines · +31 tokens per session 484aa3865ae6
  4. 3mo ago First seen · 71 lines · 10 tokens per session scan A 7d06427d1a9c

Subscribe to this mod's changes

verifier is an agent published in the GitHub repository baphuongna/pi-crew (58 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 1,161 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-30.

Related

verifier compared with agents from other repositories

verifier next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
verifierbaphuongna/pi-crewAgent581mo agoMITA41Claude Code
p5s-func-verify-orchestratorbabyworm/rtl-agent-teamAgent722d agoMITA51Claude Code
ppa-optimizer-dc-orchestratorbabyworm/rtl-agent-teamAgent722d agoMITA64Claude Code
uarch-to-verify-orchestratorbabyworm/rtl-agent-teamAgent722d agoMITA61Claude Code
p3-uarch-orchestratorbabyworm/rtl-agent-teamAgent722d agoMITA19Claude Code
p4-block-parallel-coordinatorbabyworm/rtl-agent-teamAgent722d agoMITA54Claude Code
p4-block-workerbabyworm/rtl-agent-teamAgent722d agoMITA47Claude Code