Structured multi-perspective deliberation for hard decisions. Run full councils, focused triads, or duo debates across Claude Code, Codex, Gemini CLI, and OpenCode.
Shell agent-skillai-agentsclaude-codecodexdecision-makingdeliberationgemini-clillm-routingmulti-agent-systemsmulti-llmopen-sourceopencodeprompt-engineeringstructured-debate
feat: add problem restate gate, reorder verdicts, consolidate frontmatter (#6)
nyk390c533c95cb
diff --git a/SKILL.md b/SKILL.mdindex 9d4e6e8..abd0098 100644--- a/SKILL.md+++ b/SKILL.md@@ -186,6 +186,26 @@ If no `--models` flag → use default configured models from agent frontmatter.`[CHECKPOINT]` If routing used, confirm member → provider mapping.+### STEP 1.5: Problem Restate Gate++Before any analysis begins, each member must restate the problem. This catches wrong-question failures before burning rounds on them.++Spawn each member in parallel with:+```+Read your agent definition at ~/.claude/agents/council-{name}.md.++The problem under deliberation:+{problem}++Before you begin analysis, restate this problem in TWO parts:+1. **Your restatement**: One sentence capturing the core question through your analytical lens.+2. **Alternative framing**: One sentence reframing the problem in a way the original statement may have missed.++Do NOT begin your analysis yet. Just the restatement and alternative framing. 50 words maximum total.+```++`[CHECKPOINT]` Review all restatements. If any member's restatement diverges significantly from the original problem, flag this to the user — it may reveal a framing issue worth addressing before deliberation. Include the restatements in the Round 1 prompt so members see each other's framings.+### STEP 2: Round 1 — Independent Analysis (PARALLEL, BLIND-FIRST)Emit to user:@@ -204,6 +224,9 @@ Read your agent definition at ~/.claude/agents/council-{name}.md and follow it pThe problem under deliberation:{problem}+Here is how each member reframed the problem:+{all restatements from Step 1.5}+Produce your independent analysis using your Output Format (Standalone).Do NOT try to anticipate what other members will say.Limit: 400 words maximum.@@ -211,24 +234,14 @@ Limit: 400 words maximum.`[CHECKPOINT]` Confirm all Round 1 outputs collected. Verify each is ≤400 words and follows the member's Output Format.-### STEP 3: Round 1 Enforcement Scan--For each Round 1 output, verify:-- [ ] Used their Output Format (Standalone) sections-- [ ] Stayed within ~400 words-- [ ] Includes an Essential Question-- [ ] Includes a Verdict--If any output is malformed or missing sections, note it but proceed (do not re-run).--### STEP 4: Round 2 — Cross-Examination+### STEP 3: Round 2 — Cross-ExaminationEmit to user:> **Round 1 complete** ({N} analyses collected). Beginning Round 2 — cross-examination.**Execution strategy:**- If panel size ≤ 4: run fully **SEQUENTIAL** (each member sees all prior Round 2 responses)-- If panel size ≥ 5: **Batch A** = first ceil(N/2) members run in PARALLEL (they see only Round 1 outputs). Then **Batch B** = remaining members run SEQUENTIALLY (they see Round 1 + Batch A Round 2 outputs).+- If panel size ≥ 5: run all members in **PARALLEL** (each sees all Round 1 outputs). For panels of 7+, optionally use **Batch A** (parallel) + **Batch B** (sequential, sees Batch A outputs) if cross-contamination would meaningfully improve quality.Prompt template for each member:```@@ -252,38 +265,32 @@ Limit: 300 words maximum. You MUST engage at least 2 other members by name.`[CHECKPOINT]` Confirm all Round 2 outputs collected.-### STEP 5: Round 2 Enforcement+### STEP 4: Post-Round Enforcement Scan-Run these checks on the collected Round 2 outputs:+Run all enforcement checks on Round 2 outputs in a single pass:-**`[VERIFY]` Dissent quota**: Count distinct objections across all Round 2 outputs. At least 2 members must articulate a non-overlapping objection. If fewer than 2 → send one or more members the dissent prompt:+**`[VERIFY]` Dissent quota**: At least 2 members must articulate a non-overlapping objection. If fewer than 2 → send the dissent prompt:```Your Round 2 response agreed with the emerging consensus. The council requires dissent for quality.State your strongest objection to the majority position in 150 words. What are they getting wrong?```-**`[VERIFY]` Novelty gate**: Each Round 2 response must contain at least 1 new claim, test, risk, or reframing not present in that member's Round 1 output. If missing → send back:+**`[VERIFY]` Novelty gate**: Each response must contain at least 1 new claim, test, risk, or reframing not in that member's Round 1 output. If missing → send back:```Your Round 2 response restated your Round 1 position without engaging the challenges raised.Address {specific member}'s challenge to your position directly. What changes?```-**`[VERIFY]` Agreement check**: If >70% of members agree on the core position by end of Round 2 → trigger counterfactual prompt to 2 members most likely to dissent:+**`[VERIFY]` Agreement check**: If >70% agree on core position → trigger counterfactual prompt to 2 most likely dissenters:```Assume the current consensus is wrong. What is the strongest alternative and what evidence would flip the decision?```-**`[VERIFY]` Evidence labels**: Confirm key claims are tagged as `empirical`, `mechanistic`, `strategic`, `ethical`, or `heuristic`. Note any reasoning monoculture (>80% same type).+**`[VERIFY]` Evidence labels**: Confirm claims are tagged (`empirical | mechanistic | strategic | ethical | heuristic`). Note reasoning monoculture (>80% same type).-### STEP 6: Anti-Recursion Enforcement+**`[VERIFY]` Anti-recursion**: Socrates re-asks an answered question → hemlock rule, force 50-word position. Any member restates Round 1 without engaging challenges → send back. Exchange exceeds 2 messages between any pair → cut off.-Check for these patterns and intervene:--- **Socrates re-asks** a question that another member has directly addressed with evidence → remind of hemlock rule, force 50-word position statement-- **Any member restates** Round 1 position without engaging Round 2 challenges → send back with the specific challenge they must address-- **Exchange exceeds 2 messages** between any member pair → cut off and move to Round 3--### STEP 7: Round 3 — Final Crystallization (PARALLEL)+### STEP 5: Round 3 — Final Crystallization (PARALLEL)Emit to user:> **Cross-examination complete**. Round 3 — final positions.@@ -297,13 +304,13 @@ No new arguments — only crystallization of your stance.`[CHECKPOINT]` Confirm all Round 3 outputs collected.-### STEP 8: Tie-Breaking+### STEP 6: Tie-Breaking- **2/3 majority** → consensus. Record dissenting position in Minority Report.- **No majority** → present the dilemma to the user with each position clearly stated. Do NOT force consensus.- **Domain expert weight**: The member whose domain most directly matches the problem gets 1.5x weight. (e.g., Ada for formal systems, Sun Tzu for competitive strategy)-### STEP 9: Synthesize Verdict+### STEP 7: Synthesize VerdictProduce the Council Verdict using the template below. This is the final deliverable.@@ -319,6 +326,10 @@ Same panel selection as full mode Step 0. If no panel specified, default to best`[CHECKPOINT]` State selected members.+### QUICK STEP 0.5: Problem Restate Gate++Each member restates the problem before analysis. In quick mode, this is embedded in the Round 1 prompt (not a separate step) to save time.+### QUICK STEP 1: Round 1 — Rapid Analysis (PARALLEL)Emit to user:@@ -332,7 +343,7 @@ Read your agent definition at ~/.claude/agents/council-{name}.md and follow it pThe problem under deliberation:{problem}-Produce a condensed analysis using your Output Format (Standalone) but limit to:+First, in ONE sentence, restate this problem through your analytical lens. Then produce a condensed analysis:- Essential Question (1-2 sentences)- Your core analysis (key insight only)- Verdict (direct recommendation)@@ -374,6 +385,10 @@ Two-member dialectic for rapid opposing perspectives.`[CHECKPOINT]` State selected pair and tension.+### DUO STEP 0.5: Problem Restate Gate++Each member restates the problem before analysis. In duo mode, this is embedded in the Round 1 prompt.+### DUO STEP 1: Round 1 — Opening Positions (PARALLEL)Emit to user:@@ -387,7 +402,7 @@ Read your agent definition at ~/.claude/agents/council-{name}.md and follow it pThe problem under deliberation:{problem}-State your position using your Output Format (Standalone).+First, in ONE sentence, restate this problem through your analytical lens. Then state your position using your Output Format (Standalone).Limit: 300 words maximum.```@@ -431,37 +446,34 @@ Use the Duo Verdict template below.### Council Composition{Members convened, mode used, and selection rationale}+{If model routing used: member → provider/model map. Otherwise omit.}++### Unresolved Questions+{Questions the council could not answer — inputs needed from user. Lead with what the council does NOT know.}-### Model/Provider Routing-{If used: member → provider/model map and separation rationale. If not used: "Default models."}+### Recommended Next Steps+{Concrete actions, ordered by priority}-### Consensus Position-{The position that survived deliberation — or "No consensus reached" with explanation}+### Consensus & Agreement+{The position that survived deliberation and what members converged on — or "No consensus reached" with explanation}### Key Insights by Member- **{Name}**: {Their most valuable contribution in 1-2 sentences}- ...-### Points of Agreement-{What all/most members converged on}-### Points of Disagreement{Where positions remained irreconcilable}### Minority Report{Dissenting positions and their strongest arguments}-### Unresolved Questions-{Questions the council could not answer — inputs needed from user}-### Epistemic Diversity Scorecard- Perspective spread (1-5): {how orthogonal the viewpoints were}-- Provider spread (1-5): {how distributed across model families — N/A if default models}- Evidence mix: {% empirical / mechanistic / strategic / ethical / heuristic}- Convergence risk: {Low/Medium/High with reason}-### Recommended Next Steps-{Concrete actions, ordered by priority}+### Follow-Up+After acting on this verdict, revisit: Was this verdict useful? Was the recommended action taken? What happened? {This section is a prompt for the user, not filled by the council.}```### Quick Verdict@@ -475,6 +487,9 @@ Use the Duo Verdict template below.### Panel{Members and selection rationale}+### Recommended Action+{Single concrete recommendation}+### Positions- **{Name}**: {Core position in 1-2 sentences}- ...@@ -485,8 +500,8 @@ Use the Duo Verdict template below.### Key Disagreement{The most important point of divergence}-### Recommended Action-{Single concrete recommendation}+### Follow-Up+After acting on this verdict, revisit: Was this useful? What happened?```### Duo Verdict@@ -500,6 +515,9 @@ Use the Duo Verdict template below.### The Dialectic**{Member A}** ({their lens}) vs **{Member B}** ({their lens})+### What This Means for Your Decision+{How to use these opposing perspectives — the user decides}+### {Member A}'s Position{Core argument in 2-3 sentences}@@ -512,8 +530,8 @@ Use the Duo Verdict template below.### The Core Tension{The irreducible disagreement and what drives it}-### What This Means for Your Decision-{How to use these opposing perspectives — the user decides}+### Follow-Up+After deciding, revisit: Which perspective proved more useful? What happened?```---diff --git a/agents/council-ada.md b/agents/council-ada.mdindex aa8551d..f3ce1f8 100644--- a/agents/council-ada.md+++ b/agents/council-ada.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for formal systems & computationalmodel: sonnetcolor: cyantools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Ada Lovelace+ domain: "Formal systems & abstraction"+ polarity: "What can/can't be mechanized"+ polarity_pairs: ["machiavelli", "karpathy", "rams"]+ triads: ["architecture", "debugging", "innovation", "complexity", "ai"]+ duo_keywords: ["formalization", "systems", "abstraction"]+ profiles: ["classic", "exploration-orthogonal", "execution-lean"]---## Identitydiff --git a/agents/council-aristotle.md b/agents/council-aristotle.mdindex 1ae854c..d54766f 100644--- a/agents/council-aristotle.md+++ b/agents/council-aristotle.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for categorization & structural anamodel: opuscolor: ambertools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Aristotle+ domain: "Categorization & structure"+ polarity: "Classifies everything"+ polarity_pairs: ["lao-tzu", "munger"]+ triads: ["architecture", "innovation", "complexity", "systems"]+ duo_keywords: ["architecture", "structure", "categories"]+ profiles: ["classic", "exploration-orthogonal"]---## Identitydiff --git a/agents/council-aurelius.md b/agents/council-aurelius.mdindex d3b6669..78430f3 100644--- a/agents/council-aurelius.md+++ b/agents/council-aurelius.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for resilience & moral clarity analmodel: opuscolor: silvertools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Marcus Aurelius+ domain: "Resilience & moral clarity"+ polarity: "Control vs acceptance"+ polarity_pairs: ["sun-tzu"]+ triads: ["strategy", "ethics", "conflict", "risk", "decision"]+ duo_keywords: ["strategy", "competition", "market"]+ profiles: ["classic", "exploration-orthogonal", "execution-lean"]---## Identitydiff --git a/agents/council-feynman.md b/agents/council-feynman.mdindex fed3401..0f7cde7 100644--- a/agents/council-feynman.md+++ b/agents/council-feynman.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for first-principles debugging & exmodel: sonnetcolor: orangetools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Feynman+ domain: "First-principles debugging"+ polarity: "Refuses unexplained complexity"+ polarity_pairs: ["socrates", "kahneman"]+ triads: ["architecture", "debugging", "risk", "shipping"]+ duo_keywords: ["decision", "bias", "thinking", "judgment"]+ profiles: ["classic", "exploration-orthogonal", "execution-lean"]---## Identitydiff --git a/agents/council-kahneman.md b/agents/council-kahneman.mdindex fc6cf5a..804f329 100644--- a/agents/council-kahneman.md+++ b/agents/council-kahneman.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for cognitive bias detection & decimodel: opuscolor: coraltools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Daniel Kahneman+ domain: "Cognitive bias & decision science"+ polarity: "Your own thinking is the first error"+ polarity_pairs: ["feynman"]+ triads: ["decision", "bias"]+ duo_keywords: ["decision", "bias", "thinking", "judgment"]+ profiles: ["classic", "exploration-orthogonal"]---## Identitydiff --git a/agents/council-karpathy.md b/agents/council-karpathy.mdindex 390cc0a..faea05e 100644--- a/agents/council-karpathy.md+++ b/agents/council-karpathy.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for neural network intuition & empimodel: sonnetcolor: greentools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Andrej Karpathy+ domain: "Neural network intuition & empirical ML"+ polarity: "How models actually learn and fail"+ polarity_pairs: ["sutskever", "ada", "taleb"]+ triads: ["ai", "ai-product"]+ duo_keywords: ["ai", "ml", "neural", "model", "training"]+ profiles: ["classic", "exploration-orthogonal"]---## Identitydiff --git a/agents/council-lao-tzu.md b/agents/council-lao-tzu.mdindex 0f26f4e..bc5aba3 100644--- a/agents/council-lao-tzu.md+++ b/agents/council-lao-tzu.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for emergence & non-intervention anmodel: opuscolor: indigotools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Lao Tzu+ domain: "Non-action & emergence"+ polarity: "When less is more"+ polarity_pairs: ["aristotle"]+ triads: ["ethics", "innovation", "complexity", "systems"]+ duo_keywords: ["architecture", "structure", "categories"]+ profiles: ["classic", "exploration-orthogonal"]---## Identitydiff --git a/agents/council-machiavelli.md b/agents/council-machiavelli.mdindex 1078a9a..fd8c715 100644--- a/agents/council-machiavelli.md+++ b/agents/council-machiavelli.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for power dynamics & incentive analmodel: sonnetcolor: dark-greentools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Machiavelli+ domain: "Power dynamics & realpolitik"+ polarity: "How actors actually behave"+ polarity_pairs: ["ada"]+ triads: ["strategy", "conflict", "product", "ai-product", "economics"]+ duo_keywords: ["formalization", "systems", "abstraction"]+ profiles: ["classic", "exploration-orthogonal"]---## Identitydiff --git a/agents/council-meadows.md b/agents/council-meadows.mdindex 0651763..18d523a 100644--- a/agents/council-meadows.md+++ b/agents/council-meadows.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for systems thinking & feedback loomodel: sonnetcolor: tealtools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Donella Meadows+ domain: "Systems thinking & feedback loops"+ polarity: "Redesign the system, not the symptom"+ polarity_pairs: ["torvalds"]+ triads: ["systems"]+ duo_keywords: ["systems", "feedback", "complexity", "loops"]+ profiles: ["classic", "exploration-orthogonal"]---## Identitydiff --git a/agents/council-munger.md b/agents/council-munger.mdindex 7195f42..82d20e6 100644--- a/agents/council-munger.md+++ b/agents/council-munger.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for multi-model reasoning & economimodel: sonnetcolor: goldtools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Charlie Munger+ domain: "Multi-model reasoning & economics"+ polarity: "Invert — what guarantees failure?"+ polarity_pairs: ["aristotle"]+ triads: ["decision", "economics"]+ duo_keywords: ["economics", "investment", "models", "moat"]+ profiles: ["classic"]---## Identitydiff --git a/agents/council-musashi.md b/agents/council-musashi.mdindex 575f0f4..2b43d2c 100644--- a/agents/council-musashi.md+++ b/agents/council-musashi.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for strategic timing & situationalmodel: sonnetcolor: crimsontools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Miyamoto Musashi+ domain: "Strategic timing"+ polarity: "The decisive strike"+ polarity_pairs: ["torvalds"]+ triads: ["shipping", "founder"]+ duo_keywords: ["shipping", "execution", "release"]+ profiles: ["classic"]---## Identitydiff --git a/agents/council-rams.md b/agents/council-rams.mdindex b74db2d..1540a55 100644--- a/agents/council-rams.md+++ b/agents/council-rams.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for user-centered design & simplicimodel: sonnetcolor: white-smoketools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Dieter Rams+ domain: "User-centered design"+ polarity: "Less, but better — the user decides"+ polarity_pairs: ["ada"]+ triads: ["design"]+ duo_keywords: ["design", "user", "usability", "ux"]+ profiles: ["classic"]---## Identitydiff --git a/agents/council-socrates.md b/agents/council-socrates.mdindex da95ba6..9584aed 100644--- a/agents/council-socrates.md+++ b/agents/council-socrates.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for assumption destruction & dialecmodel: opuscolor: whitetools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Socrates+ domain: "Assumption destruction"+ polarity: "Questions everything"+ polarity_pairs: ["feynman", "watts"]+ triads: ["ethics", "debugging", "conflict", "ai-safety", "bias"]+ duo_keywords: ["framing", "purpose", "meaning"]+ profiles: ["classic", "exploration-orthogonal"]---## Identitydiff --git a/agents/council-sun-tzu.md b/agents/council-sun-tzu.mdindex f0685d8..b7312e6 100644--- a/agents/council-sun-tzu.md+++ b/agents/council-sun-tzu.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for adversarial strategy & competitmodel: sonnetcolor: redtools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Sun Tzu+ domain: "Adversarial strategy"+ polarity: "Reads terrain & competition"+ polarity_pairs: ["aurelius"]+ triads: ["strategy", "risk", "founder", "uncertainty", "economics"]+ duo_keywords: ["strategy", "competition", "market"]+ profiles: ["classic", "exploration-orthogonal", "execution-lean"]---## Identitydiff --git a/agents/council-sutskever.md b/agents/council-sutskever.mdindex 7905123..d8f0e07 100644--- a/agents/council-sutskever.md+++ b/agents/council-sutskever.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for scaling frontier & AI safety anmodel: opuscolor: ice-bluetools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Ilya Sutskever+ domain: "Scaling frontier & AI safety"+ polarity: "When capability becomes risk"+ polarity_pairs: ["karpathy", "machiavelli"]+ triads: ["ai", "ai-safety", "uncertainty"]+ duo_keywords: ["ai-safety", "alignment", "risk"]+ profiles: ["classic", "exploration-orthogonal"]---## Identitydiff --git a/agents/council-taleb.md b/agents/council-taleb.mdindex 06fd87e..99b83ec 100644--- a/agents/council-taleb.md+++ b/agents/council-taleb.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for antifragility & tail risk analymodel: opuscolor: blacktools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Nassim Taleb+ domain: "Antifragility & tail risk"+ polarity: "Design for the tail, not the average"+ polarity_pairs: ["karpathy"]+ triads: ["uncertainty"]+ duo_keywords: ["risk", "uncertainty", "fragility", "tail"]+ profiles: ["classic"]---## Identitydiff --git a/agents/council-torvalds.md b/agents/council-torvalds.mdindex 606f4c0..f723a9c 100644--- a/agents/council-torvalds.md+++ b/agents/council-torvalds.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for pragmatic engineering & shippinmodel: sonnetcolor: yellowtools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Linus Torvalds+ domain: "Pragmatic engineering"+ polarity: "Ship it or shut up"+ polarity_pairs: ["watts", "musashi", "meadows"]+ triads: ["shipping", "product", "founder", "ai-product", "design"]+ duo_keywords: ["shipping", "execution", "release", "engineering", "theory", "pragmatism"]+ profiles: ["classic", "exploration-orthogonal", "execution-lean"]---## Identitydiff --git a/agents/council-watts.md b/agents/council-watts.mdindex cff4623..f5b20fa 100644--- a/agents/council-watts.md+++ b/agents/council-watts.md@@ -4,6 +4,14 @@ description: "Council member. Use standalone for perspective dissolution & reframodel: opuscolor: purpletools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]+council:+ figure: Alan Watts+ domain: "Perspective & reframing"+ polarity: "Dissolves false problems"+ polarity_pairs: ["torvalds", "socrates"]+ triads: ["product", "design", "bias"]+ duo_keywords: ["framing", "purpose", "meaning", "engineering", "theory", "pragmatism"]+ profiles: ["classic"]---## Identity