verifier

verifier is an agent for Claude Code from techygarg/lattice. It costs 0 tokens per session (640 once invoked), scanned A, original, MIT.

An agent that runs the verification stages configured in a project's .lattice/verification.yaml file, such as builds and tests, and returns the resulting summary.json unchanged.

In plain words
What is it for?
It runs the project's verification script, follows its configured stages and stop-on-failure behaviour, and reports the recorded summary.
Why use it?
It provides an execution-based pass or fail report before work is declared complete, without adding a second interpretation of the results.

Agent for Claude Code

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

Part of the lattice plugin — 33 skills, 1 agent shipped together

Good fit It runs the project's verification script, follows its configured stages and stop-on-failure behaviour, and reports the recorded summary.

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

Made for: Claude Code.

Or install lattice, the plugin that ships this one along with the rest of its 33 skills, 1 agent.

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/techygarg/lattice/verifier/github.svg)](https://agentmods.dev/agents/techygarg/lattice/verifier)
Your own site
<a href="https://agentmods.dev/agents/techygarg/lattice/verifier"><img src="https://agentmods.dev/badge/agents/techygarg/lattice/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/techygarg/lattice/verifier"><img src="https://agentmods.dev/badge/agents/techygarg/lattice/verifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 640 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.00000 $0.00640
Opus 5.5 $0.00000 $0.00256
Sonnet 5.5 $0.00000 $0.00128
Haiku 4.5 $0.00000 $0.00064

Measured 1mo ago against content hash 7770d76d9ff6, 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 · 61 lines

How it starts

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

Execute the project's verification config, then return its summary.json exactly as written. The script is the source of truth for pass/fail — same file, same verdict, whether a human runs the script directly or this agent runs it. Never open a stage's log, never fix code, never judge quality, never recompute a verdict the file already states.

1. Run

Config path: whatever the prompt names, else .lattice/verification.yaml at the project root.

Script path — check in order, stop at the first that exists: .lattice/scripts/run-verification.sh (vendored copy), then scripts/run-verification.sh at the repo root (Lattice dev checkout). Neither exists → skip execution, go to the error result (§3).

One Bash call for the whole run, invoked via bash (never rely on the script's own executable bit — vendoring doesn't guarantee it survives), with an explicit timeout of 600000 (the host's maximum) since a real build or integration stage commonly runs past the default:

bash "<script-path>" "<config-path>"

The script owns parsing, iteration, stop-on-first-failure, logging, and the pass/fail verdict — never reimplement any of that, never call it twice. A suite that needs more than 10 minutes end-to-end exceeds what one Bash call can cover — treat that as a known limitation, not something to work around here.

2. Read summary.json

  • ___VERIFICATION_SCRIPT_ERROR___:<msg> on stdout → nothing ran; go to the error result (§3) naming <msg>.
  • Otherwise take ___VERIFICATION_RUN_DIR___ from stdout and read <runDir>/summary.json. It already contains overallStatus, failedStages, and headline alongside every id, timestamp, duration, per-stage status, and logFile path. It is complete — never add, drop, or recompute a field.

3. Result

Green path: output the file's contents unchanged.

Error path (nothing ran, so there is no summary.json to read): output {"overallStatus": "error", "headline": "<what's missing: config path or script path, and where it was expected>"} — no other fields.

Read the full file on GitHub · 61 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 First seen · 61 lines · 0 tokens per session scan A 7770d76d9ff6

Subscribe to this mod's changes

verifier is an agent published in the GitHub repository techygarg/lattice (204 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 640 tokens. 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

Other agents, from other repositories

parity-auditor

Re-derives rewrite parity from evidence — maps each obligation (acceptance probe, contract witness, ledger guarantee) to a test and a fresh run, rejecting stale, stubbed or excluded results. Use when /rewrite:verify scores a slice.

oliver-kriska/claude-elixir-phoenix · 56 tokens

contract-surveyor

Surveys a legacy app's external contracts (DB schema, cookies, crypto, URLs, APIs, webhooks, sockets, files, env) as testable assertions for an Elixir rewrite. Use when /rewrite:analyze needs contracts.md for ADR-000.

oliver-kriska/claude-elixir-phoenix · 58 tokens

testing-reviewer

Reviews test code for Elixir best practices - ExUnit patterns, Mox usage, LiveView testing, factory patterns. Use proactively after writing tests or during code review.

oliver-kriska/claude-elixir-phoenix · 38 tokens

verification-runner

Run project-aware verification loop. Reads mix.exs to discover tools (credo, dialyzer, sobelow, excheck), test commands, and custom aliases. Use proactively after code changes.

oliver-kriska/claude-elixir-phoenix · 44 tokens

consistency-qa

The brooks-lint verification gate. Runs npm run validate, npm test, and npm run evals, then cross-checks the documents the validator can't fully diff — the four plugin manifests, all six README badges, the docs landing-page JSON-LD, CHANGELOG, AGENTS.md, GEMINI.md, and the derived book count — for drift. Reports…

hyhmrright/brooks-lint · 123 tokens

eval-curator

Authors and maintains the brooks-lint eval suite in evals/evals.json — the benchmark scenarios covering R1–R6 (code decay) and T1–T6 (test decay), including the false-positive / tradeoff cases that must NOT be flagged. Ensures every new risk code or skill gets paired coverage and that the suite passes npm run evals.…

hyhmrright/brooks-lint · 97 tokens