validator

validator is an agent for Claude Code from chafoo/anchored. It costs 97 tokens per session (1,483 once invoked), scanned A, original, MIT.

An independent checking agent that verifies one requirement of one recorded run against a fixed snapshot of the work. It writes its evidence only through the anchored command-line tool, not directly into the project files.

In plain words
What is it for?
Use it to re-check a single gate or criterion, record grounded evidence, or mark that criterion as passed or failed.
Why use it?
It reduces the risk that the person who made a change also approves it without checking. It ties each result to commands and a specific version of the work.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the a plugin — 2 skills, 1 agent, 1 hook shipped together

Good fit Use it to re-check a single gate or criterion, record grounded evidence, or mark that criterion as passed or failed.

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

Made for: Claude Code.

Or install a, the plugin that ships this one along with the rest of its 2 skills, 1 agent, 1 hook.

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 validator

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/chafoo/anchored/validator"><img src="https://agentmods.dev/badge/agents/chafoo/anchored/validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 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,483 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.00097 $0.01483
Opus 5.5 $0.00039 $0.00593
Sonnet 5.5 $0.00019 $0.00297
Haiku 4.5 $0.00010 $0.00148

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

Security

Grade A, and why

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

plugin/agents/validator.md · 100 lines

How it starts

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

validator — the independent evidence author

You verify ONE gate of ONE anchored run. You did not write the work you are checking — that independence is the point. Your ONLY writes go through the anchored CLI; you never edit code or the run file directly.

Your input (the validation packet)

The spawning skill hands you: the slug, the gate (if any), the snapshot string, the rigor, the criteria to verify (id + text + current status + judgment where the author declared the criterion unexecutable), the setup's validator block (its instructions, and require: grounded if this setup refuses prose), and the declared custom fields. Re-read the live state yourself: anchored status <slug>.

Snapshot contract

  • If the snapshot resolves as a ref you can inspect (e.g. a git sha): verify EXACTLY that state and scope your reading to its diff where that makes verification sharper.
  • Otherwise (an opaque snap-… token): run the OUTCOME check against the working tree as it is — the criterion text is your scope; trail claims (anchored status) are soft hints to where the work happened.
  • Every evidence/fail you write carries the packet's snapshot verbatim.

How you verify (per criterion)

  1. Verify as well as the subject allows. Where something can be executed against the criterion — a test, a lint, a build, a render, a request, a checksum, a diff — RUN it and use the real output as evidence. Where nothing can be (a copy deck, an asset, a design token, a policy) verify by INSPECTION: open the artifact, compare it against the spec, and state exactly what you checked and what you saw. Both are proof. Neither requires the subject to be code.
  2. Find the tool before you claim it is missing. "No browser available" is nearly always false: command -v, npx --no-install <tool> --version, the project's own scripts. A headless browser (playwright / puppeteer / chrome --headless, driven over CDP from Bash) is one command away, and it is what a criterion about rendered geometry, contrast, focus order or a real click path demands. Measure it; never infer it from the CSS. The suite you are handed can lie in exactly this gap — a synthetic .click() fires events in an order a real browser never produces. If a tool genuinely is absent, say so IN the evidence.
  3. Check the project's rules. Read .claude/rules/ if present; a criterion that is met but violates a rule is NOT met.
  4. Respect the rigor. It sets how hard you push: light: one clean proof per criterion. standard: prove the criterion, not a proxy for it. high/max: adversarial — probe the edges, and at max reject on doubt.
  5. Then write the proof — one CLI call per criterion:

Read the full file on GitHub · 100 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 · 100 lines · 97 tokens per session scan A 2e122e7f04c0

Subscribe to this mod's changes

validator is an agent published in the GitHub repository chafoo/anchored (3 stars, last pushed 3mo ago), licensed MIT. It adds 97 tokens to every session and 1,483 once invoked, about $0.0004 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

session-reviewer

Use this agent between waves or at session end to verify work quality against the session plan. Checks implementation correctness, test coverage, TypeScript health, security basics, and issue tracking accuracy. Context: Impl-Core wave is complete, coordinator needs quality check before Impl-Polish. user: "Impl-Core…

Kanevry/session-orchestrator · 165 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 · 199 tokens

qa-strategist

Use this agent for read-only test-coverage gap analysis between waves. Identifies missing boundary cases, error paths, and integration gaps not caught by happy-path tests. Context: Impl-Core shipped a new auth flow with 6 unit tests. user: "Check the test coverage gaps." assistant: "I'll dispatch qa-strategist to…

Kanevry/session-orchestrator · 111 tokens

test-writer

Use this agent to close NAMED test gaps and to consolidate redundant tests. It writes the specific missing test, and it deletes, merges, or parameterises tests that do not earn their keep. Context: Quality wave named one concrete gap — the invoice service never exercises the declined-payment branch. user: "The invoice…

Kanevry/session-orchestrator · 281 tokens

verifier

Mechanical validation on the cheapest tier - runs exactly the commands it is handed, reports exit codes and counts verbatim against the handoff's baseline, and never edits, fixes or theorizes. A red suite is its product, not its failure. Spawned by the conductor at merge time and for the serial re-run of a suspect…

jjanczur/tyran · 71 tokens

project-quality-gate

Use this agent when you need to verify a repo meets quality standards before a release, merge, or deployment decision. Context: The session is about to close and the coordinator wants a final quality check. user: "Run the quality gate checks" assistant: "I'll use the project-quality-gate agent to verify tests pass…

Kanevry/session-orchestrator · 0 tokens