Multi Agent Debate — Development skill for Claude Code
Claude Code slash command: structured multi-agent debates between Claude and Codex for collaborative problem solving.
How to install Multi Agent Debate
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open hakin19/multi-agent-debate and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Multi Agent Debate does
Claude Code slash command: structured multi-agent debates between Claude and Codex for collaborative problem solving.
Alternatives in Development
- Agent.System.Main.Solving — Problem solving 19k ★
- Codexmcp — Enable seamless collaboration between Claude Code and Codex, transforming from a single agent to multiple agen 2k ★
- /gemini Consult — Engages in deep, iterative conversations with Gemini MCP for complex problem-solving 1.3k ★
README
Multi-Agent Debate
A structured debate protocol for AI coding agents. Two agents independently diagnose a problem, critique each other's work, and iterate toward consensus — producing better solutions than either agent alone.
The included implementation uses [Claude Code](https://docs.anthropic.com/en/docs/claude-code) and [Codex CLI](https://github.com/openai/codex) as the two agents, but the protocol is framework-agnostic and can be adapted to any combination of AI coding assistants.
Why Debate?
A single AI agent can miss things. Two agents reviewing each other's work catch more bugs, surface edge cases, and build confidence in the final fix — the same way human code review works. The structured protocol ensures agents engage critically rather than rubber-stamping each other's proposals.
How It Works
- Independent Diagnosis — Both agents independently investigate the problem, identify root causes, and propose fixes.
- Cross-Review — Each agent critically reviews the other's work, identifying agreements, disagreements, and missed issues.
- Iterative Revision — Agents revise their proposals based on critique, defending or updating their positions with evidence.
- Consensus or Escalation — The loop continues until both agents agree (consensus) or max rounds are reached (you decide).
- Implementation — The agreed-upon fix is implemented automatically.
All agent outputs are saved to a `.debate/` workspace for full auditability.
The Protocol
The debate follows a structured loop with clear prompt templates for each phase:
| Phase | What Happens |
|---|---|
| Diagnose | Both agents independently read code and propose a root cause + fix |
| Review | Each agent critiques the other's proposal |
| Check | Facilitator checks if disagreements remain |
| Revise | Agents update proposals based on critique (or defend their position) |
| Loop | Repeat review → check → revise until consensus or max round |
Related Skills
Rageatc OSS
Practical Claude Code / Cowork plugins for sharper thinking and structured problem-solving the slow way
Ultra Think
Deep analysis and problem solving with multi-dimensional thinking
Boss VS Engineer
You are the /boss-vs-engineer command. You orchestrate a structured debate between an engineer and a boss.
Debate Topic
Run a structured multi-agent deliberation on a specified topic
ForgeBee
Claude Code and OpenClaw are powerful out of the box. ForgeBee makes them opinionated and structured — so your
Consulting Problem Solving
Consulting problem solving skill for Claude
Related Agents
Debate Orchestrator
Orchestrate multi-round debates between AI tools. Manages proposer/challenger rounds, builds cross-tool prompt
Multi Agent
PROACTIVELY use this agent for collaborative problem-solving through specialized agent coordination. Orchestra
Collaborator Agent
Specializes in multi-agent brainstorming, collaborative problem-solving, and cross-agent communication for com