NEW Browse AI tools across categories — updated daily. See what's new →

Legal 5step Framework

BetterCallClaude 5-step Swiss legal framework — an end-to-end pipeline that chains five agents sequentially: (1) doc-analyze for intake and fact extraction, (2) swiss-legal-research for precedent a...

Authorfedec65
Version1.0.0
LicenseMIT
Token count~1,775
UpdatedJun 5, 2026

BetterCallClaude 5-step Swiss legal framework — an end-to-end pipeline that chains five agents sequentially: (1) doc-analyze for intake and fact extraction, (2) swiss-legal-research for precedent and statute lookup via BGE/ATF/DTF, fedlex-sparql, entscheidsuche, and onlinekommentar MCP servers, (3) swiss-legal-strategy for claim strength, risk matrix, and settlement evaluation, (4) adversarial-analysis for three-agent Erwägung-style stress test, (5) swiss-legal-drafting for verified document ...

Install

Quick install

via npx skills · works with 57+ agents
npx skills add https://github.com/fedec65/bettercallclaude
Or pick agent:
npx skills add fedec65/bettercallclaude --agent claude-code
npx skills add fedec65/bettercallclaude --agent cursor
npx skills add fedec65/bettercallclaude --agent codex
npx skills add fedec65/bettercallclaude --agent opencode
npx skills add fedec65/bettercallclaude --agent github-copilot
npx skills add fedec65/bettercallclaude --agent windsurf
More install options

Shorthand — useful for multi-skill repos:

npx skills add fedec65/bettercallclaude

Manual — clone the repo and drop the folder into your agent's skills directory:

git clone https://github.com/fedec65/bettercallclaude.git
cp -r bettercallclaude ~/.claude/skills/
How to use: Once installed, ask your agent to "use the Legal 5step Framework skill" or describe what you want (e.g. "BetterCallClaude 5-step Swiss legal framework — an end-to-end pipeline that chai"). Requires Node.js 18+.

Legal 5step Framework

BetterCallClaude 5-step Swiss legal framework — an end-to-end pipeline that chains five agents sequentially: (1) doc-analyze for intake and fact extraction, (2) swiss-legal-research for precedent and statute lookup via BGE/ATF/DTF, fedlex-sparql, entscheidsuche, and onlinekommentar MCP servers, (3) swiss-legal-strategy for claim strength, risk matrix, and settlement evaluation, (4) adversarial-analysis for three-agent Erwägung-style stress test, (5) swiss-legal-drafting for verified document ...

---
name: legal-5step-framework
description: "BetterCallClaude 5-step Swiss legal framework — an end-to-end pipeline that chains five agents sequentially: (1) doc-analyze for intake and fact extraction, (2) swiss-legal-research for precedent and statute lookup via BGE/ATF/DTF, fedlex-sparql, entscheidsuche, and onlinekommentar MCP servers, (3) swiss-legal-strategy for claim strength, risk matrix, and settlement evaluation, (4) adversarial-analysis for three-agent Erwägung-style stress test, (5) swiss-legal-drafting for verified document production. Trigger when: a user invokes /bettercallclaude:legal-5step, asks to run the full framework on a case, wants a complete legal analysis from intake to draft, or says 'run all steps', 'full pipeline', 'end-to-end analysis', or 'complete legal workflow'. Do NOT trigger for: single-step tasks (use the individual command: research, strategy, adversarial, draft, or doc-analyze), citation-only work (use swiss-citation-formats), quick legal questions (use swiss-legal-research directly), or translation only (use swiss-legal-translation). Boundary with /bettercallclaude:workflow: the workflow command executes predefined pipelines (litigation-prep, due-diligence, etc.); legal-5step is a fixed five-step framework that always runs the same sequence and is optimized for repeatable client intake."
---

BetterCallClaude 5-Step Legal Framework

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.

Framework

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?

Step Definitions

Step 1: INTAKE

Agent: doc-analyzer | Skill: swiss-jurisdictions, 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:


  • Structured fact list

  • Legal issues ranked by relevance

  • Jurisdiction: federal or cantonal (XX)

  • Language: DE/FR/IT/EN

  • Privilege flag: true/false

Step 2: RESEARCH

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:


  • Research memorandum with verified citations

  • Statute text retrieved live from fedlex-sparql or swiss-caselaw:get_law

  • Doctrine from onlinekommentar

Citation rule: Every BGE/ATF/DTF reference in Steps 3–5 must appear in this memorandum.

Step 3: STRATEGY

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:


  • Claim strength: Strong / Moderate / Weak

  • Success probability: X% (grounded in analyze_precedent_success_rate)

  • Procedural pathway: ZPO track, forum, timeline

  • Risk matrix: Critical / Moderate / Minor

  • Settlement range and BATNA

  • Recommendation: litigate / settle / ADR

Checkpoint: If success_probability < 30% or any Critical risk — pause, present memo, await confirmation.

Step 4: ADVERSARIAL

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:


  • AdvocateReport: strongest case FOR, with BGE support

  • AdversaryReport: systematic challenge with counter-precedents

  • JudicialSynthesis: Erwägung-style balanced conclusion with probability scores

  • strategy_delta: % change from Step 3 estimate

Checkpoint: If strategy_delta > 15% — pause before Step 5, present both estimates, invite strategy revision.

Step 5: DRAFT

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

Data Flow

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)

Quality Gates

| 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 | Citation in Step 5 not in Step 2 memo | Block and fetch via MCP |

Professional Disclaimer

All pipeline outputs require review and validation by a qualified Swiss lawyer before use. This framework does not constitute legal advice. Lawyers maintain full professional responsibility for all legal work products.

---

Source: https://github.com/fedec65/bettercallclaude
Author: fedec65
Discovered via: skillsdirectory.com
Genre: ai-agents

SKILL.md source

---
name: Legal 5step Framework
description: BetterCallClaude 5-step Swiss legal framework — an end-to-end pipeline that chains five agents sequentially: (1) doc-analyze for intake and fact extraction, (2) swiss-legal-research for precedent a...
---

# Legal 5step Framework

BetterCallClaude 5-step Swiss legal framework — an end-to-end pipeline that chains five agents sequentially: (1) doc-analyze for intake and fact extraction, (2) swiss-legal-research for precedent and statute lookup via BGE/ATF/DTF, fedlex-sparql, entscheidsuche, and onlinekommentar MCP servers, (3) swiss-legal-strategy for claim strength, risk matrix, and settlement evaluation, (4) adversarial-analysis for three-agent Erwägung-style stress test, (5) swiss-legal-drafting for verified document ...

---
name: legal-5step-framework
description: "BetterCallClaude 5-step Swiss legal framework — an end-to-end pipeline that chains five agents sequentially: (1) doc-analyze for intake and fact extraction, (2) swiss-legal-research for precedent and statute lookup via BGE/ATF/DTF, fedlex-sparql, entscheidsuche, and onlinekommentar MCP servers, (3) swiss-legal-strategy for claim strength, risk matrix, and settlement evaluation, (4) adversarial-analysis for three-agent Erwägung-style stress test, (5) swiss-legal-drafting for verified document production. Trigger when: a user invokes /bettercallclaude:legal-5step, asks to run the full framework on a case, wants a complete legal analysis from intake to draft, or says 'run all steps', 'full pipeline', 'end-to-end analysis', or 'complete legal workflow'. Do NOT trigger for: single-step tasks (use the individual command: research, strategy, adversarial, draft, or doc-analyze), citation-only work (use swiss-citation-formats), quick legal questions (use swiss-legal-research directly), or translation only (use swiss-legal-translation). Boundary with /bettercallclaude:workflow: the workflow command executes predefined pipelines (litigation-prep, due-diligence, etc.); legal-5step is a fixed five-step framework that always runs the same sequence and is optimized for repeatable client intake."
---

# BetterCallClaude 5-Step Legal Framework

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.

## Framework

```
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?

## Step Definitions

### Step 1: INTAKE
**Agent**: doc-analyzer | **Skill**: `swiss-jurisdictions`, `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**:
- Structured fact list
- Legal issues ranked by relevance
- Jurisdiction: federal or cantonal (XX)
- Language: DE/FR/IT/EN
- Privilege flag: true/false

### Step 2: RESEARCH
**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**:
- Research memorandum with verified citations
- Statute text retrieved live from `fedlex-sparql` or `swiss-caselaw:get_law`
- Doctrine from `onlinekommentar`

**Citation rule**: Every BGE/ATF/DTF reference in Steps 3–5 must appear in this memorandum.

### Step 3: STRATEGY
**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**:
- Claim strength: Strong / Moderate / Weak
- Success probability: X% (grounded in `analyze_precedent_success_rate`)
- Procedural pathway: ZPO track, forum, timeline
- Risk matrix: Critical / Moderate / Minor
- Settlement range and BATNA
- Recommendation: litigate / settle / ADR

**Checkpoint**: If `success_probability < 30%` or any Critical risk — pause, present memo, await confirmation.

### Step 4: ADVERSARIAL
**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**:
- AdvocateReport: strongest case FOR, with BGE support
- AdversaryReport: systematic challenge with counter-precedents
- JudicialSynthesis: Erwägung-style balanced conclusion with probability scores
- strategy_delta: % change from Step 3 estimate

**Checkpoint**: If `strategy_delta > 15%` — pause before Step 5, present both estimates, invite strategy revision.

### Step 5: DRAFT
**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. |

## Data Flow

```
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)
```

## Quality Gates

| 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 | Citation in Step 5 not in Step 2 memo | Block and fetch via MCP |

## Professional Disclaimer

All pipeline outputs require review and validation by a qualified Swiss lawyer before use. This framework does not constitute legal advice. Lawyers maintain full professional responsibility for all legal work products.


---

**Source**: https://github.com/fedec65/bettercallclaude
**Author**: fedec65
**Discovered via**: skillsdirectory.com
**Genre**: ai-agents

Related skills 6

running-claude-code-via-litellm-copilot

★ Featured

Use when routing Claude Code through a local LiteLLM proxy to GitHub Copilot, reducing direct Anthropic spend, configuring ANTHROPIC_BASE_URL or ANTHROPIC_MODEL overrides, or troubleshooting Copilot proxy setup failures such as model-not-found, no localhost traffic, or GitHub 401/403 auth errors.

xixu-me 155k
AI & ML

skills-cli

★ Featured

Use when users ask to discover, install, list, check, update, remove, back up, restore, sync, or initialize Agent Skills, mention `bunx skills`, `npx skills`, `skills.sh`, or `skills-lock.json`, ask "find a skill for X", or want help extending agent capabilities with installable skills.

xixu-me 155k
AI & ML

repo-intake-and-plan

★ Featured

Narrow RigorPilot helper for README-first deep learning repo reproduction. Use when the task is specifically to scan a repository, read the README and common project files, extract documented commands, classify inference, evaluation, and training candidates, and return the smallest trustworthy reproduction plan to the main orchestrator. Do not use for environment setup, asset download, command execution, final reporting, paper lookup, or end-to-end orchestration.

lllllllama 127k
AI & ML

image-to-video

★ Featured

Animate any still image on RunComfy — this skill is a smart router that matches the user's intent to the right i2v model in the RunComfy catalog. Picks HappyHorse 1.0 I2V (Arena #1, native audio, identity preservation) for general animations, Wan 2.7 with `audio_url` for custom-voiceover lip-sync, or Seedance 2.0 Pro for multi-modal animation from image + reference video + reference audio. Bundles each model's documented prompting patterns so the caller gets sharper output without burning ite...

agentspace-so 121k
AI & ML

video-edit

★ Featured

Edit existing video on RunComfy — this skill is a smart router that matches the user's intent to the right edit model in the RunComfy catalog. Picks Wan 2.7 Edit-Video (general restyle / background swap / packaging swap, identity + motion preservation), Kling 2.6 Pro Motion Control (transfer precise motion from a reference video to a target character), or Lucy Edit Restyle (lightweight identity-stable restyle / outfit swap). Bundles each model's documented prompting patterns so the skill gets...

agentspace-so 121k
AI & ML

nano-banana-2

★ Featured

Generate images with Google Nano Banana 2 (Gemini-family flash-tier text-to-image) on RunComfy — bundled with the model's documented prompting patterns so the skill gets sharper output than naive prompting against the same model. Documents Nano Banana 2's strengths (rapid iteration, in-image typography rendering, predictable framing, optional web-grounded context), the resolution-tier pricing, the safety-tolerance dial, and when to route to Nano Banana Pro / GPT Image 2 / Flux 2 / Seedream in...

agentspace-so 121k
AI & ML