0xrichyrich/agent-debate/SKILL.md
# Agent Debate Skill Spawn multiple sub-agents to debate approaches and converge on the best solution. ## Overview Uses parallel sub-agents with file-based coordination to simulate adversarial debate. Each agent investigates independently, writes findings, then a synthesis agent reviews all positions and picks the winner. ## Pattern: Competing Hypotheses Best for: architecture decisions, debugging, strategy, trade analysis ### How It Works 1. **Lead defines the question** and spawns 2-4 d
npx skillsauth add openclaw/skills 0xrichyrich/agent-debateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Spawn multiple sub-agents to debate approaches and converge on the best solution.
Uses parallel sub-agents with file-based coordination to simulate adversarial debate. Each agent investigates independently, writes findings, then a synthesis agent reviews all positions and picks the winner.
Best for: architecture decisions, debugging, strategy, trade analysis
plans/debate-{id}/agent-{n}.mdplans/debate-{topic}/
├── question.md # The question being debated
├── agent-1.md # Agent 1's position
├── agent-2.md # Agent 2's position
├── agent-3.md # Agent 3's position (optional)
├── rebuttal-1.md # Agent 1's rebuttal (round 2)
├── rebuttal-2.md # Agent 2's rebuttal (round 2)
├── synthesis.md # Final synthesis and verdict
└── decision.md # Lead's final decision
3 agents, one round, synthesis. ~5 minutes.
1. Write question to plans/debate-{topic}/question.md
2. Spawn 3 agents simultaneously:
- Agent A: "Argue FOR approach X. Read plans/debate-{topic}/question.md. Write your position with evidence to plans/debate-{topic}/agent-1.md"
- Agent B: "Argue FOR approach Y. Read plans/debate-{topic}/question.md. Write your position with evidence to plans/debate-{topic}/agent-2.md"
- Agent C: "Argue FOR approach Z. Read plans/debate-{topic}/question.md. Write your position with evidence to plans/debate-{topic}/agent-3.md"
3. Wait for all to complete
4. Spawn synthesis agent:
"Read all positions in plans/debate-{topic}/. Score each on: feasibility (1-10), risk (1-10), speed (1-10), quality (1-10). Write verdict to plans/debate-{topic}/synthesis.md"
3 agents, position + rebuttal, synthesis. ~10 minutes.
Round 1: Same as single round (positions)
Round 2: Each agent reads others' positions and writes rebuttals
- "Read all agent-*.md files. Write a rebuttal challenging the other positions. Save to rebuttal-{n}.md"
Round 3: Synthesis reads everything and decides
1 builder + 1 attacker. Best for security/robustness.
1. Builder: "Design/implement X. Write to plans/debate-{topic}/proposal.md"
2. Attacker: "Read proposal.md. Find every flaw, vulnerability, and edge case. Write to plans/debate-{topic}/attack.md"
3. Builder: "Read attack.md. Address each issue. Write to plans/debate-{topic}/defense.md"
4. Synthesis: "Score the final defense. Is it production-ready?"
✅ Architecture decisions with multiple valid approaches ✅ Debugging with unclear root cause ✅ Trading strategy evaluation ✅ Security review (red team pattern) ✅ Hackathon approach selection
❌ Simple implementation tasks ❌ Tasks with one obvious answer ❌ Sequential work with dependencies
Question: "Should Nudge use Turso (SQLite) or Supabase (Postgres) for production?"
Agent 1: Argue for Turso — edge computing, simplicity, cost
Agent 2: Argue for Supabase — ecosystem, realtime, auth
Agent 3: Devil's advocate — what about a hybrid approach?
Question: "Is ETH undervalued at current levels given macro conditions?"
Agent 1: Bull case — on-chain metrics, upcoming catalysts
Agent 2: Bear case — macro headwinds, technical levels
Agent 3: Neutral — range-bound thesis with key levels to watch
Question: "App crashes on iOS 17 but not 18. What's the root cause?"
Agent 1: Investigate API deprecation changes
Agent 2: Investigate SwiftUI rendering pipeline differences
Agent 3: Investigate memory management changes
The debate pattern works across the swarm:
When OpenClaw supports Claude Code's agent teams natively:
tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。