verify

A checking pattern that asks a second AI agent to judge code, plans, documents, or other work against specific requirements and return a pass, fail, or needs-more-information result.

In plain words
What is it for?
Use it when the acceptance criteria are clear and you want a peer agent to verify whether each required condition is met.
Why use it?
It provides an independent check without asking the second agent to rewrite the work, making disagreements visible.

Skill for Claude CodeCodex

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 skills/firstintent/a2a-bridge/verify
Any agent
npx skills add firstintent/a2a-bridge --skill verify
Clone the repo
git clone --depth 1 https://github.com/firstintent/a2a-bridge

Made for: Claude Code, Codex.

Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,323 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.01323
Opus 5 $0.00022 $0.00661
Sonnet 5 $0.00009 $0.00265
Haiku 4.5 $0.00004 $0.00132

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

Security

Grade A, and why

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

skills/verify/SKILL.md · 162 lines

How it starts

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

verify — delegate a verification check

Ask a peer agent to evaluate an artifact (code, a plan, a doc, a diff) against explicit criteria and return a structured verdict. This is the Anthropic-validated pattern that's consistently worth the extra tokens: a second agent either confirms the work or flags a specific problem — it does not rewrite.

When to use

  • You produced something and want an independent pass/fail, not a revision.
  • The criteria are enumerable ("does X, handles edge case Y, passes test Z").
  • You want the verifier's disagreement surfaced as evidence, not silently merged back into your own output.

When NOT to use

  • You want the peer to do the work. That's delegation, not verification — prompt a peer directly without this pattern.
  • The criteria are vague ("is this good?"). Verifiers cannot return useful structured verdicts without concrete checks.
  • The cost of the second call is not justified. Verification typically 2–3× the tokens of the original turn.

Protocol

On the A2A inbound surface, set Message.metadata.return_format to "verdict" when sending message/stream:

{
  "message": {
    "parts": [{ "kind": "text", "text": "<verifier prompt>" }],
    "metadata": { "return_format": "verdict" }
  }
}

The peer responds with an A2A artifact-update whose part has kind: "data" and mimeType: "application/vnd.a2a-bridge.verdict+json". The data object matches the verification artifact shape from docs/design/architecture.md §"Verification artifact":

{
  "verdict": "pass" | "fail" | "needs-info",
  "reasoning": "one to three sentences",
  "evidence": [
    { "claim": "string", "source": "file:line | url | inline", "note": "optional" }
  ],
  "followups": ["string", ...]
}

Unrecognized verdict values are coerced to "needs-info". An empty or missing reasoning is rejected — verifiers that cannot articulate reasoning must return "needs-info" with a short note instead.

Prompt scaffold

Read the full file on GitHub · 162 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. 2d ago First seen · 162 lines · 44 tokens per session scan A e1e2a9d92687

Subscribe to this mod's changes

verify is a skill published in the GitHub repository firstintent/a2a-bridge (8 stars, last pushed 4mo ago), licensed MIT. It adds 44 tokens to every session and 1,323 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.

Related

Other skills, from other repositories

qa-testing

Verify your work by actually operating the app or website you changed, instead of assuming it works. Strongly recommended whenever you build, modify, or debug a web app, website, or desktop GUI app. Drive real browsers with the agent-browser CLI and native desktop apps with the cua-driver CLI. These are installed on…

openinterpreter/openinterpreter · 77 tokens

blog-writer

Peri 项目博客写作风格指南。当用户说"写博客"、"写文章"、"出稿"、 "按风格写"、"博客"时触发。也适用于用户丢过来素材说"帮我写篇博客"的场景。 覆盖项目介绍、技术复盘、架构讨论、性能优化、架构设计等类型。.

KonghaYao/peri · 90 tokens

go-127

What changed in Go 1.27 (released August 2026) and how it changes the way Go is written in pi-go. Use this skill when writing or reviewing Go that could use a 1.27 feature, when bumping the go directive in go.mod, when a build or test behaves differently after a toolchain upgrade, or when code-guidelines-go points…

dimetron/pi-go · 177 tokens

auto-devflow

Use when starting an issue, bugfix, feature, or refactor that benefits from an adaptive development workflow. Select lite, normal, pro, max, or ultra from task complexity and risk, then use only the coordination, review, and verification phases that the task actually needs.

KonghaYao/peri · 60 tokens

langfuse

Interact with Langfuse and access its documentation. Use when needing to (1) query or modify Langfuse data programmatically via the CLI — traces, prompts, datasets, scores, sessions, and any other API resource, (2) look up Langfuse documentation, concepts, integration guides, or SDK usage, or (3) understand how any…

KonghaYao/peri · 100 tokens

self-build

Builds isolated npm capability packages that operate on real project code and connects them to Peri through MCP/MCPP and MetaHarness. Use when adding tools, resources, remote skills or agents, creating a Bun/Node.js stdio server, linking .mcp.json, or changing the active prompt and middleware set.

KonghaYao/peri · 66 tokens