agentleFS
firstintentfirstintent/a2a-bridge/skills/verify/SKILL.md

verify

Skill9 starsChanged 8 months agoMITView on GitHub

Delegate a verification check to a peer agent and consume a structured pass/fail/needs-info verdict instead of free-form text. Use when you want a second agent to check work against explicit criteria without rewriting it.

175 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use build-fix, lazy and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 8 projects that use this

  • vasuag09Skill

    lazy

    Build the minimum that actually works — question whether the task needs to exist (YAGNI), reach for stdlib before custom code, native platform features before dependencies, one line before fifty. A persistent generation-reduction bias for the Implement phase. Use when the user says "be lazy", "lazy mode", "minimal", "simplest solution", "do less", "yagni", or complains about over-engineering, bloat, boilerplate, or needless dependencies. Levels: lite, full (default), ultra. Off: "stop lazy" / "normal mode".

    Also in 3 projects that use this

  • TheKREATORSSkill

    instinct-export

    Export instincts from project/global scope to a file

    Also in 3 projects that use this

  • TheKREATORSSkill

    instinct-import

    Import instincts from file or URL into project/global scope

    Also in 3 projects that use this

  • qtzx06Skill

    eval

    Evaluate trained YOLO model accuracy with mAP metrics and per-class error analysis. Identifies failure cases for targeted improvement. Use after training.

    Also in 7 projects that use this

  • vltingSkill

    scope

    Interactive planning + orchestration. Approval-gated workflow covering saga→epic→task hierarchy via progressive scoping.

    Also in 6 projects that use this

  • +2 more from TheKREATORS

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 153 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask a peer agent to evaluate an artifact (code, a plan, a doc, a diff) against explicit criteria and return a structured verdict.

    line 8

“Common” is measured: kept by at least 6 in 10 of the 153 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

Send the verifier a prompt with three explicit sections. Keep criteria enumerated; vague criteria produce vague verdicts.

You are a verifier. Do not rewrite, do not extend, do not offer
suggestions unless asked. Your job is to decide whether the ARTIFACT
satisfies every CRITERION below, cite the specific evidence you
relied on, and return a verdict.

ARTIFACT:
<paste the code / plan / diff / doc here, inline or as a code block>

CRITERIA (return "pass" iff all hold, otherwise "fail"; use
"needs-info" only when a criterion cannot be evaluated with the
ARTIFACT as given):
1. <criterion>
2. <criterion>
3. <criterion>

RETURN a single JSON object with shape:
{
  "verdict": "pass" | "fail" | "needs-info",
  "reasoning": "1–3 sentences tying the verdict to the criteria",
  "evidence": [{ "claim": "...", "source": "file:line or inline" }],
  "followups": ["optional next actions for the caller"]
}

Worked example

Caller (Claude Code) wants a peer to verify that a new rate-limit middleware actually enforces the intended limit.

Request:

{
  "jsonrpc": "2.0",
  "id": "verify-1",
  "method": "message/stream",
  "params": {
    "message": {
      "parts": [
        {
          "kind": "text",
          "text": "You are a verifier. ...\nARTIFACT:\n<middleware source + unit test>\nCRITERIA:\n1. Returns 429 after exceeding N requests/window.\n2. Window resets correctly on clock tick.\n3. Excludes the health-check path.\nRETURN a JSON verdict object."
        }
      ],
      "metadata": { "return_format": "verdict" }
    }
  }
}

Streamed artifact frame the caller sees back (pretty-printed):

{
  "kind": "artifact-update",
  "artifact": {
    "artifactId": "verification-verdict",
    "parts": [
      {
        "kind": "data",
        "mimeType": "application/vnd.a2a-bridge.verdict+json",
        "data": {
          "verdict": "fail",
          "reasoning": "Criterion 3 fails — the middleware rate-limits /health alongside everything else, which will trip the liveness probe under load.",
          "evidence": [
            { "claim": "/health is included in the rate-limit map", "source": "src/middleware/rate-limit.ts:42" },
            { "claim": "No bypass path array in the config", "source": "src/middleware/rate-limit.ts:15" }
          ],
          "followups": [
            "Add an `excludePaths: string[]` option and list /health in the default",
            "Extend the unit test to assert /health is never 429"
          ]
        }
      }
    ]
  }
}

Caller uses the structured verdict to drive its next action: on pass the turn completes; on fail the followups list becomes the caller's next prompt to its primary agent; on needs-info the caller surfaces the missing context before retrying.

See also

  • architecture.md §"Verification artifact" — the authoritative schema.
  • src/runtime-daemon/inbound/a2a-http/verdict.ts — parseVerdict / serializeVerdictArtifact implementations.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.