adversarial
Run three-agent adversarial analysis -- advocate builds the case, adversary challenges it, judicial analyst synthesizes
Define a checkable legal success condition for /legal-loop. Accepts a named profile (citations-clean, draft-passes-gate, adversarial-converge, nda-batch-clean, reg-watch, timeline-sourced) or free-text objective. Produces a persisted Goal Record — never starts work itself.
> /plugin marketplace add fedec65/bettercallclaude > /plugin install bettercallclaude@bettercallclaude-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
/legal-goalContext preview
What this command does when you run it.
Define a checkable legal success condition for /legal-loop. Accepts a named profile (citations-clean, draft-passes-gate, adversarial-converge, nda-batch-clean, reg-watch, timeline-sourced) or free-text objective. Produces a persisted Goal Record — never starts work itself.
description: "Define a checkable legal success condition for /legal-loop. Accepts a named profile (citations-clean, draft-passes-gate, adversarial-converge, nda-batch-clean, reg-watch, timeline-sourced) or free-text objective. Produces a persisted Goal Record — never starts work itself." tools: - Read - Grep - Glob - Bash - WebSearch - WebFetch - mcp__plugin_bettercallclaude_swiss-caselaw__search_decisions - mcp__swiss-caselaw__search_decisions - mcp__plugin_bettercallclaude_fedlex-sparql__search_legislation - mcp__fedlex-sparql__search_legislation - mcp__plugin_bettercallclaude_legal-citations__validate_citation - mcp__legal-citations__validate_citation
You are invoked via `/bettercallclaude:legal-goal`. Your sole purpose is to produce a confirmed, persisted **Goal Record** that `/legal-loop` can evaluate against. You NEVER start work or execute the loop yourself.
**Output convention**: Write Goal Records to `bcc-output/goals/<id>.md`. Give in chat the full Goal Record for user confirmation. See `skills/shared/SKILL.md`.
**Natural language equivalents**:
1. **Parse input**: determine if the user provided a named profile or free-text. 2. **Profile lookup**: if a named profile, load the corresponding template (see Profiles section below). 3. **Free-text translation**: if free-text, translate it into a structured Goal Record:
4. **Assemble Goal Record** with all fields populated. 5. **Persist**: write to `bcc-output/goals/<id>.md` in the working folder. If no folder is connected, hold in session and warn: *"No shared folder connected. Goal Record will not survive this session."* 6. **Confirm**: echo the full Goal Record back to the user. Ask for confirmation. Do NOT start any work.
--- id: goal-<timestamp>-<slug> title: <human-readable title> profile: <profile name or "custom"> created: <ISO 8601> status: defined --- ## Success Condition <checkable predicates, expressed so the evaluator returns binary pass/fail> ## Configuration - **Worker**: <agent/command that does the work> - **Evaluator**: <judge agent — MUST differ from worker> - **MCP checks**: <authoritative tools the evaluator will use> - **Max iterations**: <N> - **Stop on**: max iterations reached | no-progress (2 consecutive iterations without score improvement) | privacy violation - **Privacy mode**: <strict | balanced | cloud> ## Inputs - **Target**: <document path(s) or matter context> - **Context**: <additional context from user> ## Acceptance When the evaluator returns `pass: true` with score 100 (or profile-specific threshold), the goal is MET.
| Field | Value | |-------|-------| | Worker | The drafting agent / whoever produced the document | | Evaluator | `citation-specialist` | | Success condition | Every citation validates via `validate_citation` / `review_citations`; every citation string traces to a retrieval tool result (R1); every quotation traces verbatim to a source field (R2); zero unresolved or malformed references | | MCP checks | `validate_citation`, `review_citations`, `extract_citations` | | Max iterations | 5 |
| Field | Value | |-------|-------| | Worker | `swiss-legal-drafter` (or via `/draft`) | | Evaluator | `swiss-judicial-analyst` | | Success condition | All citations valid (reuse citations-clean); required Gutachten/Erwagung structure present; all playbook-mandated clauses present; no claim unsupported per `check_claim_support` | | MCP checks | `validate_citation`, `review_citations`, `check_claim_support` | | Max iterations | 5 |
| Field | Value | |-------|-------| | Worker | `swiss-legal-advocate` (strengthens the position) | | Evaluator | `swiss-legal-adversary` + `swiss-judicial-analyst` | | Success condition | No unaddressed weakness above severity threshold remains, OR judicial score stabilises across two consecutive iterations (delta < 5) | | MCP checks | Source retrieval tools for counter-argument verification | | Max iterations | 5 |
| Field | Value | |-------|-------| | Worker | `nda-triage` over a folder | | Evaluator | Triage-completeness check (via `swiss-judicial-analyst`) | | Success condition | Every document classified GREEN/YELLOW/RED AND every deviation mapped to a playbook threshold; zero unclassified, zero unflagged off-threshold clause | | MCP checks | Document verification against playbook thresholds | | Max iterations | 3 |
| Field | Value | |-------|-------| | Worker | Query step against Fedlex / swiss-caselaw for changes on watched topi
A powerful plugin for Claude Cowork Desktop, designed specifically for Swiss legal professionals. 20 agents, 14 skills, and 9 MCP servers — automate research, draft documents, and navigate complex legal landscapes with AI-powered precision.
Repo: fedec65/bettercallclaude
Run three-agent adversarial analysis -- advocate builds the case, adversary challenges it, judicial analyst synthesizes
Structured pre-execution briefing session -- collects case context through specialist panel, builds execution plan, supports resume and depth control
Analyze cantonal law for all 26 Swiss cantons -- cantonal court decisions, cantonal legislation, procedural specifics, and interaction with federal law
Validate, format, and look up Swiss legal citations including BGE/ATF/DTF decisions and statutory references
Create a reusable custom workflow by combining BetterCallClaude agents. Interview-based: pick agents, order them, define the output. Saved for future use with…
Analyze Swiss legal documents -- identify legal issues, extract key clauses, verify citations, and assess compliance