Verify an agent's outputs before delivery: calibrated confidence scoring, source-hierarchy claim checks, self-challenge contradiction detection, and risk-based human gates. Use before shipping any agent-produced answer, report, recommendation, or plan where being wrong has a real cost.
./install.sh output-verificationname: "output_verification" description: "Verify an agent's outputs before delivery: calibrated confidence scoring, source-hierarchy claim checks, self-challenge contradiction detection, and risk-based human gates. Use before shipping any agent-produced answer, report, recommendation, or plan where being wrong has a real cost."
Agents ship fluent, confident outputs by default. Fluency is not evidence. This skill is the pre-delivery discipline that turns "the model said it confidently" into "the claim survived verification." It gives you four mechanics that combine into a gate decision: triage by risk, challenge by self-attack, verify by source hierarchy, and calibrate confidence honestly.
Run these in order. Stop early only at the risk tier's exit gate (step 1); never skip a tier's required checks.
Classify the output before spending effort. Three tiers:
| Tier | What it covers | Cost of being wrong | |---|---|---| | Low | Internal scratch, drafts, brainstorming, reversible suggestions | A few minutes of redo | | Medium | User-facing summaries, recommendations, code review notes, published-but-correctable content | Reputation damage, rework, misled decisions | | High | Money movement, legal or medical claims, irreversible actions, anything published under someone else's name, security decisions | Real harm |
Effort follows risk: Low gets a skim of step 2 only. Medium gets steps 2 and 3. High gets all four steps and a human gate (step 5).
Assume the output is wrong, then explain how. Gary Klein's premortem research (HBR, 2007, building on Mitchell, Russo & Pennington 1989) shows imagined hindsight surfaces failure reasons that forward-looking "what could go wrong?" misses.
Every factual claim gets an evidence grade based on where it came from, strongest first:
Verification moves (adapted from Mike Caulfield's SIFT method):
Apply the consistency-sampling test (the SelfCheckGPT pattern, Manakul et al., EMNLP 2023) to anything you cannot verify externally: ask the same question 3 times in fresh contexts and compare the facts. Consistent facts across samples are probably stable knowledge. Facts that drift or contradict across samples are probably fabricated. Drift is a red flag even when each sample sounds confident.
Score confidence per claim, not per answer. One wrong load-bearing claim sinks the whole output.
See references/calibration-notes.md for the research backing and worked examples.
Combine risk tier and honest confidence into a decision. Use bin/gate_decide.py for the mechanical version:
| Risk \ Confidence | High (verified) | Medium (one source) | Low (unverifiable) | |---|---|---|---| | Low | Ship | Ship | Ship with caveat | | Medium | Ship | Ship with caveat | Re-verify or downgrade to opinion | | High | Ship, still disclose key evidence | Human gate | Human gate or abstain |
Hard rules:
Every verified output ships with a short verification note (a few lines, or a comment block for code):
Verification: risk=<low|medium|high>
Checks run: self-challenge, source-hierarchy, consistency-sampling (as applicable)
Claims: N total, N verified to primary, N to secondary, N unverifiable (downgraded to opinion)
Confidence: <per load-bearing claim, calibrated>
Decision: ship | ship-with-caveat | human-gate | abstain
Residual risk: <what could still be wrong, in one line>
If the human gate fires, the note is addressed to the human with the specific question that needs their judgment, not a vague "please review."
publisher key 2e43c913833850e6d80f939677e3de76e806d47785c0f1caaca90f9d18c98e1e
No ratings yet — be the first to rate it.