adversarial
Run three-agent adversarial analysis -- advocate builds the case, adversary challenges it, judicial analyst synthesizes
Iterate a worker-evaluator cycle against a Goal Record until the success condition is met or a stop limit is reached. The evaluator (a different agent than the worker) judges each iteration using MCP verification tools. Produces an auditable verdict trail and a final MET / NOT
> /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-loopContext preview
What this command does when you run it.
Iterate a worker-evaluator cycle against a Goal Record until the success condition is met or a stop limit is reached. The evaluator (a different agent than the worker) judges each iteration using MCP verification tools. Produces an auditable verdict trail and a final MET / NOT
description: "Iterate a worker-evaluator cycle against a Goal Record until the success condition is met or a stop limit is reached. The evaluator (a different agent than the worker) judges each iteration using MCP verification tools. Produces an auditable verdict trail and a final MET / NOT MET status." tools: - Read - Grep - Glob - Bash - WebSearch - WebFetch - mcp__plugin_bettercallclaude_bge-search__search_bge - mcp__bge-search__search_bge - mcp__plugin_bettercallclaude_bge-search__get_bge_decision - mcp__bge-search__get_bge_decision - mcp__plugin_bettercallclaude_entscheidsuche__search_decisions - mcp__entscheidsuche__search_decisions - mcp__plugin_bettercallclaude_fedlex-sparql__search_legislation - mcp__fedlex-sparql__search_legislation - mcp__plugin_bettercallclaude_fedlex-sparql__get_article - mcp__fedlex-sparql__get_article - mcp__plugin_bettercallclaude_fedlex-sparql__lookup_statute - mcp__fedlex-sparql__lookup_statute - mcp__plugin_bettercallclaude_legal-citations__validate_citation - mcp__legal-citations__validate_citation - mcp__plugin_bettercallclaude_legal-citations__standardize_document_citations - mcp__legal-citations__standardize_document_citations - mcp__plugin_bettercallclaude_legal-citations__extract_citations - mcp__legal-citations__extract_citations - mcp__plugin_bettercallclaude_onlinekommentar__search_commentaries - mcp__onlinekommentar__search_commentaries - mcp__plugin_bettercallclaude_swiss-caselaw__get_decision - mcp__swiss-caselaw__get_decision - mcp__plugin_bettercallclaude_swiss-caselaw__get_erwaegung - mcp__swiss-caselaw__get_erwaegung - mcp__plugin_bettercallclaude_swiss-caselaw__get_regeste - mcp__swiss-caselaw__get_regeste - mcp__plugin_bettercallclaude_swiss-caselaw__find_citations - mcp__swiss-caselaw__find_citations - mcp__plugin_bettercallclaude_swiss-caselaw__find_relevant_erwaegung - mcp__swiss-caselaw__find_relevant_erwaegung - mcp__plugin_bettercallclaude_swiss-caselaw__check_claim_support - mcp__swiss-caselaw__check_claim_support - mcp__plugin_bettercallclaude_swiss-caselaw__attest_response - mcp__swiss-caselaw__attest_response - mcp__plugin_bettercallclaude_swiss-caselaw__get_commentary - mcp__swiss-caselaw__get_commentary - mcp__plugin_bettercallclaude_swiss-caselaw__cite - mcp__swiss-caselaw__cite - mcp__plugin_bettercallclaude_ollama__ollama_check_status - mcp__ollama__ollama_check_status - mcp__plugin_bettercallclaude_ollama__ollama_classify_privacy - mcp__ollama__ollama_classify_privacy
You are invoked via `/bettercallclaude:legal-loop`. You run the worker-evaluator cycle against a confirmed Goal Record until the success condition is met, max iterations are reached, or a stop condition triggers.
**Output convention**: Write iteration verdicts to `bcc-output/loops/<goal-id>/iteration-<n>.md`, summary to `summary.md`, final artifact to `final/`. In chat, give the convergence summary and final MET/NOT MET status. See `skills/shared/SKILL.md`.
**Natural language equivalents**:
Before starting the loop, verify:
1. **Goal Record exists and is confirmed.** If not found or status is not `confirmed`, refuse:
ERROR: Goal Record <id> not found or not confirmed. Run /legal-goal to define and confirm a goal first.
2. **Worker-evaluator separation.** The evaluator agent/role MUST differ from the worker. If they resolve to the same agent:
REFUSED: worker and evaluator resolve to the same agent/role (<name>). The loop cannot proceed. Use /legal-goal to assign a distinct evaluator.
3. **Target artifact or context exists.** The inputs specified in the Goal Record must be accessible.
Run the local Ollama privacy classifier on any content that would be sent to cloud MCP tools in this iteration.
HALTED: Privacy violation detected. Privileged content (Anwaltsgeheimnis) would cross a boundary disallowed by strict mode. Loop stopped. Manual review required before proceeding.
The privacy check runs EVERY iteration, not just the first.
Invoke the worker agent/command to produce or revise the artifact.
The worker operates under all existing BetterCallClaude rules:
Invoke the evaluator (the `legal-evaluator` skill) which: 1. Runs the substantive citation gate (`citation-content-ver
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