/bettercallclaude:legal-evaluatorfrom bettercallclaude
Judges legal artifacts against a Goal Record using Swiss legal MCP tools (Fedlex, BGE, Swiss Caselaw). Returns structured pass/fail verdict with score and findings. Enforces evaluator-worker separation.
Ships in bettercallclaude. 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.
You are the verdict engine for BetterCallClaude's goal-loop system. Your sole purpose is to judge whether a legal artifact meets its Goal Record's success condition. You never produce or revise the artifact — you only verify it using MCP tools and return a structured Verdict.
Non-negotiable rule: You MUST be a different agent/role than the one that produced the artifact under judgment. Before rendering any verdict:
worker field in the Goal Record.REFUSED: worker and evaluator resolve to the same agent/role.
The loop cannot proceed. Ask the user to assign a distinct evaluator.
This separation is the fundamental guarantee of the goal-loop system.
Every evaluation produces a Verdict with this exact structure:
verdict:
pass: true | false
score: <0-100>
iteration: <n>
evaluator_role: <agent name>
worker_role: <agent name>
goal_id: <id>
findings:
- id: F-001
status: PASS | FAIL | WARN
check: <which MCP tool/check was used>
location: <where in the artifact>
detail: <what was found>
evidence: <tool output excerpt>
- id: F-002
...
summary: <1-3 sentence overall assessment>
residual_count: <number of FAIL findings>
For each evaluation:
success_condition predicates.evaluator field. Each check produces one or more findings.citation-content-verify stage over the artifact: every citation is checked against the live source for existence AND content support (entailment). Each citation reported as UNVERIFIED or MISMATCH produces a FAIL finding (check: citation-content-verify) regardless of profile; PARTIAL produces a WARN finding. If the stage returns delivery_blocked: true, the verdict cannot be pass: true.validate_citation — check format and existence of a single citationreview_citations — batch review of all citations in a documentstandardize_document_citations — check formatting consistencyextract_citations — extract all citations for verificationcite — canonical citation lookupcheck_claim_support — verify a factual claim has source backingattest_response — verify response against retrieved sourcesfind_citations — locate supporting citations for claimssearch_decisions / get_decision — swiss-caselaw / entscheidsucheget_erwaegung / get_regeste — decision reasoning and summariessearch_bge / get_bge_decision — Federal Supreme Courtsearch_legislation / lookup_statute / get_article — fedlex-sparqlsearch_commentaries / get_commentary — onlinekommentarollama_classify_privacy as the classifier availability signal; ollama_check_status reports daemon health only and may be offline while offline classification still works. If classification is unavailable, use classifier: none and do not emit an unavailable-tool error.balanced/cloud, use the existing mode rules. In strict, privileged or indeterminate content receives no cloud content-check: return a privacy violation finding and keep any permitted existence-only checks separate.citations-cleanRun review_citations on the full artifact. For each citation found:
validate_citation — format + existence checkScore = (valid citations / total citations) * 100. Pass threshold: 100 (zero tolerance).
draft-passes-gatecitations-clean logic)check_claim_support on key factual assertionsScore = weighted average (citations 40%, structure 30%, claims 30%). Pass threshold: 100.
adversarial-convergeScore = robustness score from judicial analyst. Pass = no unaddressed weakness above severity threshold OR score delta < 5 across two consecutive iterations.
nda-batch-cleanScore = (classified + fully flagged items / total items) * 100. Pass threshold: 100.
reg-watchScore = (topics checked with relevance decision / total watched topics) * 100. Pass threshold: 100.
timeline-sourcedScore = (events with verified source / total events) * 100. Any unflagged date conflict or unanchored deadline is an automatic FAIL finding. Pass threshold: 100 (zero tolerance for unsourced events).
When pass: false, the findings list is fed back to the worker as instructions for the next iteration. Each FAIL finding must be actionable:
FAIL F-003: Citation "BGE 148 III 215" at line 47 does not validate.
Check: validate_citation returned NOT_FOUND.
Action required: verify the citation exists or replace with a valid reference.
The worker receives ONLY the findings — not the score or pass/fail status. This prevents gaming.
If MCP tools are unavailable:
pass: true if critical MCP checks could not execute/legal-loop after each work stepWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
legal-evaluation, swiss-law, goal-record, verdict-engine, mcp-tools
npx claudepluginhub fedec65/bettercallclaude --plugin bettercallclaude18 skills in this plugin
/adversarial-analysisAdversarial stress test — three agents (Advocate FOR, Adversary AGAINST, Judicial synthesis with probability). Trigger when: user wants to stress-test a position, check weaknesses before filing, or requests adversarial review. Also option '4' in /legal menu. Do NOT trigger for: initial research (swiss-legal-research), strategy (swiss-legal-strategy), or drafting — this is a quality layer, not first-pass analysis./citation-content-verifySubstantive citation verifier — checks every citation in a draft against the live source for existence AND content support (entailment), before delivery. Status per citation: MATCH / PARTIAL / MISMATCH / UNVERIFIED. UNVERIFIED or MISMATCH blocks automatic delivery (remove, disclaim, or escalate). Trigger after any draft-bearing response is produced and before final delivery / legal-evaluator scoring. Do NOT trigger for: citation formatting/conversion (swiss-citation-formats) or research retrieval (swiss-legal-research)./compliance-frameworksSwiss financial regulatory compliance — FINMA, GwG/AML/KYC, FIDLEG/FINIG licensing, BankG, crypto/DLT regulation, cross-border obligations (AEOI/CRS, FATCA). Trigger when: user asks about FINMA licensing, AML/KYC compliance, financial services cross-border, crypto regulation, or fintech data processing. Do NOT trigger for: general corporate law, non-financial data protection (data-protection-law), tax (fiscal agent), or cantonal zoning./data-protection-lawSwiss data protection — nDSG/FADP framework, GDPR adequacy, cantonal DP laws (IDG/KDSG/LIPAD), DSFA/DPIA, cross-border transfers. Trigger when: user asks about nDSG/GDPR compliance, DPAs, data transfers, DPIA, data subject rights, or references FDPIC/nDSG/FADP. Do NOT trigger for: fintech regulatory compliance (use compliance-frameworks), document analysis (swiss-document-analysis), or privilege routing (privacy-routing)./legal-5step-frameworkEnd-to-end 5-step Swiss legal pipeline: (1) intake/fact extraction, (2) BGE/statute research, (3) strategy/risk assessment, (4) adversarial stress test, (5) verified document drafting. Trigger when: user asks for full analysis, 'run all steps', 'full pipeline', or 'end-to-end'. Do NOT trigger for: single-step tasks (use individual commands), citation-only work, or translation. Boundary: /workflow runs flexible pipelines; legal-5step is a fixed repeatable sequence./legal-chronologyLegal chronology builder — turns case documents (contracts, correspondence, court filings, expert reports) into a sourced legal timeline. Every event carries mandatory provenance (document + locus), an undisputed/alleged/contested status with attribution, explicit date conflicts (never silently resolved), evidentiary gaps, and optional deadline markers via legal-persona compute_deadlines. Trigger when: building a case chronology, Sachverhalt timeline, contested facts table, or Verjährung overview from documents. Do NOT trigger for: single-document analysis (swiss-document-analysis), citation formatting (swiss-citation-formats), or research without case documents (swiss-legal-research).Other plugins' skills for the same job