/verification-foundation:output-scoring-enfrom verification-foundation
Scores the quality of an AI legal output before it goes out, in two layers: objective (mechanically checkable - do the citations exist, are the provisions and dockets real) and subjective (LLM-as-judge on a 1-5 rubric: legal correctness, completeness, clarity, jurisdiction fit, grounding/anti-hallucination). Returns a scorecard and a decision: send / revise / full verification. A layer above the deliverable - it does not write, it scores. Jurisdiction-neutral. Pairs with reviewer-en, adversarial-legal-review-en and legal-syllogism-en. Use when: "score this output", "is this ready to send", "quality of this legal answer", "scorecard for the deliverable", "rubric check" - before sending an opinion, memo, or brief.
Ships in verification-foundation. 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.
Before you send it, score it - and keep what is checkable apart from what must be judged. An AI output can read smoothly and still be wrong. This skill scores it in two layers: objective (facts you can verify mechanically) and subjective (quality you have to judge against an explicit rubric). Mixing the two is where false confidence comes from - "sounds right" is not "the citations check out".
It scores; it does not write or send. The decision is the lawyer's; the scorecard is the basis.
Delegate, do not guess:
The objective result is binary per item: matches / does not. Even one mismatched citation means the output is not ready, whatever the subjective score.
Score each dimension 1-5 with a one-sentence reason:
| Dimension | 1 | 5 |
|---|---|---|
| Legal correctness | thesis wrong or unsupported | thesis sound and grounded in the rule |
| Completeness | omits material issues | covers everything material to the question |
| Clarity | muddled, inconsistent | precise, readable for the reader |
| Jurisdiction fit | confuses systems/rules | correct for the governing law |
| Grounding (anti-hallucination) | claims with no basis | every claim has a basis |
When the judge has no basis for a number, it does not invent one. Instead of a forced 3 it writes UNCERTAIN, with a subcategory and a note on what evidence is missing:
Hard rules:
"AI that knows what it does not know" as a field on the scorecard, not a claim about it.
A score card is often issued twice: once on the first pass, once after revisions. The second pass is where scores quietly rise, because the author now knows the charges and can argue around them. Two hard rules.
Monotonicity. A re-score may lower the decision at any time, for any reason. Raising it requires new evidence, not new argument. New evidence means Layer 1 re-run with a different result, or material that was not in the session before (the judgment finally supplied, the contract finally attached). "On reflection this is good enough" is not evidence and does not move the score.
Anchors. While any of the following is open, the decision cannot rise above Full verification, whatever the subjective average says:
Only re-running the tool that set an anchor can clear it. A judge's opinion cannot. Same rule
agentic-risk-asi-pl applies to finding severity: direct evidence is not negotiable.
Record every blocked attempt to raise the score. Seeing who tried to move the verdict, and on what argument, is often worth more than the verdict.
LAYER 1 (objective): citations OK/X | provisions OK/X | dockets OK/X | completeness OK/X
LAYER 2 (1-5 rubric):
Legal correctness: 4 - <reason>
Completeness: 3 - <...>
Clarity: 5 - <...>
Jurisdiction fit: UNCERTAIN (INSUFFICIENT_EVIDENCE) - the output rests on a judgment whose
text is not in the session; missing: the reasoning as handed down
Grounding: 4 - <...>
Average: 4.0 (from 4 numeric dimensions; UNCERTAIN outside the average)
ANCHORS: none (or: citation [2019] UKSC 12 unmatched - decision capped at Full verification)
DECISION: Revise (Completeness 3 - limitation period not addressed)
On a re-score, add one line:
RE-SCORE #2: Revise -> Revise. Raise to Send rejected: argument only, Layer 1 not re-run.
Two-layer method (objective matching + a subjective LLM-as-judge rubric on a 1-5 scale) based on DISC-Law-Eval from DISC-LawLLM (Fudan DISC Lab), Apache-2.0. Exam data and judge model dropped; rubric dimensions, thresholds and framing are MateMatic's own. MateMatic interpretation, not the position of any bar or regulator.
These rules apply to every skill in this plugin, including where the skill itself is silent. They are copied into each skill, so they hold whether you install the whole plugin or a single skill.
If an error would pass without being stopped by layers 1-5, the fault is in the skill. Fix the tool, do not add a note. "This is not legal advice" stops no error and transfers no responsibility.
(GDPR Art. 6), (Case C-311/18, CJEU).[check on EUR-Lex].The tag sits next to the line it concerns. A case number that exists is not enough - check the content.
Nothing is sent, filed, signed or published before a qualified person checks and approves it. A skill output is a draft, not a finished document.
The verification foundation is jurisdiction-neutral - the method, not the substance of any one legal system. It connects to no external source (no MCP connectors) and makes no outbound calls of its own; what you type still goes to your configured model (see https://github.com/matematicsolutions/awesome-matematic-skills-en/blob/main/TRUST.md). Substance comes from separate plugins (eu-law-sources). Deep national law (e.g. Polish case law) lives in the Polish marketplace, by design.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub matematicsolutions/awesome-matematic-skills-en --plugin verification-foundation10 skills in this plugin
/adversarial-legal-review-enA red team for a high-stakes deliverable - takes a finished, high-stakes document (a legal opinion, a DD/M&A memo, a court/board submission, a recommendation) and runs an adversarial debate: a builder constructs the strongest version of the thesis, an attacker tears it apart with counter-arguments and contrary authority, a synthesizer reconciles, a verifier does a final check. Goal: find the weakness BEFORE your opponent, the court, or the client does. Cost-gated - for high-stakes work only, not every query (token-expensive). Use when: "attack this opinion", "red team", "devil's advocate for this document", "find the weaknesses", "stress-test the argument", "what will the other side say", "pre-mortem", "defend this thesis", "adversarial review", verifying a high-stakes deliverable before it goes out. English counterpart of adversarial-legal-review-pl (this version drops the Polish case-law layer and is jurisdiction-agnostic).
/citation-extraction-enExtracts the legal citations from an English-language text by pattern and rule, with no LLM in the extraction step, so the same text yields the same list every run - ECLI (CJEU and national), EU act identifiers (CELEX, Official Journal references, Regulation and Directive numbers), case names, and cited provisions (Article/section). It then normalises, deduplicates and resolves short references (ibid., id., supra, op. cit., the above-cited judgment) to their antecedent. The front end to verification: collect what is cited, then check it. Unusual or malformed citation formats can still be missed, so treat the output as a working list rather than a guarantee. Jurisdiction-neutral, EU-aware. Use when: "list every citation in this text", "what authorities are cited", "extract the provisions", "pull the case references", "what is cited here" - before verification or before sending.
/clause-checklist-enA clause checklist for a single contract - walks the contract against 41 clause categories (the CUAD taxonomy), assesses which of them this deal needs, and marks each applicable one present / absent / risky, so the clause that should be there but is missing does not slip through. Extractive (quotes the contract, does not paraphrase). Common-law native, jurisdiction-neutral framing. Different from a bulk audit - this goes deep on one contract and asks "what is missing and what bites here". Pairs with adversarial-legal-review-en and reviewer-en. Use when: "check the clauses in this contract", "what is missing from this agreement", "clause spotting", "contract checklist", "review a single contract", "which clauses are risky" - before signing, in negotiation, or in DD of one contract.
/deliverable-fidelity-enChecks whether the final document still carries what the analysis actually found. Takes the list of findings with their severities and the finished deliverable, runs a mechanical coverage check with a bundled zero-dependency script, then an LLM spot-check on the RED findings for tone-downgrading, and returns a deterministic verdict PASS / CONDITIONAL_PASS / FAIL from published weights and thresholds. An omitted RED finding blocks. The third axis of verification, next to citation checking (are the sources real) and adversarial review (does the thesis hold): this one asks whether the summary is faithful to the analysis. Jurisdiction-neutral. Use when: "does the summary cover everything", "did anything drop out of the executive summary", "fidelity check", "is the deliverable faithful", "check the memo against the findings" - before sending any document that summarises a longer analysis.
/intake-sufficiency-enScores whether an instruction or brief is complete enough to start work on. Before any legal analysis begins, checks that the purpose, scope, parties, facts, constraints and success criteria are actually present; lists the gaps and ambiguities; turns each gap into a question ready to send to the client; and drafts the skeleton of a matter card. Separates the client's legal assertions from facts and marks them for verification. The mirror of legal-request-router-en: the router decides what control the OUTPUT needs, this decides whether the INPUT is enough to begin. Jurisdiction-neutral. Use when: "do I have enough to start", "score this brief", "what is missing from this instruction", "what should I ask the client", "is this instruction complete", "gaps in the brief", "intake" - at the start of a matter, after first contact, after an intake call.
/judicial-first-impression-enAssesses a legal submission or structured argument from the perspective of a judge reading it COLD, under time pressure, with a docket of several hundred cases. Returns a structured seven-part assessment: what the case appears to be about, immediate points of confusion, what feels strong, what feels weak, what is assumed but unproved, a provisional confidence level (low/medium/high), and what would be needed to persuade. The skill does NOT rewrite, does NOT improve and does NOT attack the submission - it tells you how it actually LANDS on an experienced, sceptical reader with no prior context. Works on statements of claim, appeals, skeleton arguments, motions, position statements, pre-action letters and any structured reasoning. Use when: "how will the court read this", "first impression", "is this clear to the judge", "cold reader test", "how does this land", before filing a court submission.