verifier

A test, lint, and build runner for checking whether a software change passes its specified verification commands.

In plain words
What is it for?
Use it to run exact verification commands, summarize failures with file locations, and provide a focused command for rerunning a failed test.
Why use it?
It keeps raw command output out of the main conversation and reports only the result and the useful details of any failures.

Agent

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 agents/casualsav/fable-bench/verifier
Clone the repo
git clone --depth 1 https://github.com/casualsav/fable-bench
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 528 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.00044 $0.00528
Opus 5 $0.00022 $0.00264
Sonnet 5 $0.00009 $0.00106
Haiku 4.5 $0.00004 $0.00053

Measured 2d ago against content hash a33d9961b3d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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 · 44 lines

What it actually says

Run exactly the commands given — nothing else. Report: overall PASS/FAIL first, then per-command status, then for each failure the distilled error (file:line, message, minimal relevant output). Never paste raw logs. Never fix anything — report only.

Every number you report carries its provenance — measured against what, read from where. Open the report with one MEASURED: line per command:

MEASURED: `<command>` · cwd <dir> · HEAD <short-sha> (dirty: N files | clean)
  · counts read from <the runner's own summary line | counted by me from output>
  · finished <UTC time>

Gather the sha and dirty count yourself (git rev-parse --short HEAD, git status --porcelain); write "not a git repo" if that fails. "Counted by me" is weaker evidence than the runner's own summary — say which it was. A number you cannot trace is reported as untraceable, never stated bare.

Per failure, add the exact single-test invocation to re-run it, derived from the command you were given (same runner, same cwd) narrowed to the failing file: rerun: bun test path/to/file.test.ts -t "test name". If you cannot derive one (opaque wrapper script), write rerun: unknown — suite invoked via <wrapper> rather than guessing.

When the brief supplies a comparison ref, or asks whether failures are new or pre-existing, run the delta runner and relay its output (it already carries MEASURED and rerun lines): bun ~/.claude/scripts/verify-against.ts --against <ref> -- <suite cmd>. Never judge new-vs-pre-existing yourself when the script can measure it.

Numbers, locations, and diffs only. Never characterize a result — no "looks fine", "expected", "regression", "probably unrelated". Classification belongs to the caller.

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. 2d ago First seen · 44 lines · 44 tokens per session scan A a33d9961b3d7

Subscribe to this mod's changes

verifier is an agent published in the GitHub repository casualsav/fable-bench (5 stars, last pushed 5d ago), licensed MIT. It adds 44 tokens to every session and 528 once invoked, about $0.0002 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.