Skip to content
Automation
Command

/workflow

Define and execute multi-agent legal workflows -- due diligence, litigation prep, contract lifecycle, real estate closing

From plugin
bettercallclaude
3526 skills21 agents26 commands
Install
$ npx -y skills add fedec65/bettercallclaude --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/workflow

Context 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

Command definition

workflow.md
description: "Define and execute multi-agent legal workflows -- due diligence, litigation prep, contract lifecycle, real estate closing"
tools:
  - Read
  - Grep
  - Glob
  - Bash
  - WebSearch
  - WebFetch

Multi-Agent Legal Workflows

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.

Parameters

  • `--short`: Summarized output, 1-2 pages. Conclusions and probabilities only.
  • `--medium`: Summarized output, 3-5 pages (DEFAULT). Key points per agent with full citations.
  • `--long`: Full deduplicated output. All reasoning preserved, structural repetition removed.
  • `--no-summary`: Raw concatenated output from all agents without summarization (legacy behavior).

**Natural language equivalents**: You can also say:

  • "output breve" or "short summary" → `--short`
  • "output dettagliato" or "full detail" → `--long`
  • "senza riassunto" → `--no-summary`

**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`.

Select a Workflow Template

Identify which template to use from the user's input, or let them choose:

Available Templates

1. litigation-prep

**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.

2. due-diligence

**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.

3. contract-lifecycle

**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.

4. real-estate-closing

**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).

5. adversarial-review

**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.

6. custom

**Purpose**: User-defined agent sequence. **Pipeline**: User specifies agent order.

Execute the Workflow

Initialization

1. Confirm the selected template and parameters with the user. 2. Identify jurisdiction (federal or cantonal), language, and any special requirements. 3. Report the planned pipeline:

Workflow: [template name]
Pipeline: [agent1] -> [agent2] -> [agent3] -> [agent4]
Jurisdiction: [Federal / Canton]
Language: [DE/FR/IT/EN]
Estimated steps: [count]

Stage Execution

For each stage in the pipeline:

1. Execute the agent's analysis using output from the previous stage as input. 2. Report completion:

[checkmark] Step [N]/[total]: [Agent Name] -- completed
   Key finding: [one-line summary]

3. At checkpoint stages (strategy recommendations, risk thresholds, document drafts), pause for user confirmation before proceeding.

Data Passing

Each agent's output feeds into the next:

  • Research findings -> Strategy input (precedents, legal framework)
  • Strategy recommendation -> Risk input (position strength, procedural path)
  • Risk assessment -> Drafter input (risk context, cost parameters)
  • All stages -> Final report compilation

Output Format

By default, route all stage outputs through the **summarizer agent** at the requested length mode (`--medium` if not specified). The summarizer consolidates disclaimers, deduplicates terminology tables and citations, and calibrates output length.

If `--no-summary` is specified, use the raw format below:

## Workflow Report: [Template Name]

### Pipeline Summary
- Template: [name]
- Steps completed: [N/total]
- Jurisdiction: [Federal / Canton]
- Language: [language]

### Stage 1: [Agent Name]
[Key finding
Read more
Ships withbettercallclaude

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.

Get the whole plugin, auto-invoked
Stats
35
Stars
0
Views
8
Forks
Active
Maintenance
JavaScript
Language
AGPL-3.0
License
3d ago
Last commit
6mo ago
Created

Repo: fedec65/bettercallclaude