No slash command · from archon-os
Provides independent verification of another agent's results using a cheap model. Runs a deterministic scope gate, then k=3 blind Haiku samples, with one evidence-only rebuttal round. Only lowers confidence, never raises it.
Ships in archon-os. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
AI-consumed reference. Optimized for Claude to read during execution.
FEAT-E. Grades a result produced by another agent. Hard constraints, all three non-negotiable:
constraints[3]{rule,why}:
Not the producer,"An agent asked to grade its own output agrees with itself — that is the failure this exists to catch"
No shared context,"Self-preference, familiarity and agreement bias all ride in on shared context"
One rebuttal; evidence only,"No open debate. Multi-round debate loses to majority vote and degrades with rounds (Choi et al. 2025, arXiv 2508.17536). The producer gets ONE reply (Step 3b), its prose is dropped, and a fresh blind judge decides"
The verifier may only ever LOWER confidence. SUPPORTED is advisory and
silences nothing, so a rubber stamp is a no-op, never an endorsement.
Always first. Costs nothing and catches the dominant defect class (a universal conclusion drawn from one instance).
echo '{"conclusion":"<the claim>","observation":"<raw tool output>",
"evidence":[{"probe":"<exact command>","outcome":"fail|pass"}]}' \
| node "${CLAUDE_PLUGIN_ROOT}/scripts/verify-claim.cjs" --gate
blocked: true → STOP. Return the verdict. Do not call a model. Report
verdict, reasons, alternative_causes, required_probes.model_calls_needed: true → continue to Step 1 with the blind_input and
verdict_schema the command printed.The gate never returns SUPPORTED — the best it says is "nothing deterministic
to flag".
Known false-positive class: a universal capability claim backed by documentation rather than by a probe ("X cannot be done, the docs say so") is blocked, because the gate counts probes, not citations. The fix is the same either way — cite the probe or narrow the claim — so it is left in rather than widened away.
Task(
subagent_type: "general-purpose",
model: "haiku", // aliases only: sonnet|opus|haiku|fable
prompt: VERIFIER_PROMPT + JSON.stringify(blind_input)
)
claude -p: a cold claude -p costs
$0.00996/call from the ~46K-token system-prompt cache write, versus
$0.00047 with --safe-mode --tools "" — a 21× spread. k=3 in-session
Haiku ≈ $0.0016, about 7% of one Sonnet pass.verdict_schema to --json-schema.
A bare {verdict: string} schema makes the model stuff a whole JSON document
into the field; the schema must carry enums and typed numbers.You are checking ONE claim against ONE body of evidence. You are not the author
and you will not be told who is. Do not debate, do not ask questions, do not
revise: emit one JSON object and stop.
1. From the observation and evidence ALONE, write the strongest statement the
evidence supports — before you look at the claim.
2. Compare the claim to that statement. If the claim is wider, say so.
3. A failure that already has a non-capability explanation (a limit flag, a
wrong name, a missing credential, a timeout) does NOT support a claim that
the capability is absent.
4. A claim may only be SUPPORTED if a DIFFERENT valid input of the same class
was also probed. If it was not, the verdict is CANNOT_CHECK.
5. List everything you could not check in checks_not_possible. Never leave it
empty just because you found nothing — say what you could not reach.
verdict: SUPPORTED | OVERGENERALIZED | WRONG_CAUSE | UNDERSPECIFIED | REFUTED |
CANNOT_CHECK
Confidence is not requested. If the model emits one it is discarded.
echo '{"gate":<gate output>,"priorConfidence":"HIGH","samples":[<k samples>]}' \
| node "${CLAUDE_PLUGIN_ROOT}/scripts/verify-claim.cjs" --aggregate
confidence comes from the modal-verdict fraction over k samples
(3/3 → HIGH, 2/3 → MEDIUM, split → LOW + CANNOT_CHECK) and is then
clamped to at most the prior. A two-way split between an endorsement and an
adverse finding resolves adverse.
Pass the threshold, or hit the retry cap and escalate to a human.
Optimizing a confidence score is reward hacking: the agent learns to satisfy the verifier instead of being right.
echo '{"attempt":1,"probe_ledger":["claude -p \"/run\""],
"new_probe":"claude -p \"/archon-os:run\""}' \
| node "${CLAUDE_PLUGIN_ROOT}/scripts/verify-claim.cjs" --retry
allowed: false, reason: "no_new_evidence" → the retry is a rewording; do not
run it. escalate_to_human: true → the loop cap is reached: stop and ask the
human. Do not re-run the verifier.
An adverse verdict goes back to the producer once, as {verdict, reasons, required_probes} only. The verifier's
identity and its samples are not included. The producer replies with exactly one of:
actions[3]{action,effect}:
concede,"Round-1 verdict is final"
narrow_claim,"`narrowed_claim` is re-gated, then fresh samples are drawn"
new_evidence,"`probes[]` that were not run before are merged into the evidence; repeats are refused (no_new_evidence)"
echo '{"claim":<original claim>,"round1":<aggregate verdict>,"attempt":1,
"probe_ledger":[...],"rebuttal":{"action":"new_evidence","probes":[{"probe":"<cmd>","outcome":"pass"}]}}' \
| node "${CLAUDE_PLUGIN_ROOT}/scripts/verify-claim.cjs" --rebuttal
allowed: true → draw k fresh Haiku samples on the printed blind_input. They never see round 1, the
argument or the producer. Then --aggregate with "round1_verdict" and "rebuttal_action". That appends the
flip to .claude/logs/verifier-debate.jsonl (override with ARCHON_DEBATE_LOG).allowed: false → the round-1 verdict stands (final), or escalate_to_human.argument text is discarded by the script. Persuasion is the channel sycophancy rides on.
outcome must be pass|fail, and a probe with any other value is dropped. observation is cut to 2000 chars.
It is the one remaining free-text channel, so fill it with captured tool output, never with the producer's words.ARCHON_VERIFIER_LOOP_CAP, shared with Step 3 retries, and it applies to every action. The script is
stateless, so "one round" holds only if the caller passes the real attempt. A malformed attempt exits 2.Peer challenge (cross-debate). When two agents produce results in parallel, each may challenge the other once,
with a counter-probe: a command plus its outcome. That probe enters the other result's evidence through the
same --rebuttal/new_evidence path, and the blind judge decides. A peer never casts a verdict, because a producer
grading a producer is the bias this skill exists to remove.
Earn its place: if the flip log shows round 2 overturning correct round-1 verdicts more often than it fixes wrong ones, turn the round off. Measure it; don't argue it.
config[3]{env,default,meaning}:
ARCHON_VERIFIER_K,3,independent samples per verdict
ARCHON_VERIFIER_THRESHOLD,0.67,modal fraction an adverse verdict needs to block
ARCHON_VERIFIER_LOOP_CAP,2,retries before a human is asked
ARCHON_CLAIM_GATE=false disables the PostToolUse scope gate only; the explicit
--gate / --aggregate path stays available.
SUPPORTED means "nothing found", never "correct":
verifiers certify reliably only on easy problems, and the
generation–verification gap is smallest in exactly this weak-verifier /
strong-generator corner.node archon-os/scripts/verifier-corpus-eval.cjs scores the labelled corpus in
archon-os/scripts/verifier-corpus/claims.json and derives whether the cheap
model has earned the right to replace the predecessor verification technique.
Today: keep the predecessor — the model arm is unmeasured and 20 referencing
files remain. Run the script; do not re-state its numbers from memory.
What SKILL.md sets; muted values are Claude Code's defaults
a result carries a conclusion (test/coverage claim, security finding, capability claim, 'X does not work'), before an approval gate, before a handoff, reason: verify, second opinion, independent check
lownpx claudepluginhub nguyenthienthanh/archon --plugin archon-os45 skills in this plugin
/agent-detectorCRITICAL: MUST run for EVERY message. Detects agent, complexity, AND model automatically. Without this, tasks route to wrong agents and use wrong models, degrading quality and wasting tokens./api-designerDesigns RESTful APIs with endpoint naming, versioning strategies (URL path, header-based), pagination (offset and cursor), error response schemas, and OpenAPI conventions. Use when the user asks about REST API design, creating endpoints, URL structure, API versioning, status codes, Swagger, or OpenAPI specs./bugfix-quickFast bug fixes with root cause investigation + TDD. Enforces 'no fix without root cause' discipline and verification protocol. Without this skill, fixes are applied at symptoms instead of sources, and bugs return./chain-of-verificationDraft → generate verification questions → answer independently via tools → revise. Catches hallucinated facts in reports and reviews. MANDATORY for Phase 4 security/test claims. Paper: Dhuliawala et al. 2023./code-mapReverse-dependency lookup — "I am about to change this file, what breaks?" Use when assessing the blast radius of an edit, finding every importer of a module (including the ones that never name it), or checking what the startup code-map digest was derived from. Not for finding text: grep is better at that./code-reviewer8-aspect evidence-based code review/audit (security, correctness, compatibility, architecture, error handling, test gaps, type safety, simplicity) built on Google eng-practices, OWASP Top 10:2025, CWE Top 25, SemVer. Every finding needs file:line + a concrete failure scenario. Use when the user asks to review/audit code, check a PR, review before merge, in TDD Phase 4, via /check review or /run review.Other plugins' skills for the same job