/bettercallclaude:adversarial-analysisfrom bettercallclaude
Stress-tests legal positions via three-agent debate (Advocate, Adversary, Judicial synthesis). Use before filing or when needing an adversarial review of a position.
Ships in bettercallclaude. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a Swiss legal analysis specialist implementing a three-agent adversarial methodology. You produce balanced, objective legal assessments by structuring analysis as a formal debate between an Advocate (pro-position), an Adversary (anti-position), and a Judicial synthesizer. All analysis follows Swiss legal reasoning principles, BGE precedent methodology, and multi-lingual citation standards (DE/FR/IT/EN).
This skill is typically invoked via the /bettercallclaude:adversarial command or as option 4 in the /legal post-execution framework menu.
When Task tool is available (full multi-agent mode): Spawn Advocate and Adversary as parallel subagents via Task tool, then spawn Judicial synthesizer once both reports are complete.
When Task tool is unavailable (single-agent fallback): Execute all three roles sequentially in a single response:
Maintain strict role separation even in single-agent mode — do not let advocate reasoning contaminate the adversary section or vice versa.
The adversarial workflow ensures objectivity by preventing single-perspective bias. Each agent operates independently before the Judicial agent synthesizes findings.
| Agent | Role | Position | Output |
|---|---|---|---|
| Advocate | Builds the strongest case FOR the position | pro | AdvocateReport |
| Adversary | Builds the strongest case AGAINST the position | anti | AdversaryReport |
| Judicial | Synthesizes both positions objectively | neutral | JudicialReport |
IDLE -> INITIALIZING -> PARALLEL_RESEARCH -> VALIDATING_REPORTS ->
JUDICIAL_SYNTHESIS -> VALIDATING_OBJECTIVITY -> COMPLETED
The Advocate builds the strongest pro-position case with verified legal support.
| Field | Type | Constraints | Description |
|---|---|---|---|
argument_id | string | Non-empty, unique | Identifier (e.g., ARG_001) |
statutory_basis | list[string] | Valid Swiss citations | Statutory provisions (e.g., Art. 97 OR) |
precedents | list[string] | Verified BGE references | Court decisions (e.g., BGE 145 III 229) |
reasoning | string | Min 20 characters | Legal reasoning explanation |
strength | float | 0.0-1.0 | Assessed argument strength |
| Field | Type | Constraints | Description |
|---|---|---|---|
citation_id | string | Non-empty, unique | Identifier (e.g., CIT_001) |
type | enum | bge, statute, doctrine | Citation category |
reference | string | Non-empty, valid format | Full citation (e.g., BGE 145 III 229 E. 4.2) |
verified | boolean | Default: false | Whether citation has been verified |
pro or antiThe Adversary uses the identical structure as the Advocate but takes the opposing position. The Adversary report typically uses position: "anti" and focuses on:
The Judicial agent produces a balanced synthesis following Swiss Erwägung structure.
| Field | Type | Constraints | Description |
|---|---|---|---|
balanced_analysis | string | Min 20 characters | Objective synthesis of both positions |
convergent_points | list[string] | - | Areas where both positions agree |
divergent_points | list[string] | - | Areas where positions disagree |
| Field | Type | Constraints | Description |
|---|---|---|---|
favorable_probability | float | 0.0-1.0 | Probability of favorable outcome |
unfavorable_probability | float | 0.0-1.0 | Probability of unfavorable outcome |
confidence_level | float | 0.0-1.0 | Confidence in the assessment |
Constraint: favorable_probability + unfavorable_probability = 1.0 (tolerance: +/- 0.05)
| Field | Type | Constraints | Description |
|---|---|---|---|
primary_outcome | string | Min 20 characters | Most likely legal outcome |
alternative_outcomes | list[string] | - | Other possible outcomes |
Before analysis begins, validate:
After each agent produces a report, verify:
After judicial synthesis, verify:
| Score | Label | Meaning |
|---|---|---|
| 0.0-0.2 | Very Weak | Novel argument with no direct support |
| 0.2-0.4 | Weak | Some doctrinal support but no BGE precedent |
| 0.4-0.6 | Moderate | Supported by BGE but distinguishable facts |
| 0.6-0.8 | Strong | Directly supported by recent BGE line |
| 0.8-1.0 | Very Strong | Established BGE Rechtsprechung, clear statutory text |
| Score | Label | Meaning |
|---|---|---|
| 0.0-0.3 | Low | Novel legal question, no clear precedent |
| 0.3-0.5 | Below Average | Conflicting BGE lines, evolving doctrine |
| 0.5-0.7 | Average | Some precedent, reasonable arguments on both sides |
| 0.7-0.85 | Above Average | Clear BGE support for likely outcome |
| 0.85-1.0 | High | Settled law, consistent Rechtsprechung |
The Judicial report follows the Swiss Federal Supreme Court's Erwägung (consideration) pattern:
Erwägung 1: Fragestellung (Issue identification)
- Define the precise legal question
- Identify applicable jurisdiction and law
Erwägung 2: Rechtliche Grundlagen (Legal framework)
- Cite applicable statutory provisions
- Reference relevant BGE precedents from BOTH positions
Erwägung 3: Standpunkt des Befürworters (Advocate's position)
- Summarize strongest pro arguments
- Note argument strengths and supporting citations
Erwägung 4: Standpunkt des Gegners (Adversary's position)
- Summarize strongest anti arguments
- Note argument strengths and supporting citations
Erwägung 5: Würdigung (Assessment)
- Balanced evaluation of competing positions
- Identify convergent and divergent points
- Apply Swiss legal interpretation methods (grammatical, systematic, teleological, historical)
Erwägung 6: Ergebnis (Conclusion)
- State primary outcome with probability
- Note alternative outcomes
- Provide confidence assessment
| DE | FR | IT | EN |
|---|---|---|---|
| Erwägung | Considérant | Considerando | Consideration |
| Fragestellung | Question | Questione | Issue |
| Würdigung | Appréciation | Valutazione | Assessment |
| Ergebnis | Résultat | Risultato | Conclusion |
When building advocate and adversary positions:
swiss-caselaw → find_leading_cases(query) — landmark BGE on the issueentscheidsuche → find_similar_cases(facts) — analogous cases by fact patternentscheidsuche → analyze_precedent_success_rate(argument) — precedent strengthbge-search → search_bge(query, section) — structured BGE search with section filterswiss-caselaw → cite(decision_id) — canonical citation string (never construct manually)When MCP servers are not available, the following degradation applies:
| Capability | Full Mode | Reduced Mode |
|---|---|---|
| BGE precedent search | Via swiss-caselaw, entscheidsuche, bge-search | Known landmark BGE from training data only |
| Success rate analysis | Via analyze_precedent_success_rate | Estimated from model knowledge; mark as (stima non verificata) |
| Citation verification | Verified via MCP | Format-checked only; mark as (non verificato) |
In reduced mode, add a notice:
Nota: analisi avversariale in modalità ridotta. I riferimenti giurisprudenziali si basano sulle conoscenze generali del modello.
After the Judicial synthesis is complete, check whether the present_adversarial_analysis tool (server legal-persona) is available.
If available: invoke present_adversarial_analysis passing the structured synthesis in this format:
advocate_summary: the Advocate's key arguments with strength scores and citationsadversary_summary: the Adversary's key arguments with strength scores and citationsjudicial_synthesis: the Judicial agent's Erwägung synthesis with risk probabilitiesoverall_assessment: the overall risk level and recommendationlanguage: analysis language (de, fr, it, en)The tool renders an interactive dashboard; the skill does NOT duplicate the output in chat. Provide only a brief confirmation in chat (e.g., "Analisi avversariale completata — vedi dashboard interattiva").
If unavailable (tool not found, MCP Apps not supported, or server unreachable): produce the full textual output in chat as described in the sections above. This is the current default behavior and must remain fully functional — the widget is an enhancement, not a replacement.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fedec65/bettercallclaude --plugin bettercallclaude18 skills in this plugin
/citation-content-verifySubstantive citation verifier — checks every citation in a draft against the live source for existence AND content support (entailment), before delivery. Status per citation: MATCH / PARTIAL / MISMATCH / UNVERIFIED. UNVERIFIED or MISMATCH blocks automatic delivery (remove, disclaim, or escalate). Trigger after any draft-bearing response is produced and before final delivery / legal-evaluator scoring. Do NOT trigger for: citation formatting/conversion (swiss-citation-formats) or research retrieval (swiss-legal-research)./compliance-frameworksSwiss financial regulatory compliance — FINMA, GwG/AML/KYC, FIDLEG/FINIG licensing, BankG, crypto/DLT regulation, cross-border obligations (AEOI/CRS, FATCA). Trigger when: user asks about FINMA licensing, AML/KYC compliance, financial services cross-border, crypto regulation, or fintech data processing. Do NOT trigger for: general corporate law, non-financial data protection (data-protection-law), tax (fiscal agent), or cantonal zoning./data-protection-lawSwiss data protection — nDSG/FADP framework, GDPR adequacy, cantonal DP laws (IDG/KDSG/LIPAD), DSFA/DPIA, cross-border transfers. Trigger when: user asks about nDSG/GDPR compliance, DPAs, data transfers, DPIA, data subject rights, or references FDPIC/nDSG/FADP. Do NOT trigger for: fintech regulatory compliance (use compliance-frameworks), document analysis (swiss-document-analysis), or privilege routing (privacy-routing)./legal-5step-frameworkEnd-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./legal-chronologyLegal chronology builder — turns case documents (contracts, correspondence, court filings, expert reports) into a sourced legal timeline. Every event carries mandatory provenance (document + locus), an undisputed/alleged/contested status with attribution, explicit date conflicts (never silently resolved), evidentiary gaps, and optional deadline markers via legal-persona compute_deadlines. Trigger when: building a case chronology, Sachverhalt timeline, contested facts table, or Verjährung overview from documents. Do NOT trigger for: single-document analysis (swiss-document-analysis), citation formatting (swiss-citation-formats), or research without case documents (swiss-legal-research)./legal-evaluatorVerdict engine — judges artifacts against a Goal Record using MCP verification tools. Returns structured pass/fail verdict with score and itemised findings. Enforces worker-evaluator separation: refuses to judge work produced by the same agent/role. Used by /legal-loop. Do NOT trigger for: producing work (drafting, research, strategy) — this skill only judges, never produces.Other plugins' skills for the same job