Agent skill
workflow-debate
Structured adversarial debate between AI councillors using Agent Teams to evaluate ideas, plans, or decisions. ALWAYS use when the user says "council", "debate this", "evaluate this idea", "challenge my plan", "stress-test", "devil's advocate", "multiple perspectives", "évaluer cette idée", "débattre", "challenger mon plan", "tester cette décision", or when the user wants rigorous multi-perspective analysis of a proposal, architecture decision, or strategic choice. Each councillor (visionary, critic, pragmatist, innovator, ethicist, domain expert) represents a distinct perspective and they challenge each other through cross-examination and peer exchange, producing a nuanced verdict (PROCEED / PROCEED WITH CONDITIONS / RECONSIDER / DO NOT PROCEED). Do NOT use for divergent brainstorming or idea generation — use workflow-brainstorm instead.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/workflow-debate-flosrn-claude
SKILL.md
Research backing: MIT studies show multi-perspective AI deliberation improves decision accuracy by 7-45%. The AI Council Framework and Debate-Based Consensus patterns demonstrate that structured disagreement surfaces blind spots that single-perspective analysis misses.
Economy mode (-e): no prerequisites, uses sequential subagents instead of Agent Teams.
<quick_start>
Minimal council (3 steps):
1. /council Should we migrate our monolith to microservices?
2. Councillors debate across 2 rounds (default)
3. Receive structured verdict: PROCEED / PROCEED WITH CONDITIONS / RECONSIDER / DO NOT PROCEED
With options:
/council -c 5 -r 3 -s -f security Our plan to store PII in a third-party service
</quick_start>
Flags:
| Flag | Default | Description |
|---|---|---|
-r N |
2 | Number of debate rounds (1-4) |
-c N |
4 | Number of councillors (3-6) |
-s |
false | Save transcript to .claude/output/council/ |
-e |
false | Economy mode: sequential subagents instead of Agent Teams |
-f X |
none | Focus domain: technical, business, UX, security, ethics, custom |
Councillor assignment by -c N:
| Count | Councillors |
|---|---|
| 3 | visionary, critic, pragmatist |
| 4 | + innovator (default) |
| 5 | + ethicist |
| 6 | + domain-expert (requires -f) |
Parse at start:
- Check for
-r N→ set{rounds}(default 2, clamp 1-4) - Check for
-c N→ set{councillor_count}(default 4, clamp 3-6) - Check for
-s→ set{save_mode}= true - Check for
-e→ set{economy_mode}= true - Check for
-f X→ set{focus}= X - Validate: if
-c 6without-f→ warn and reduce to 5 - Validate: if
-eand Agent Teams env var set → note economy override - Remove all flags from input → store as
{topic}
<state_variables> Capture at start and persist throughout all steps:
{topic}- The idea/plan to evaluate (flags removed){rounds}- Number of debate rounds (1-4, default 2){councillor_count}- Number of councillors (3-6, default 4){save_mode}- true if-sflag passed{economy_mode}- true if-eflag passed{focus}- Domain focus if-fpassed (technical/business/UX/security/ethics/custom){councillors}- List of active councillor roles{team_name}- Team name (if Agent Teams mode){output_dir}- Path to output directory (if save_mode){opening_statements}- Collected opening positions from step-02{debate_log}- Accumulated debate exchanges from step-03{position_evolution}- How each councillor's position changed across rounds </state_variables>
Summary:
| Role | Perspective | Agent Type |
|---|---|---|
| Moderator | Neutral orchestrator, synthesizer | Team lead (you) |
| Visionary | Potential, opportunities, best-case scenarios | Plan (read-only) |
| Critic | Flaws, risks, failure modes, worst-case | Plan (read-only) |
| Pragmatist | Feasibility, constraints, execution reality | Plan (read-only) |
| Innovator | Alternatives, creative reframings | Plan (read-only) |
| Ethicist | Human impact, moral implications, stakeholders | Plan (read-only, 5th) |
| Domain Expert | Specialized expertise per -f focus |
Plan (read-only, 6th) |
Phase 1: Setup (step-01)
- Parse flags and validate configuration
- Determine councillor roster based on
-c N - Create team (Agent Teams) or prepare sequential execution (economy)
- Spawn all councillors in parallel
Phase 2: Opening Statements (step-02)
- Each councillor independently analyzes the topic from their perspective
- No cross-contamination — councillors don't see each other's positions yet
- Moderator collects all opening statements
Phase 3: Debate Rounds (step-03)
- Share all positions with every councillor
- Each councillor must challenge 2+ specific points from others
- Peer exchange: councillors message each other directly via SendMessage
- Moderator injects anti-groupthink questions between rounds
- Track position evolution across rounds
- Repeat for
{rounds}rounds
Phase 4: Verdict (step-04)
- Synthesize consensus and dissensus points
- Build risk assessment matrix
- Produce structured verdict with confidence level
- Present strongest counter-argument (steelmanned)
- Save transcript (if
-s) and cleanup team
<step_files> Each step is a separate file for progressive context loading:
steps/step-01-setup.md- Parse flags, create team, spawn councillorssteps/step-02-opening.md- Independent opening statements (no cross-contamination)steps/step-03-debate.md- Cross-examination rounds + peer exchangesteps/step-04-verdict.md- Synthesis, verdict, cleanup </step_files>
<entry_point> <step_0 name="Initialize">
FIRST ACTION - Parse flags:
- Check for
-r N→ set{rounds}(default 2, validate 1-4) - Check for
-c N→ set{councillor_count}(default 4, validate 3-6) - Check for
-s→ set{save_mode}= true - Check for
-e→ set{economy_mode}= true - Check for
-f X→ set{focus}= X - Validate flag combinations (see parameters section)
- Remove flags from input → store as
{topic}
THEN: Load steps/step-01-setup.md to begin council setup.
</step_0>
</entry_point>
<execution_rules>
- Load one step at a time - Only load the current step file
- Persist state variables across all steps
- Follow next_step directive at end of each step
- You are the Moderator - Orchestrate, don't argue. Stay neutral.
- Economy mode - Use sequential Task calls with subagent_type
Planinstead of Agent Teams - Peer exchange is the differentiator - In standard mode, councillors MUST message each other directly
- Anti-groupthink - If positions converge too quickly, inject challenging questions
- Steelman, don't strawman - Present the strongest version of opposing arguments
- Read-only councillors - Councillors analyze and argue, they NEVER modify files
- Always cleanup - Shutdown all councillors + TeamDelete when done
</execution_rules>
<success_criteria>
- All councillors produced opening statements independently
- At least
{rounds}rounds of cross-examination completed - Peer exchange occurred (councillors challenged each other directly)
- Position evolution tracked across rounds
- Structured verdict produced with confidence level
- Consensus AND dissensus points identified
- Risk assessment matrix included
- Strongest counter-argument steelmanned
- Team cleaned up properly (shutdown + delete)
- Transcript saved (if
-sflag)
</success_criteria>
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?