/berean:bereanfrom Berean
Builds, verifies and evaluates evidence-backed protocol-agent releases: pins document corpora by digest, proves citations as exact bytes, binds live values to chain blocks, and grades recorded answers against an evaluation corpus.
Ships in Berean. 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.
Read when SKILL.md points to them.
In Acts, the Bereans receive a claim and check it against the scriptures each day to see whether it is so. The habit this skill enforces is the same one: return to the named source before accepting the answer.
Berean pins the corpus, chain reads, recorded answers and evaluation needed to check a grounded protocol-agent release without rerunning its model.
Current frontier. The reference release answers against a frozen demonstration corpus and preserved Aave v4 mainnet reads; no release yet cites live Wildcat documentation or a captured Wildcat market read, and no Ariadne statement binds a berean release.
Ariadne now ships a checked statement over the fixed Berean demonstration release, so the frontier's claim that no Ariadne statement binds a berean release is out of date. Berean's ledger keeps that sentence until its held Wildcat reference release job completes.
Lemma can prepare source-linked material for the pinned corpus, and Lazarus can preserve historical chain evidence. Berean owns neither operation: it checks the release assembled from those inputs, grades its recorded answers, and keeps promotion and rollback as records. Ariadne may bind the resulting release to its evidence after Berean has finished.
Synkrisis compares validated observations from several agent runs through four shipped operations. It does not grade recorded answers, infer model quality, or change Berean's release gates.
Berean owns its own release frontier, not Hexaemeron's delivery frontier and not Ariadne's predicate frontier. Its version, held target, next job and maturity state live in EVOLUTION.md. Do not recommend or run another frontier pass after that ledger becomes mature.
A Berean release is a directory holding five kinds of document, each a versioned JSON format with a closed field table:
| Document | Format | Carries |
|---|---|---|
| corpus manifest | berean-corpus/v1 | one entry per pinned file with bytes and sha256, and a corpus digest over the sorted listing |
| answer record | berean-answer/v1 | classified sentences, citations, chain reads, time domains, or a refusal naming its boundary |
| eval case | berean-eval-case/v1 | a question, its expected evidence shape and its grader |
| release manifest | berean-release/v1 | corpus, reads, rules, question families, refusal conditions, eval references, retention declaration and the release digest |
| promotion record | berean-promotion/v1 | which evaluation, thresholds and results made a release active; rollback is a record naming the restored release |
Chain evidence arrives as preserved read records in the Lazarus record shape, held by recomputed request keys. Berean never fetches; a value with no chain and block is not evidence.
Run everything from $PLUGIN_ROOT with the exact interpreter in the suite
pin and
no other dependency:
python3 scripts/berean.py build-corpus <tree> --out <manifest>
python3 scripts/berean.py verify-corpus <manifest> --root <tree>
python3 scripts/berean.py check-citation <citation> --corpus <manifest> --root <tree>
python3 scripts/berean.py check-answer <answer> --release <dir>
python3 scripts/berean.py verify-release <dir>
python3 scripts/berean.py run-evals <dir> [--out <report>]
python3 scripts/berean.py export-cases <dir> --out <file>
python3 scripts/berean.py promote <dir> --report <report>
python3 scripts/berean.py rollback <dir> --to <release-digest> --reason <text>
python3 scripts/berean.py promotion-chain <dir>
Exit 0 means every named check passed. Exit 1 names the first failing check. Exit 2 is a usage or validation error. Builders refuse to write an artefact that fails its own validation; nothing repairs on the way through.
verify-release reports each of these by name, pass or fail, and run-evals
grades recorded answer documents against the same rules:
document, chain_read,
calculation or user_supplied. An unclassified assertion fails, and a
user_supplied sentence names the spans of the recorded question it
rests on.Pin a documentation tree and prove a quote:
python3 scripts/berean.py build-corpus docs/ --out corpus-manifest.json
python3 scripts/berean.py check-citation quote.json --corpus corpus-manifest.json --root docs/
Verify the shipped reference release and its evaluation record offline:
python3 scripts/berean.py verify-release examples/aave-v4-demo-v0/release
python3 scripts/berean.py run-evals examples/aave-v4-demo-v0/release
Export the evaluation cases for an external runner in the Agent Skills case shape:
python3 scripts/berean.py export-cases examples/aave-v4-demo-v0/release --out cases.json
If a build, verification, evaluation or test did not run, say so plainly and do not describe it as successful.
berean-corpus/v1 manifest, per-file byte counts and SHA-256 digests, recomputed corpus digest and passing verify-corpus result.check-answer establishes that every factual sentence in the recorded answer has an allowed source class and that each citation, chain read, conflict or refusal satisfies the named release rules.berean-answer/v1 record, verified release and corpus, byte-exact citation slices, recomputed Lazarus request keys, time-domain conflicts and refusal rules.check-answer against the same release.run-evals recomputes the named evaluation cases against the verified release and records their grader results without running a model.promote or rollback appends a record binding the selected release digest to the exact evaluation report, thresholds, result and operator-requested transition.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub wildcat-finance/skills --plugin bereanOther plugins' skills for the same job