From agent-workflows
Spawns agent teams to debate trade-offs among divergent findings from /diverge or research, converging on refined synthesis. Useful after exploration for decision refinement.
npx claudepluginhub sjarmak/agent-workflowsThis skill uses the workspace's default tool permissions.
Structured debate and refinement using Agent Teams. Takes divergent findings (from /diverge or any independent research) and spawns a team where teammates advocate for different positions, debate trade-offs, and converge on a refined synthesis.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Structured debate and refinement using Agent Teams. Takes divergent findings (from /diverge or any independent research) and spawns a team where teammates advocate for different positions, debate trade-offs, and converge on a refined synthesis.
$ARGUMENTS — format: [N] [path/to/diverge_output.md or inline topic] where N is optional number of debaters (default: 3, min 2, max 5)
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1)Extract:
Check that Agent Teams is enabled. If not, inform the user:
Agent Teams is required for /converge. Enable it by adding to your Claude Code settings:
"env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" }
Or use /diverge for independent exploration without debate.
If a file path is provided: read the file and extract the key tensions, divergence points, and competing recommendations.
If inline input: parse the competing positions from the description.
If neither is clear: ask the user what positions or findings should be debated.
Prepare a debate brief that includes:
Present the debate brief and position assignments to the user for confirmation.
Create an agent team with the following structure:
Team Lead (you): Moderator and synthesizer. You frame rounds, call for responses, and produce the final synthesis.
Teammates: Each assigned one position to advocate for. Their instructions:
You are a debate participant in a structured convergence exercise.
## Debate Brief
{debate_brief}
## Your Position: {position_name}
{position_description}
## Your Role
You are the advocate for this position. Your job is to:
1. Make the strongest possible case for your position
2. Identify weaknesses in other positions when they're shared
3. Acknowledge genuine strengths of competing positions (steel-man, don't straw-man)
4. Propose concrete compromises when positions partially overlap
5. Be willing to update your view if presented with compelling arguments
## Communication Rules
- When you receive a message from another teammate, respond substantively
- Challenge weak arguments but acknowledge strong ones
- If you genuinely think another position is better on a specific dimension, say so
- Focus on trade-offs, not absolutism — most positions have merit in some context
## Output Format for Each Round
- **Claim**: Your key argument this round (1-2 sentences)
- **Evidence**: Supporting reasoning or data
- **Concession**: What the other positions get right
- **Challenge**: Specific weakness in a competing position
- **Synthesis Offer**: How your position could incorporate the best of others
Each teammate presents their strongest case. As lead, broadcast all opening positions so everyone can see them.
Each teammate responds to the positions they find most compelling or most flawed. Direct them to engage with specific claims from Round 1.
Each teammate proposes their best "combined" approach that incorporates insights from the debate. This is where compromise positions emerge.
Moderation rules:
After debate concludes, produce the convergence synthesis:
1. Resolved Points Positions where the team reached consensus through debate. Note what argument or evidence was decisive.
2. Refined Trade-offs Tensions that weren't resolved but are now better understood. For each:
3. Emerged Positions New approaches that didn't exist before the debate — combinations or compromises that teammates proposed during synthesis rounds.
4. Strongest Arguments The single most compelling argument from each position, preserved even if the overall position wasn't adopted.
5. Recommended Path A concrete recommendation that:
6. Debate Highlights Per-teammate: the single strongest contribution they made to the discussion.
If the debate was based on a /diverge PRD:
If no PRD exists, offer to draft one from the convergence synthesis.