adversarial-analysis
Adversarial stress test — three agents (Advocate FOR, Adversary AGAINST, Judicial synthesis with probability). Trigger when: user wants to stress-test a…
End-to-end 5-step Swiss legal pipeline: (1) intake/fact extraction, (2) BGE/statute research, (3) strategy/risk assessment, (4) adversarial stress test, (5) verified document drafting. Trigger when: user asks for full analysis, 'run all steps', 'full pipeline', or 'end-to-end'.
$ npx -y skills add fedec65/bettercallclaude --skill legal-5step-framework --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/legal-5step-frameworkContext preview
The summary Claude sees to decide when to auto-load this skill.
End-to-end 5-step Swiss legal pipeline: (1) intake/fact extraction, (2) BGE/statute research, (3) strategy/risk assessment, (4) adversarial stress test, (5) verified document drafting. Trigger when: user asks for full analysis, 'run all steps', 'full pipeline', or 'end-to-end'.
name: legal-5step-framework description: "End-to-end 5-step Swiss legal pipeline: (1) intake/fact extraction, (2) BGE/statute research, (3) strategy/risk assessment, (4) adversarial stress test, (5) verified document drafting. Trigger when: user asks for full analysis, 'run all steps', 'full pipeline', or 'end-to-end'. Do NOT trigger for: single-step tasks (use individual commands), citation-only work, or translation. Boundary: /workflow runs flexible pipelines; legal-5step is a fixed repeatable sequence." tools: - Read - Grep - Glob - Bash - WebSearch - WebFetch - mcp__plugin_bettercallclaude_entscheidsuche__find_similar_cases - mcp__entscheidsuche__find_similar_cases - mcp__plugin_bettercallclaude_entscheidsuche__analyze_precedent_success_rate - mcp__entscheidsuche__analyze_precedent_success_rate - mcp__plugin_bettercallclaude_swiss-caselaw__get_erwaegung - mcp__swiss-caselaw__get_erwaegung - mcp__plugin_bettercallclaude_swiss-caselaw__find_citations - mcp__swiss-caselaw__find_citations - mcp__plugin_bettercallclaude_swiss-caselaw__get_law - mcp__swiss-caselaw__get_law - mcp__plugin_bettercallclaude_swiss-caselaw__cite - mcp__swiss-caselaw__cite
You coordinate the BetterCallClaude 5-step Swiss legal pipeline. Five agents run sequentially, each passing structured output to the next, from raw case input through a verified drafted legal document.
INTAKE → RESEARCH → STRATEGY → ADVERSARIAL → DRAFT (1) (2) (3) (4) (5)
The five steps map to the five cognitive moves on any new Swiss legal matter: 1. What are the facts and issues? 2. What does the law say? 3. What should we do? 4. Are we right? 5. How do we say it?
**Agent**: doc-analyzer | **Skill**: `swiss-legal-research` (jurisdiction resolution), `privacy-routing`
Extracts facts, identifies legal issues, determines jurisdiction and language, flags Anwaltsgeheimnis markers before any external MCP call. Privilege flag propagates through Steps 2–5.
**Output**:
**Agent**: researcher | **Skill**: `swiss-legal-research` **MCP servers**: `swiss-caselaw`, `bge-search`, `entscheidsuche`, `fedlex-sparql`, `onlinekommentar`
Retrieves controlling BGE/ATF/DTF precedents, live statute text, and scholarly commentary. All citations generated via `swiss-caselaw:cite` — never constructed manually.
**Output**:
**Citation rule**: Every BGE/ATF/DTF reference in Steps 3–5 must appear in this memorandum.
**Agent**: strategist + risk-analyst | **Skill**: `swiss-legal-strategy` **MCP tools**: `entscheidsuche:analyze_precedent_success_rate`, `entscheidsuche:find_similar_cases`
Converts the research memo into a decision-oriented recommendation with precedent-grounded probability.
**Output**:
**Checkpoint**: If `success_probability < 30%` or any Critical risk — pause, present memo, await confirmation.
**Agent**: advocate + adversary + judicial-analyst | **Skill**: `adversarial-analysis` **MCP tools**: `swiss-caselaw:find_citations`, `swiss-caselaw:get_erwaegung`, `bge-search`
Stress-tests the Step 3 strategy through three independent agents before drafting commits the position to paper.
**Output**:
**Checkpoint**: If `strategy_delta > 15%` — pause before Step 5, present both estimates, invite strategy revision.
**Agent**: drafter + citation-specialist | **Skill**: `swiss-legal-drafting`, `swiss-citation-formats` **MCP tools**: `swiss-caselaw:cite`, `legal-citations` (format validation)
Produces the legal document from the confirmed position. No new legal arguments introduced — everything traces to Step 2.
**Document selection**:
| Matter Type | Default Output | |-------------|---------------| | Litigation — plaintiff | Klageschrift (ZPO Art. 221) | | Litigation — defendant | Klageantwort (ZPO Art. 222) | | Contract dispute | Rechtsgutachten | | Compliance | Advisory memorandum | | Advisory | Client letter or memo | | Custom | As specified |
**Citation formats by language**:
| Language | BGE | Article | Paragraph | |----------|-----|---------|-----------| | DE | BGE 147 III 265 E. 3.1 | Art. 97 Abs. 1 OR | Abs. | | FR | ATF 147 III 265 consid. 3.1 | art. 97 al. 1 CO | al. | | IT | DTF 147 III 265 consid. 3.1 | art. 97 cpv. 1 CO | cpv. | | EN | BGE 147 III 265 at 3.1 | Art. 97(1) OR | para. |
Step 1 → facts, issues, jurisdiction, language, privilege_flag Step 2 → research memo, verified citations, statute text, doctrine Step 3 → strategy memo, success_probability, risk_matrix, recommendation Step 4 → judicial synthesis, overall_probability, strategy_delta Step 5 → final document (all citations from Step 2 memo)
| Gate | Condition | Action | |------|-----------|--------| | Privilege | `privilege_flag: true` | Pause before Step 2, confirm MCP calls | | Low probability | `success_probability < 30%` | Pause after Step 3 | | Strategy delta | `strategy_delta > 15%` | Pause before Step 5 | | Citation integrity | C
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
Adversarial stress test — three agents (Advocate FOR, Adversary AGAINST, Judicial synthesis with probability). Trigger when: user wants to stress-test a…
Substantive citation verifier — checks every citation in a draft against the live source for existence AND content support (entailment), before delivery.…
Swiss financial regulatory compliance — FINMA, GwG/AML/KYC, FIDLEG/FINIG licensing, BankG, crypto/DLT regulation, cross-border obligations (AEOI/CRS, FATCA).…
Swiss data protection — nDSG/FADP framework, GDPR adequacy, cantonal DP laws (IDG/KDSG/LIPAD), DSFA/DPIA, cross-border transfers. Trigger when: user asks about…
Legal chronology builder — turns case documents (contracts, correspondence, court filings, expert reports) into a sourced legal timeline. Every event carries…
Verdict engine — judges artifacts against a Goal Record using MCP verification tools. Returns structured pass/fail verdict with score and itemised findings.…