multi-debate
Multi-Debate
Multiple model sessions debate the same task by writing files to a shared folder. Each turn, every session reads peers' previous-turn files, refines its position, writes its own. Repeats until convergence.
Invocation
User passes a folder path (slash arg or in-message). The first message contains the task. Each subsequent invocation advances one turn — user typically just types "next turn" or similar.
Identify yourself
Pick a stable filename slug from your own model identifier:
- Lowercase, hyphens only, no spaces, no dots (replace dots with hyphens)
- Examples:
opus-4-7,sonnet-4-6,gpt-5-5,gemini-3
Use the same slug every turn in the same folder.
Determine the turn
- List the folder (Bash
ls <folder>). - Count files matching
turn-*-<my-slug>.md. - My turn
N= count + 1. - If
N == 1→ turn 1 flow. Else → turnN>1flow.
Turn 1 flow
No peers to read. Write <folder>/turn-1-<my-slug>.md:
# Turn 1 — <my-slug>
## Reasoning
<thinking, plan, why this approach>
## Answer
<direct answer to the task>
## Confidence
<0-100>
## Converged
no
Reply to user, 1-3 lines: Turn 1 written. Answer: <one-line summary>. Awaiting peers.
Turn N>1 flow
-
List folder. Read every
turn-{N-1}-*.mdfile except your own. -
Compare your turn N-1 to each peer's. Note where you agree, where you disagree, and what they raise that's new.
-
Refine your answer based on their reasoning. Genuine refinement — change your mind when their argument is stronger; hold your ground when it isn't.
-
Write
<folder>/turn-{N}-<my-slug>.md:Turn N —
Reasoning
<refined thinking, what changed since your last turn and why>
Answer
Agreements
- With :
Disagreements
- With : they argued X, I hold Y because Z
Confidence
<0-100>
Converged
yes | no —
-
Reply to user, 1-3 lines: debate state. Example:
Turn 3 written. Converged with gpt-5-5 on approach A. Still diverging from sonnet-4-6 on B — they argue X, I argue Y. Confidence 75.
Rules
- Filename format strict:
turn-{N}-{model-slug}.md. Never overwrite a prior turn's file. - Use the exact section headers shown — peers parse them.
Converged: yesonly when you genuinely agree with every peer's most recent answer.- Full thinking goes in the file. User reply stays short — the file is the artifact, the reply is the status.
- Read only the previous turn (
N-1). Do not peek at peers' current-turn files even if they appear mid-run. - If peer files for
N-1are missing for some peers, proceed with the ones present and note the absence in## Disagreements.
More from marclelamy/skills
builder-review-loop
Use when one agent is implementing code and another agent must review the resulting changes, compare the summary against the actual files, decide whether to fix now or move on, and write the next tightly scoped prompt with context handoff guidance.
10code-commenting
Code commenting conventions for TypeScript/React projects. Use when adding comments to new files, reviewing uncommented code, or when user asks to document/comment code. Covers file headers, type annotations, function docs, inline comments, and what NOT to comment.
9frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
9find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
9marketing-ideas
When the user needs marketing ideas, inspiration, or strategies for their SaaS or software product. Also use when the user asks for 'marketing ideas,' 'growth ideas,' 'how to market,' 'marketing strategies,' 'marketing tactics,' 'ways to promote,' 'ideas to grow,' 'what else can I try,' 'I don't know how to market this,' 'brainstorm marketing,' or 'what marketing should I do.' Use this as a starting point whenever someone is stuck or looking for inspiration on how to grow. For specific channel execution, see the relevant skill (paid-ads, social-content, email-sequence, etc.).
8tdd
Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.
8