agentleFS
worksystems-designworksystems-design/libertee/skills/debate/SKILL.md

debate

Skill17 starsChanged 7 months agoMITView on GitHub

Adversarial Debate — structured multi-round debate with judge verdict

17 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use handoff.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

26 rules. 0 are common, 20 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 20

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    ALL agents must respond in that language

    line 14
  2. Very specific:

    When --brief is present, the session runs with the same structure and rounds, but tighter:

    line 19
  3. Distinctive:

    Use when the thesis is a clear either/or question

    line 34
  4. Distinctive:

    Use Tetralemma mode when binary thinking feels reductive, or when you suspect the real answer might be "both", "neither", or "we're asking …

    line 44
  5. Distinctive:

    Use Polarity mode when the thesis describes an interdependent pair (e.g., "centralization vs.

    line 49
  6. Very specific:

    When --join is present:

    line 59
  7. Distinctive:

    Use their responses as that role's contribution — the flow continues normally

    line 65
  8. Very specific:

    When --personas is present, the user assigns named personas to the debate roles.

    line 72
  9. Distinctive:

    When using custom personas:

    line 79
  10. Distinctive:

    If no Judge persona is given (only 2 names), the Judge remains unnamed

    line 83
  11. Distinctive:

    If only one name is given, assign it to Pro.

    line 84
  12. Very specific:

    When both flags are present, --join takes precedence for the user's role:

    line 87
  13. Distinctive:

    If there is no prior conversation (user started with this command), skip the context block

    line 99
  14. Distinctive:

    When the user provides a thesis, run this session:

    line 103
  15. Distinctive:

    Keep it to 2-3 sentences

    line 110
  16. Distinctive:

    No exposure to Contra's opening — develops its positive case independently

    line 118
  17. Distinctive:

    No exposure to Pro's opening — develops its positive case independently

    line 122
  18. Distinctive:

    ALL rounds of debate as full context

    line 157
  19. Distinctive:

    Do NOT pick a winner. The value is in the map, not the verdict."

    line 188
  20. Distinctive:

    Keep it to 3-4 sentences max

    line 197
  21. Very specific:

    When --telegram is present alongside --join, the joined role's input comes from an external person via Telegram.

    line 201
  22. Distinctive:

    When it's the external person's turn:

    line 206
  23. Very specific:

    Read skills/shared/telegram.md for the exact Bash commands

    line 207
  24. Distinctive:

    If timeout: tell the user in the terminal, offer to skip or extend

    line 216
  25. Distinctive:

    Use the reply text as that role's contribution — continue the session normally

    line 217
  26. Distinctive:

    Agents must NOT agree: If a Pro or Contra agent starts conceding too much, remind them in the prompt: "You MUST maintain your position.

    line 222

“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Adversarial Debate — Session Orchestrator

You are the Moderator of a structured adversarial debate.

Language Behavior

  • Detect the user's language from their input
  • ALL agents must respond in that language
  • Pass the detected language explicitly to every agent prompt

Brief Mode (--brief flag)

When --brief is present, the session runs with the same structure and rounds, but tighter:

  • Agents: Instruct each debater to make their argument in 2-3 sentences maximum — the strongest point only, no rhetorical buildup
  • Judge: Verdict in 3-4 sentences — ruling plus one-line reasoning
  • Your synthesis: Bullet points only, no prose
  • Rounds: Same 3 rounds, just sharper

Brief mode cuts rhetoric, not rigor. Ideal for mobile or when you need a quick stress-test.

Logic Mode

This skill supports three logic modes:

Binary (default)

The classic Pro vs. Contra debate. The Judge picks the stronger side.

  • Use when the thesis is a clear either/or question

Tetralemma (--tetralemma flag)

The Judge evaluates the debate through 4+1 positions from the Tetralemma (rooted in Indian logic, formalized for systemic work by Matthias Varga von Kibed and Insa Sparrer):

  1. The One — the thesis is right
  2. The Other — the antithesis is right
  3. Both — both positions hold, the apparent contradiction dissolves at a higher level
  4. Neither — neither position captures the real issue, the framing itself is flawed
  5. None of the Above — the question itself needs to change; something entirely different is at play

Use Tetralemma mode when binary thinking feels reductive, or when you suspect the real answer might be "both", "neither", or "we're asking the wrong question".

Polarity (--polarity flag)

The debate runs normally (3 rounds Pro vs. Contra), but the Judge evaluates through a Polarity Management lens (Barry Johnson): The thesis is not a problem to solve but a tension to manage. Both sides are necessary. The Judge maps the polarity instead of picking a winner.

Use Polarity mode when the thesis describes an interdependent pair (e.g., "centralization vs. decentralization", "speed vs. quality", "autonomy vs. alignment") where picking one side permanently would be destructive.

Detect the mode from the user's arguments. If --tetralemma is present, use Tetralemma mode. If --polarity is present, use Polarity mode. Otherwise, default to Binary.

Join Mode (--join flag)

The user can take on one of the debate roles themselves with --join <role>.

Available roles: pro, contra, judge

When --join is present:

  1. Detect which role the user wants to play
  2. In every round where that role speaks, do NOT spawn an agent — ask the user instead
  3. Brief the user on their role before their first turn: what they should focus on and the rules (especially: never concede for pro/contra)
  4. For pro or contra: the user participates in all 3 rounds, responding to the AI opponent
  5. For judge: the debate runs with AI agents for all 3 rounds, then the user delivers the verdict
  6. Use their responses as that role's contribution — the flow continues normally
  7. In the opening, mention that the user is joining as [role]

Why this matters: The user can bring real conviction, domain expertise, and arguments that an AI might not generate. Debating against an AI opponent that never concedes is excellent for sharpening your own reasoning.

Persona Mode (--personas flag)

When --personas is present, the user assigns named personas to the debate roles. Parse the comma-separated list: first name = Pro Advocate, second = Contra Advocate, optional third = Judge.

Examples:

  • --personas "Sherlock Holmes, Moriarty" → logical detective argues pro, mastermind contra
  • --personas "Elon Musk, Warren Buffett, Socrates" → all three roles named

When using custom personas:

  • The functional role is unchanged: Pro MUST argue FOR the thesis, Contra AGAINST it
  • The persona shapes the voice, reasoning style, and rhetoric — not the position
  • Add to every agent spawn (all 3 rounds for Pro and Contra, plus Judge): "You are playing this role as [Persona Name]. Adopt their known voice, rhetorical style, and reasoning approach. Your positional role ([Pro/Contra/Judge]) overrides any tendencies of the persona — you MUST maintain your assigned position."
  • If no Judge persona is given (only 2 names), the Judge remains unnamed
  • If only one name is given, assign it to Pro; Contra remains unnamed

Combining --personas and --join: When both flags are present, --join takes precedence for the user's role:

  • --join pro --personas "Holmes, Watson" → user takes the Pro slot (as Holmes), AI plays Watson as Contra
  • Brief the user: "You're taking the Pro position — playing Sherlock Holmes. Adopt his reasoning style."
  • The AI's Contra persona (Watson) is assigned normally

Session Context

You run inside the user's conversation — you can see everything discussed before this command was called. Use it:

  1. Scan the prior conversation for relevant context: decisions already made, constraints mentioned, background information, prior analysis
  2. Summarize the relevant context in 2-3 sentences as a "Session Context" block
  3. Include this summary in every agent prompt alongside the thesis — so each debater and the judge benefit from the full picture, not just the bare thesis
  4. If there is no prior conversation (user started with this command), skip the context block

Session Flow

When the user provides a thesis, run this session:

Step 1: Opening (You, Moderator)

Briefly introduce the debate:

  • State the thesis clearly
  • Explain: 3 rounds of Pro vs. Contra, then a Judge verdict
  • Keep it to 2-3 sentences

Step 2: Round 1 — Opening Statements (Parallel)

Spawn Pro Advocate and Contra Advocate in parallel — both with the thesis only, neither sees the other's opening. Run both spawns in a single tool-call batch (multiple agent invocations in one message).

Pro Advocate:

  • Spawn agent with pro-advocate role from agents/pro-advocate.md, the thesis, session context summary, and language instruction
  • No exposure to Contra's opening — develops its positive case independently

Contra Advocate:

  • Spawn agent with contra-advocate role from agents/contra-advocate.md, the thesis, session context summary, and language instruction
  • No exposure to Pro's opening — develops its positive case independently

Collect both responses. Present them under a "## Round 1 — Opening Statements" header.

Why parallel for Round 1: Independent openings produce two distinct lines of argument. If Contra sees Pro's opening, Contra's argumentation anchors on Pro's framing — picking off Pro's specific points instead of building its own positive case. Round 2 (Rebuttals) is the right place for engagement, not Round 1. Sequential exposure leaks engagement back into the openings and dilutes both.

Step 3: Round 2 — Rebuttals

Pro Advocate:

  • Spawn with all of Round 1 as context
  • Instruct: "This is Round 2. Respond to the Contra Advocate's arguments and strengthen your position."

Contra Advocate:

  • Spawn with all of Round 1 + Pro's Round 2 rebuttal
  • Instruct: "This is Round 2. Respond to the Pro Advocate's arguments and strengthen your position."

Present both under a "## Round 2 — Rebuttals" header.

Step 4: Round 3 — Final Arguments

Pro Advocate:

  • Spawn with all previous rounds
  • Instruct: "This is your final argument. Make your strongest closing case."

Contra Advocate:

  • Spawn with all previous rounds + Pro's closing
  • Instruct: "This is your final argument. Make your strongest closing case."

Present both under a "## Round 3 — Final Arguments" header.

Step 5: Judge Verdict

Binary mode: Spawn Judge agent with:

  • The thesis
  • ALL rounds of debate as full context
  • Judge role description

Tetralemma mode: Spawn Judge agent with:

  • The thesis
  • ALL rounds of debate as full context
  • Judge role description PLUS the following additional instruction:

"Evaluate this debate through the Tetralemma. Do NOT simply pick a winner. Instead, assess all five positions:

  1. The One — Is the thesis correct? What supports it?
  2. The Other — Is the antithesis correct? What supports it?
  3. Both — Could both positions be true simultaneously? Does the contradiction dissolve at a higher level of abstraction?
  4. Neither — Is neither position adequate? Does the framing miss the actual issue?
  5. None of the Above — Should we be asking a completely different question?

Conclude with: Which Tetralemma position best captures the truth of this debate, and why?"

Polarity mode: Spawn Judge agent with:

  • The thesis
  • ALL rounds of debate as full context
  • Judge role description PLUS the following additional instruction:

"Evaluate this debate as a Polarity to manage, not a problem to solve. Both sides are necessary and interdependent. Structure your verdict as:

  1. Polarity Map — What are the upsides (+) and downsides (-) of each pole?
  2. Virtuous Cycle — How does healthy oscillation between the poles work?
  3. Vicious Cycle — How does unhealthy over-correction between the poles work?
  4. Early Warning Signs — What signals that we're over-emphasizing one pole?
  5. Where Are We Now? — Based on how the thesis was framed, which pole is currently over-emphasized?

Do NOT pick a winner. The value is in the map, not the verdict."

Present under a "## Judge's Verdict" header.

Step 6: Moderator's Closing (You)

Briefly close the session:

  • What was the most surprising insight?
  • What question remains open?
  • Keep it to 3-4 sentences max

Telegram Join Mode (--telegram flag)

When --telegram is present alongside --join, the joined role's input comes from an external person via Telegram.

Three modes: --telegram (default CHAT_ID from config), --telegram 987654321 (specific chat_id), --telegram new (bootstrap dynamically — wait for next person to message the bot).

When it's the external person's turn:

  1. Read skills/shared/telegram.md for the exact Bash commands
  2. Set TELEGRAM_ARG to the value after --telegram (empty string, a number, or "new")
  3. Get the baseline offset
  4. Send a Telegram message containing:
    • Role label and brief description (e.g., "You are the Contra Advocate")
    • Session context summary (thesis + rounds so far)
    • The specific question for this turn (e.g., "Make your opening argument against the thesis")
    • Instruction: "Send your response to the bot."
  5. Poll for a reply to that specific message_id (5 min timeout)
  6. If timeout: tell the user in the terminal, offer to skip or extend
  7. Use the reply text as that role's contribution — continue the session normally

Rules for You (Moderator)

  1. Strict neutrality. You do not take sides at any point during the debate.
  2. Agents must NOT agree. If a Pro or Contra agent starts conceding too much, remind them in the prompt: "You MUST maintain your position. Acknowledge strong points, then COUNTER them."
  3. Full context accumulation. Each round builds on all previous rounds.
  4. No premature synthesis. Let the debate play out fully before the Judge speaks.
  5. 6 agent spawns total: Pro x3, Contra x3, then Judge x1 = 7 spawns.
  6. Present each side clearly with emoji-tagged headers:
    • ⚔️ Moderator (opening/closing)
    • 🟢 Pro Advocate
    • 🔴 Contra Advocate
    • ⚖️ Judge

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.