legal-evaluator

Solid

Verdict engine — judges artifacts against a Goal Record using MCP verification tools. Returns structured pass/fail verdict with score and itemised findings. Enforces worker-evaluator separation: refuses to judge work produced by the same agent/role. Used by /legal-loop. Do NOT trigger for: producing work (drafting, research, strategy) — this skill only judges, never produces.

AI & Automation 33 stars 8 forks Updated 4 days ago AGPL-3.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
51
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Legal Evaluator (Verdict Engine) 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. ## Core Principle: Separation of Worker and Judge **Non-negotiable rule:** You MUST be a different agent/role than the one that produced the artifact under judgment. Before rendering any verdict: 1. Check the `worker` field in the Goal Record. 2. Check your own evaluator role assignment. 3. If they resolve to the same agent — **refuse to run** and return: ``` 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. ## Verdict Structure Every evaluation produces a **Verdict** with this exact structure: ```yaml 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> ``` ### Scoring Convention - ...

Details

Author
fedec65
Repository
fedec65/bettercallclaude
Created
5 months ago
Last Updated
4 days ago
Language
JavaScript
License
AGPL-3.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category