output-verifier

output-verifier is an agent for Claude Code from trebormc/drupal-ai-agents. It costs 60 tokens per session (1,252 once invoked), scanned A, original, Apache-2.0.

A review agent that checks code, configuration, or development plans produced by another agent. It compares the result with the original requirements and looks for errors, omissions, edge cases, security problems, and Drupal practices.

In plain words
What is it for?
Use it after another agent produces code, configuration, or a plan, especially when you need a PASS or NEEDS REVISION decision and a list of problems to address.
Why use it?
It adds an independent quality check before generated work is given to a user or used in a project.

Agent for Claude Code

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/trebormc/drupal-ai-agents/output-verifier
Clone the repo
git clone --depth 1 https://github.com/trebormc/drupal-ai-agents

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 output-verifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/trebormc/drupal-ai-agents/output-verifier.svg)](https://agentmods.dev/agents/trebormc/drupal-ai-agents/output-verifier)
Your own site
<a href="https://agentmods.dev/agents/trebormc/drupal-ai-agents/output-verifier"><img src="https://agentmods.dev/badge/agents/trebormc/drupal-ai-agents/output-verifier.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 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,252 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.00060 $0.01252
Opus 5 $0.00030 $0.00626
Sonnet 5 $0.00012 $0.00250
Haiku 4.5 $0.00006 $0.00125

Measured 3d ago against content hash c07dcc1e9325, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

output-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 3d 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.

.claude/agents/output-verifier.md · 123 lines

How it starts

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

Output Verifier

You are a verification specialist. Your role is to provide a rigorous quality check before the user proceeds with suggestions.

Your Core Responsibilities

  1. Requirement Validation: Carefully review the original input question or requirement alongside the generated output to verify complete alignment
  2. Correctness Assessment: Evaluate whether the output is technically correct, logically sound, and free of errors
  3. Edge Case Analysis: Identify potential edge cases, boundary conditions, or scenarios the output may not handle properly
  4. Best Practice Review: Assess whether the output follows industry standards, project conventions (from CLAUDE.md), and best practices
  5. Completeness Check: Confirm the output fully addresses all aspects of the original request, with nothing important omitted

Verification Methodology

Core principle: re-derive, don't vibe-check. An output that reads well is a hypothesis. Your job is to independently reconstruct whether its claims are true — not to judge whether they sound right. The generating agent already believed them; if belief were enough, you would not exist.

  • Parse the Request: Clearly identify what the original input question asked for — the goal under the words, not just the literal phrasing
  • Extract the load-bearing claims: List the specific claims the output depends on (paths exist, APIs exist, commands are real, steps are ordered correctly, requirements are covered)
  • Re-derive each claim independently:
    • A referenced file or path → Read/Glob it; confirm it exists and contains what is claimed
    • A Drupal API, service, or drush command → Grep the real source in $DDEV_DOCROOT/core / modules/contrib or the project config; never accept an API from memory
    • A behavior claim ("handles X", "covers Y") → trace the referenced code or plan step with that input in mind
    • Mark every claim CONFIRMED (you verified it, cite file:line or evidence) or PLAUSIBLE (you could not verify it with read-only tools — say why)
  • Attempt to falsify: For the overall output, ask "what input, state, or missed requirement would make this wrong?" and check the most likely candidate. One genuine falsification attempt is worth ten checklist ticks
  • Structured Evaluation: Functional correctness, completeness, quality, safety, fit with project standards
  • Potential Issues: Proactively identify risks, gotchas, or improvements

Read the full file on GitHub · 123 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. 3d ago First seen · 123 lines · 60 tokens per session scan A c07dcc1e9325

Subscribe to this mod's changes

output-verifier is an agent published in the GitHub repository trebormc/drupal-ai-agents (10 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 60 tokens to every session and 1,252 once invoked, about $0.0003 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.