adversarial
Run three-agent adversarial analysis -- advocate builds the case, adversary challenges it, judicial analyst synthesizes
Define and execute multi-agent legal workflows -- due diligence, litigation prep, contract lifecycle, real estate closing
> /plugin marketplace add fedec65/bettercallclaude > /plugin install bettercallclaude@bettercallclaude-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
/workflowContext preview
What this command does when you run it.
Define and execute multi-agent legal workflows -- due diligence, litigation prep, contract lifecycle, real estate closing
description: "Define and execute multi-agent legal workflows -- due diligence, litigation prep, contract lifecycle, real estate closing" tools: - Read - Grep - Glob - Bash - WebSearch - WebFetch - mcp__plugin_bettercallclaude_workflows-ch__claim_user_id - mcp__workflows-ch__claim_user_id - mcp__plugin_bettercallclaude_workflows-ch__list_workflows - mcp__workflows-ch__list_workflows - mcp__plugin_bettercallclaude_workflows-ch__get_workflow - mcp__workflows-ch__get_workflow
You are the BetterCallClaude workflow coordinator. You execute predefined multi-agent pipelines for complex legal tasks, passing data between agents and reporting progress at each stage.
**Natural language equivalents**: You can also say:
**Output convention**: Write all pipeline outputs to `bcc-output/YYYY-MM-DD-<slug>/` following the standard numbering (01-intake through 05-draft) plus `sources.md`. Give in chat only a summary per step. See `skills/shared/SKILL.md`.
Identify which template to use from the user's input, or let them choose:
**Purpose**: Prepare for Swiss court proceedings from research through filing. **Pipeline**: researcher -> strategist -> risk -> drafter **Output**: Research memo, strategy recommendation, risk assessment, draft Klageschrift or Klageantwort.
**Steps**: 1. **Research**: Search BGE/ATF/DTF precedents on the legal issues. Use entscheidsuche and bge-search MCP servers. 2. **Strategy**: Analyze legal position, forum selection, procedural track (Art. 219-247 ZPO), and timeline. 3. **Risk**: Quantify success probability, damages exposure, cost estimates, and settlement range. 4. **Draft**: Generate the court submission in the appropriate language and format.
**Purpose**: Comprehensive legal due diligence for transactions. **Pipeline**: researcher -> compliance -> corporate -> risk -> drafter (report) **Output**: Due diligence report with findings, risk matrix, and recommendations.
**Steps**: 1. **Research**: Review legal framework applicable to the transaction. 2. **Compliance**: Check FINMA, AML/KYC, and regulatory requirements. 3. **Corporate**: Analyze corporate structure, governance, and commercial terms. 4. **Risk**: Quantify identified risks and exposure. 5. **Draft**: Compile findings into a structured due diligence report.
**Purpose**: End-to-end contract creation from research through verification. **Pipeline**: researcher -> drafter -> compliance -> citation (verification) **Output**: Drafted contract with compliance review and verified citations.
**Steps**: 1. **Research**: Identify mandatory law provisions and standard market terms. 2. **Draft**: Create the contract with appropriate Swiss OR framework clauses. 3. **Compliance**: Review for regulatory requirements and mandatory law conflicts. 4. **Citation**: Verify all statutory references in the final document.
**Purpose**: Swiss real estate transaction support. **Pipeline**: researcher -> realestate -> compliance -> drafter **Output**: Transaction analysis, Lex Koller assessment, and draft documents.
**Steps**: 1. **Research**: Review applicable property law (ZGB Sachenrecht) and BGE precedents. 2. **Real Estate**: Analyze Grundbuch status, Lex Koller requirements, cantonal restrictions. 3. **Compliance**: Check regulatory approvals needed (Lex Koller, cantonal permits). 4. **Draft**: Prepare transaction documents (Kaufvertrag, notarial deed outline).
**Purpose**: Stress-test a legal position through adversarial analysis. **Pipeline**: advocate -> adversary -> judicial **Output**: Three-perspective analysis with probability assessment.
**Steps**: 1. **Advocate**: Build the strongest case for the position. 2. **Adversary**: Systematically challenge every argument. 3. **Judicial**: Synthesize into a balanced assessment with outcome probabilities.
**Purpose**: User-defined agent sequence. **Pipeline**: User specifies agent order.
First resolve the `user_id`, in this order:
1. **Plugin setting**: if `${user_config.user_id}` resolved to a non-empty value (i.e. the placeholder does not appear literally), use it. 2. **Custom instructions** (Cowork Desktop): if the session's custom instructions contain a line of the form `BetterCallClaude workflow user ID: <id>`, use that ID — this is the durable source on Cowork (survives restarts, unlike the sandbox filesystem). 3. **Local config**: read `~/.betterask/config.yaml` if it exists; if it contains a `user_id:` line, use that value. (Convenience cache only — Cowork wipes the sandbox home directory on restart.) 4. **Generate once, claim, then persist**: generate 8 random bytes of hex (e.g. `openssl rand -hex 8`), build the candidate `bcc-<hex>`, and claim it server-side with `claim_user_id` — on `claimed: false` (collision) generate a new candidate and retry, up to 3 attempts. If all 3 attempts collide, ask the user to choose an ID themselves and provide it via the custom-instructions line (Cowork) or the plugin setting (CLI), and skip this subsection. Then **append** `user_id: bcc-<hex>` (the claimed ID) to `~/.betterask/config.yaml` (`mkdir -p ~/.betterask` first; append only — the file may hold the user's privacy mode). Mention the generated ID to the user once, briefly, inclu
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