ワンクリックで
debate3
Three-way LLM debate (Gemini, Codex, MiniMax) — each proposes, critiques the other two, then agent moderates and implements.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Three-way LLM debate (Gemini, Codex, MiniMax) — each proposes, critiques the other two, then agent moderates and implements.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Autonomously create a plan, consult Gemini and Codex for improvements, apply feedback, and implement. No user interaction - uses best judgment throughout.
Turn an idea into a concrete design through structured dialogue.
Gemini and Codex collaboratively brainstorm solutions, building on each other's ideas across rounds. Agent synthesizes the best ideas into a plan.
Claude brainstorms with an opponent LLM (Gemini or Codex) in alternating turns, building on each other's ideas. Synthesizes the best ideas into a plan.
Commit the staged changes. If there are no staged changes, stage all changes first.
Consult Gemini and Codex for high-level planning, synthesize into a detailed plan, implement, then get final review. No user interaction.
| name | debate3 |
| description | Three-way LLM debate (Gemini, Codex, MiniMax) — each proposes, critiques the other two, then agent moderates and implements. |
Three-way debate between Gemini, Codex, and MiniMax. Each proposes independently, critiques the other two, then the agent moderates and implements.
Arguments: $ARGUMENTS
Check the arguments for flags:
Mode flags:
--dry-run → debate and plan only, skip implementation--skip-final → skip the final review phase--skip-explore → skip Phase 1 codebase exploration, go straight to the debateStrip all flags from arguments to get the task description.
If --skip-explore: Skip the exploration step. Use only the task description and any files the user has already mentioned or that are obvious from the arguments. Proceed directly to Phase 2 with a minimal context summary.
Explore the codebase - use Glob, Grep, Read to understand:
Make reasonable assumptions - do NOT ask clarifying questions
Prepare context summary - create a brief summary of:
Have all three LLMs propose their approach independently (in parallel).
Opening prompt:
I need to implement the following task:
[Task description]
Here's what I found in the codebase:
[Context summary - relevant files, patterns, conventions]
Propose your implementation approach:
1. **Approach**: Describe your recommended approach in 2-3 sentences
2. **Key decisions**: List the main architectural/design decisions
3. **Files**: What files to create or modify
4. **Steps**: High-level implementation steps
5. **Trade-offs**: What are the pros and cons of this approach?
Be specific and opinionated. Defend your choices.
Spawn ALL THREE as parallel subagents (Agent tool, subagent_type: "general-purpose", model: "sonnet"). Each subagent prompt must include the full opening prompt text and file list so it can make the MCP call independently.
Gemini subagent — prompt must include:
mcp__consult-llm__consult_llm with model: "gemini", prompt: the opening prompt, files: [array of relevant source files][thread_id:xxx] prefixCodex subagent — prompt must include:
mcp__consult-llm__consult_llm with model: "openai", prompt: the opening prompt, files: [array of relevant source files][thread_id:xxx] prefixMiniMax subagent — prompt must include:
mcp__consult-llm__consult_llm with model: "minimax", prompt: the opening prompt, files: [array of relevant source files][thread_id:xxx] prefixExtract thread IDs: Save gemini_thread_id, codex_thread_id, and minimax_thread_id from the [thread_id:xxx] prefixes in the subagent responses.
Have each LLM critique the other two approaches (in parallel). Use thread_id to continue each LLM's conversation — they already have full context of the task and their own opening argument, so you only need to send the opponents' arguments.
Rebuttal prompt (same structure for all three, just swap the opponents' arguments):
Two other LLMs proposed alternative approaches:
**Opponent A:**
[First opponent's opening argument]
**Opponent B:**
[Second opponent's opening argument]
Provide a rebuttal:
1. **Critique A**: What are the weaknesses in Opponent A's approach?
2. **Critique B**: What are the weaknesses in Opponent B's approach?
3. **Defense**: Address any weaknesses in your own approach
4. **Concessions**: Are there any good ideas from either opponent worth adopting?
5. **Final position**: State your refined recommendation
Be constructive but thorough in your critique.
Spawn ALL THREE as parallel subagents (Agent tool, subagent_type: "general-purpose", model: "sonnet"). Each subagent prompt must include the full rebuttal prompt text and thread_id.
Gemini subagent — prompt must include:
mcp__consult-llm__consult_llm with model: "gemini", prompt: rebuttal prompt with Codex as Opponent A and MiniMax as Opponent B, thread_id: gemini_thread_id from Phase 2[thread_id:xxx] prefixCodex subagent — prompt must include:
mcp__consult-llm__consult_llm with model: "openai", prompt: rebuttal prompt with Gemini as Opponent A and MiniMax as Opponent B, thread_id: codex_thread_id from Phase 2[thread_id:xxx] prefixMiniMax subagent — prompt must include:
mcp__consult-llm__consult_llm with model: "minimax", prompt: rebuttal prompt with Gemini as Opponent A and Codex as Opponent B, thread_id: minimax_thread_id from Phase 2[thread_id:xxx] prefixAs the moderator, analyze the three-way debate and synthesize the best approach:
Score the arguments:
Identify consensus: Where did all three (or two of three) agree?
Resolve disagreements: For each point of contention:
Write the verdict as part of the plan:
# [Feature Name] Implementation Plan
**Goal:** [One sentence describing what this builds]
## Debate Summary
**Gemini's position:** [1-2 sentence summary]
**Codex's position:** [1-2 sentence summary]
**MiniMax's position:** [1-2 sentence summary]
**Points of agreement (all three):**
- [Consensus point 1]
**Majority agreements (2 of 3):**
- [Point]: [Who agreed] vs [Who dissented] → **Verdict:** [decision]
**Three-way disagreements:**
- [Issue]: Gemini said X, Codex said Y, MiniMax said Z → **Verdict:** [Your decision and why]
**Verdict:** [2-3 sentences on the final synthesized approach]
---
### Task 1: [Short description]
**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py` (lines 123-145)
**Steps:**
1. [Specific action]
2. [Specific action]
**Code:**
```language
// Include actual code, not placeholders
```
---
Guidelines:
Save the plan to history/plan-<feature-name>.md.
If --dry-run: Skip to Phase 7 (Summary) - report the debate and plan without implementing.
Implement the plan without further interaction:
Implementation rules:
If --skip-final: Skip to Phase 7 (Summary).
After implementation, have all three LLMs review the result (in parallel). Use thread_id to continue each LLM's conversation — they already have full context of the task and the debate, so you only need to send the review prompt and the diff.
Final review prompt:
The implementation is complete. Review the changes for bugs, issues, or improvements:
- Any obvious bugs or edge cases missed?
- Code quality issues (error handling, naming, structure)?
- Deviations from best practices?
- Security concerns?
Be concise. Only flag issues worth fixing.
Spawn ALL THREE as parallel subagents (Agent tool, subagent_type: "general-purpose", model: "sonnet"). Each subagent prompt must include the full review prompt, thread_id, and git_diff details.
Gemini subagent — prompt must include:
mcp__consult-llm__consult_llm with model: "gemini", prompt: the final review prompt, thread_id: gemini_thread_id from Phase 2, git_diff: { "files": [list of changed files], "base_ref": "HEAD~N" }[thread_id:xxx] prefixCodex subagent — prompt must include:
mcp__consult-llm__consult_llm with model: "openai", prompt: the final review prompt, thread_id: codex_thread_id from Phase 2, git_diff: { "files": [list of changed files], "base_ref": "HEAD~N" }[thread_id:xxx] prefixMiniMax subagent — prompt must include:
mcp__consult-llm__consult_llm with model: "minimax", prompt: the final review prompt, thread_id: minimax_thread_id from Phase 2, git_diff: { "files": [list of changed files], "base_ref": "HEAD~N" }[thread_id:xxx] prefixApply fixes if two or more reviewers identify the same issue, or if one raises a clearly valid concern:
Skip minor style suggestions or conflicting opinions.
Present a final summary to the user:
## Summary
**Implemented:** [One sentence describing what was built]
**Debate outcome:**
- Gemini advocated: [key position]
- Codex advocated: [key position]
- MiniMax advocated: [key position]
- Final verdict: [synthesized approach]
**Key decisions from debate:**
- [Decision 1 and why]
- [Decision 2 and why]
**Post-implementation fixes:**
- [Fix applied after final review, if any]
**Commits:**
- `abc1234` - [commit message]
- `def5678` - [commit message]