Agent skill

Debate Vs

by raine in raine/consult-llm

The agent debates an opponent LLM through a multi-turn conversation, then synthesizes the best approach and implements.

MITAuto-check passedAgent Workflows

Install Debate Vs

skills CLI
$ npx skills add raine/consult-llm --skill debate-vs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install raine/consult-llm debate-vs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/raine/consult-llm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/debate-vs .claude/skills/debate-vs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
debate-vs
GitHub stars
139
Token cost
~2.5k tokens
SKILL.md length
952 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

The agent debates an opponent LLM through a multi-turn conversation, then synthesizes the best approach and implements.

  • Works in 8 steps: Load consult-llm Skill → Understand the Task (No Questions) → Opening Arguments → …
  • Agent Workflows work in your project
  • SKILL.md covers Available models, Phase 0: Load consult-llm Skill, Configuration and Phase 1: Understand the Task…, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Debate Vs is an agent skill from raine/consult-llm. The agent debates an opponent LLM through a multi-turn conversation, then synthesizes the best approach and implements.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. The repository describes itself as: Get a second opinion from another AI model. The licence is MIT.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “/debate-vs”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Load consult-llm Skill
  2. Understand the Task (No Questions)
  3. Opening Arguments
  4. Debate Rounds
  5. Synthesis and Plan
  6. Implement
  7. Final Review
  8. Summary

What it can do on your machine

Read from SKILL.md and the folder at commit 69e3ecb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Debate Vs loads about 2.5k tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 952 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from raine/consult-llm at commit 69e3ecb, republished under its MIT licence (© raine). 952 words, ~2,516 tokens.

Download SKILL.mdSave it as .claude/skills/debate-vs/SKILL.md (or your agent's skills folder).
name
debate-vs
description
The agent debates an opponent LLM through a multi-turn conversation, then synthesizes the best approach and implements.

Debate an opponent LLM on the best implementation approach using multi-turn conversations, then synthesize and implement.

Load the consult-llm skill before proceeding — it defines the invocation contract (stdin heredoc, flags, output format, multi-turn). Do not call the CLI without loading it first.

Available models

Selectors resolvable in this environment (depends on configured API keys):

!`consult-llm models`

Phase 0: Load consult-llm Skill

Load it now. Follow its invocation contract for all CLI calls in this workflow.

Configuration

Arguments: $ARGUMENTS

Check the arguments for flags:

Opponent flag (exactly one required): any --<selector> from the Models block above (e.g. --gemini, --openai, --deepseek). Translates to -m <selector> for the CLI.

Mode flags:

  • --dry-run → debate and plan only, skip implementation
  • --skip-final → skip the final review phase
  • --rounds N → number of debate rounds (default: 1, max: 3). Each round = agent argues + opponent responds.

Strip all flags from arguments to get the task description.

Set variables from the opponent flag:

  • MODEL: the selector (e.g. gemini, openai)
  • OPPONENT: the same selector, used as the display label

If no --<selector> flag is provided, ask the user which opponent to use, listing the selectors from the Models block.

Phase 1: Understand the Task (No Questions)

  1. Explore the codebase - use Glob, Grep, Read to understand:

    • Relevant files and their structure
    • Existing patterns and conventions
    • Dependencies and interfaces

    Before planning or consulting, do enough research to understand how the requested behavior actually works. Before starting, think about what resources would be useful to obtain first: relevant source files, tests, logs, generated files, config, examples, command output, external docs, or authoritative upstream source. Gather the cheapest useful evidence before forming a plan.

    Do not stop at the first plausible file, definition, setting, or example. Follow references, callers, related tests, and runtime usage until you can explain the current behavior and the likely impact of changing it.

  2. Ground external semantics before planning - understand the requested behavior in the real system, not just this repo

    • If the task depends on an external product, CLI, API, protocol, file format, or ecosystem convention, verify the relevant behavior using the cheapest authoritative evidence available: local binaries/flags, generated files, official docs, public source, package/library code, or web search.
    • Capture only decision-relevant facts that affect scope, acceptance criteria, compatibility, or implementation constraints.
    • Do not create a separate research artifact unless the evidence materially changes the plan.
  3. Make evidence-backed assumptions - do NOT ask clarifying questions

    • Use best judgment based on codebase and external context
    • Prefer simpler solutions when ambiguous
    • Follow existing patterns in the codebase
  4. Prepare context summary - create a brief summary of:

    • The task to be implemented
    • Relevant files discovered
    • Key patterns and conventions in the codebase
    • Any constraints or considerations

Phase 2: Opening Arguments

Both debaters propose their approach independently.

Step 1: Agent's Opening Argument

You ARE the debater. Form your own implementation approach based on what you found in Phase 1. Write it out in full:

## Agent's Opening Argument

1. **Approach**: [2-3 sentences]
2. **Key decisions**: [architectural/design decisions]
3. **Files**: [files to create or modify]
4. **Steps**: [implementation steps]
5. **Trade-offs**: [pros and cons]

Present this to the user so they can see your position.

Step 2: Opponent's Opening Argument

Invoke consult-llm per the consult-llm skill with -m <MODEL> and -f <path> for each relevant source file discovered in Phase 1. Send the opening prompt below per the consult-llm invocation contract.

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.

Save the returned thread_id for subsequent rounds (see consult-llm's multi-turn section).

Present the opponent's opening argument to the user as ## OPPONENT's Opening Argument.

Phase 3: Debate Rounds

For each round (default 1, configurable with --rounds N):

Show full SKILL.md (387 more words)Show less
Agent's Turn

Analyze the opponent's latest argument. Write your rebuttal:

## Agent's Rebuttal (Round N)

1. **Critique**: [weaknesses in opponent's approach]
2. **Defense**: [address weaknesses opponent identified in your approach]
3. **Concessions**: [good ideas from opponent worth adopting]
4. **Updated position**: [your refined recommendation]

Present this to the user.

Opponent's Turn

Invoke consult-llm per the consult-llm skill with -m <MODEL> and -t <thread_id> (from the previous response), sending the rebuttal prompt below.

Rebuttal prompt:

Your opponent has responded with this rebuttal:

[Opponent's rebuttal from above]

Provide your counter-argument:
1. **Critique**: What are the weaknesses in your opponent's approach and rebuttal?
2. **Defense**: Address the weaknesses your opponent identified in your approach
3. **Concessions**: Are there any good ideas from your opponent worth adopting?
4. **Updated position**: State your refined recommendation

Be constructive but thorough in your critique.

Update the thread_id if a new one is returned.

Present the opponent's rebuttal to the user as ## OPPONENT's Rebuttal (Round N).

Phase 4: Synthesis and Plan

As both debater and moderator, synthesize the final approach:

  1. Score the arguments:

    • Which approach is simpler?
    • Which approach better fits existing patterns?
    • Which critiques were valid?
    • What concessions were made?
  2. Identify consensus: Where did you and the opponent agree?

  3. Resolve disagreements: For each point of contention:

    • Evaluate the arguments from both sides
    • Be honest about where the opponent had the stronger argument
    • Prefer simpler solutions when arguments are equally strong
  4. Write the verdict as part of the plan:

markdown
# [Feature Name] Implementation Plan

**Goal:** [One sentence describing what this builds]

## Debate Summary

**Agent's position:** [1-2 sentence summary] **OPPONENT's position:** [1-2
sentence summary]

**Points of agreement:**

- [Consensus point 1]
- [Consensus point 2]

**Resolved disagreements:**

- [Issue]: Agent said X, OPPONENT said Y → **Verdict:** [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:

  • Exact file paths - never "somewhere in src/"
  • Complete code - show the actual code
  • Small tasks - 2-5 minutes of work each
  • DRY, YAGNI - only what's needed
  • Be honest - credit the opponent when its ideas won

Save the plan to history/plan-<feature-name>.md.

Phase 5: Implement

If --dry-run: Skip to Phase 7 (Summary) - report the debate and plan without implementing.

Implement the plan without further interaction:

  1. Follow the plan exactly - implement each task in order
  2. Commit after each logical unit - keep commits small and focused
  3. If something is unclear - make a reasonable decision and note it in the commit message
  4. If a task fails - attempt to fix it before moving on
  5. Only stop if there's a blocking error that cannot be resolved

Implementation rules:

  • Work through tasks sequentially
  • Test changes when possible
  • Keep commits atomic and well-documented
  • Use commit messages that explain the "why"

Phase 6: Final Review

If --skip-final: Skip to Phase 7 (Summary).

After implementation, have the opponent review using the existing thread (full debate context):

Invoke consult-llm per the consult-llm skill with -m <MODEL>, --task review, -t <thread_id> (from the debate), --diff-files <path> for each changed file, and --diff-base HEAD~N, sending the final review prompt below.

Final review prompt:

Forget which side you argued during the debate. Review the implementation purely on its merits:
- Any bugs or edge cases missed?
- Code quality issues?
- Security concerns?

Be concise. Only flag issues worth fixing.

Apply fixes if the opponent identifies clearly valid concerns:

  • Fix bugs and edge cases
  • Commit each fix separately with clear messages

Skip minor style suggestions.

Phase 7: Summary

Present a final summary to the user:

## Summary

**Implemented:** [One sentence describing what was built]

**Debate outcome (Agent vs OPPONENT):**
- Agent advocated: [key position]
- OPPONENT advocated: [key position]
- Final verdict: [who won which points, synthesized approach]

**Key decisions from debate:**
- [Decision 1 - who proposed it and why it won]
- [Decision 2 - who proposed it and why it won]

**Post-implementation fixes:**
- [Fix applied after final review, if any]

**Commits:**
- `abc1234` - [commit message]
- `def5678` - [commit message]

© raine, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/debate-vs of raine/consult-llm.

Open the folder on GitHubat commit 69e3ecb

Compare with similar skills

Debate Vs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Debate Vs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Debate Vs this skillraine/consult-llm139—~2.5kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k11 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers296k2 repos~5.1kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k8 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    296k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed

More from raine/consult-llm

All 12 skills in this repo
  • Implement

    raine/consult-llm

    Explicit workflow for one bounded implementation using source-grounded discovery, a walking slice, evidence-gated review, validation, and commit.

    139 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check: notes
  • Collab

    raine/consult-llm

    Multiple LLMs collaboratively brainstorm solutions, building on each other's ideas across rounds.

    139 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Collab Vs

    raine/consult-llm

    The agent brainstorms with a partner LLM in alternating turns, building on each other's ideas.

    139 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Consult

    raine/consult-llm

    Consult an external LLM with the user's query. An agent skill from raine/consult-llm.

    139 GitHub stars~963 tokensUpdated yesterday
    Auto-check: notes
  • Consult LLM

    raine/consult-llm

    How to invoke the consult-llm CLI. An agent skill from raine/consult-llm.

    139 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check: notes
  • Debate

    raine/consult-llm

    LLMs propose and critique approaches, agent moderates the debate and synthesizes the best solution, then implements.

    139 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Debate Vs

What does Debate Vs do?

The agent debates an opponent LLM through a multi-turn conversation, then synthesizes the best approach and implements. Debate Vs is an agent skill from raine/consult-llm. The agent debates an opponent LLM through a multi-turn conversation, then synthesizes the best approach and implements.

When should I use Debate Vs?

Debate Vs fits situations like: agent Workflows work in your project.

How do I install Debate Vs in Claude Code?

Run `npx skills add raine/consult-llm --skill debate-vs -a claude-code`. Or copy the skill folder (skills/debate-vs in raine/consult-llm) into .claude/skills/debate-vs in your project. Claude Code loads it when a task matches its description.

How do I install Debate Vs in Codex?

Run `npx skills add raine/consult-llm --skill debate-vs -a codex`. Or copy the skill folder (skills/debate-vs in raine/consult-llm) into .agents/skills/debate-vs in your project. Codex loads it when a task matches its description.

Can I use Debate Vs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add raine/consult-llm --skill debate-vs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/debate-vs, .gemini/skills/debate-vs, .github/skills/debate-vs and .opencode/skills/debate-vs in your project.

What does Debate Vs need to run?

SKILL.md names no scripts, command-line tools or credentials: Debate Vs is instructions for the agent only.

Does Debate Vs access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Debate Vs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Debate Vs use?

Debate Vs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Debate Vs use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Debate Vs?

Skills that share tags, products or a category with Debate Vs: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Debate Vs?

raine (a GitHub user) maintains it in raine/consult-llm, which has 139 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.

Source: raine/consult-llm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.