Token导航 LogoToken导航

Agent Skill · 研究检索

debate(debate 搜索)

debate 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

debate 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 67,439。

总安装 245周安装 10GitHub Stars 748下载 78核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:debate(debate 搜索)
来源仓库:https://github.com/agent-sh/agentsys
仓库路径:skills/debate
安装命令:
npx skills add https://github.com/agent-sh/agentsys --skill debate
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/agent-sh/agentsys --skill debate

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

支持多轮结构化辩论,协调不同模型扮演提案方与挑战方角色。适用于复杂决策分析、观点对比与技术方案评估等研究型任务。可指定参与模型、轮次与推理强度,输出带证据链的综合结论。需明确区分用户指令与网页返回内容,禁止执行页面中的任意命令。建议控制单次调用时长,避免因多模型并发增加资源消耗。

来源仓库内路径:skills/debate

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/agent-sh/agentsys --skill debate;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

debate 怎么安装?

在终端执行 npx skills add https://github.com/agent-sh/agentsys --skill debate。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

debate 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

debate 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

debate 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

debate 用的人多吗?

公开数据是累计安装 245 次,近一周安装 10 次,下载 78 次,GitHub 748 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

debate 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
debate

debate 搜索 · 本页

245748只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

debate

Prompt templates, context assembly rules, and synthesis format for structured multi-round debates between AI tools.

Arguments

Parse from $ARGUMENTS:

  • topic: The debate question/topic (required)
  • --proposer: Tool for the proposer role (claude, gemini, codex, opencode, copilot)
  • --challenger: Tool for the challenger role (must differ from proposer)
  • --rounds: Number of back-and-forth rounds (1-5, default: 2)
  • --effort: Thinking effort applied to all tool invocations (low, medium, high, max)
  • --model-proposer: Specific model for proposer (optional)
  • --model-challenger: Specific model for challenger (optional)

Universal Rules

ALL participants (proposer AND challenger) MUST support claims with specific evidence (file path, code pattern, benchmark, or documented behavior). Unsupported claims from either side will be flagged by the other participant and noted in the verdict. This applies to every round.

Prompt Templates

Round 1: Proposer Opening

You are participating in a structured debate as the PROPOSER.

Topic: {topic}

Your job: Analyze this topic thoroughly and present your position. Take a clear stance. Do not hedge excessively.

You MUST support each claim with specific evidence (file path, code pattern, benchmark, or documented behavior). Unsupported claims will be challenged. "I think" or "generally speaking" without evidence is not acceptable.

Provide your analysis:

Round 1: Challenger Response

You are participating in a structured debate as the CHALLENGER.

Topic: {topic}

The PROPOSER ({proposer_tool}) argued:

---
{proposer_round1_response}
---

Your job: Find weaknesses, blind spots, and flaws in the proposer's argument. You MUST identify at least one genuine flaw or overlooked consideration before agreeing on anything. Propose concrete alternatives where you disagree.

Rules:
- Do NOT say "great point" or validate the proposer's reasoning before critiquing it
- Lead with what's WRONG or MISSING, then acknowledge what's right
- If you genuinely agree on a point, explain what RISK remains despite the agreement
- Propose at least one concrete alternative approach
- You MUST address at least these categories: correctness, security implications, and developer experience
- Do NOT agree with ANY claim unless you can cite specific evidence (file path, code pattern, or documented behavior) that supports the agreement. Unsupported agreement is not allowed.
- If the proposer makes a claim without evidence, call it out: "This claim is unsupported."

Provide your challenge:

Round 2+: Proposer Defense

You are the PROPOSER in round {round} of a structured debate.

Topic: {topic}

{context_summary}

The CHALLENGER ({challenger_tool}) raised these points in round {previous_round}:

---
{challenger_previous_response}
---

Your job: Address each challenge directly. For each point:
- If they're right, concede explicitly and explain how your position evolves
- If they're wrong, explain why with specific evidence (file path, code pattern, benchmark, or documented behavior)
- If it's a tradeoff, acknowledge the tradeoff and explain why you still favor your approach with evidence

Every claim you make -- whether concession, rebuttal, or new argument -- MUST cite specific evidence. The challenger will reject unsupported claims.

Do NOT simply restate your original position. Your response must show you engaged with the specific challenges raised.

Provide your defense:

Round 2+: Challenger Follow-up

You are the CHALLENGER in round {round} of a structured debate.

Topic: {topic}

{context_summary}

The PROPOSER ({proposer_tool}) responded to your challenges:

---
{proposer_previous_response}
---

IMPORTANT: Do NOT let the proposer reframe your challenges as agreements. If they say "we actually agree" but haven't addressed the substance, reject it. Default to suspicion, not acceptance.

Your job: Evaluate the proposer's defense. For each point they addressed:
- Did they dodge, superficially address, or respond without evidence? Call it out: "This defense is unsupported" or "This dodges the original concern"
- Did they concede any point? Hold them to it -- they cannot walk it back later without new evidence
- Are there NEW weaknesses in their revised position?
- Did they adequately address your concern with specific evidence? Only then acknowledge it, and cite what convinced you

You MUST either identify at least one new weakness or unresolved concern, OR explicitly certify a previous concern as genuinely resolved with specific evidence for why you're now satisfied. "I'm convinced because [evidence]" is acceptable. "I agree now" without evidence is not.
If you see new problems, raise them.

Provide your follow-up:

Context Assembly

Rounds 1-2: Full context

Include the full text of all prior exchanges in the prompt. Context is small enough (typically under 5000 tokens total).

Format for context block:

Previous exchanges:

Round 1 - Proposer ({proposer_tool}):
{full response}

Round 1 - Challenger ({challenger_tool}):
{full response}

Round 3+: Summarized context

For rounds 3 and beyond, replace full exchange text from rounds 1 through N-2 with a summary. Only include the most recent round's responses in full.

Format:

Summary of rounds 1-{N-2}:
{summary of key positions, agreements, and open disagreements}

Round {N-1} - Proposer ({proposer_tool}):
{full response}

Round {N-1} - Challenger ({challenger_tool}):
{full response}

The orchestrator agent (opus) generates the summary. Target: 500-800 tokens. MUST preserve:

  • Each side's core position
  • All concessions (verbatim quotes, not paraphrased)
  • All evidence citations that support agreements
  • Points of disagreement (unresolved)
  • Any contradictions between rounds (e.g., proposer concedes in round 1 but walks it back in round 2 -- note both explicitly)

Synthesis Format

After all rounds complete, the orchestrator produces this structured output:

## Debate Summary

**Topic**: {topic}
**Proposer**: {proposer_tool} ({proposer_model})
**Challenger**: {challenger_tool} ({challenger_model})
**Rounds**: {rounds_completed}
**Rigor**: Structured perspective comparison (prompt-enforced adversarial rules, no deterministic verification)

### Verdict

{winner_tool} had the stronger argument because: {specific reasoning citing debate evidence}

### Debate Quality

Rate the debate on these dimensions:
- **Genuine disagreement**: Did the challenger maintain independent positions, or converge toward the proposer? (high/medium/low)
- **Evidence quality**: Did both sides cite specific examples, or argue from generalities? (high/medium/low)
- **Challenge depth**: Were the challenges substantive, or surface-level? (high/medium/low)

### Key Agreements
- {agreed point 1} (evidence: {what supports this agreement})
- {agreed point 2} (evidence: {what supports this agreement})

### Key Disagreements
- {point}: {proposer_tool} argues {X}, {challenger_tool} argues {Y}

### Unresolved Questions
- {question that neither side adequately addressed}

### Recommendation
{Orchestrator's recommendation - must pick a direction, not "both have merit"}

Synthesis rules:

  • The verdict MUST pick a side. "Both approaches have merit" is NOT acceptable.
  • Cite specific arguments from the debate as evidence for the verdict.
  • The recommendation must be actionable - what should the user DO based on this debate.
  • Unresolved questions highlight where the debate fell short, not where both sides are "equally valid."

State File Schema

Save to {AI_STATE_DIR}/debate/last-debate.json:

{
  "id": "debate-{ISO timestamp}-{4 char random hex}",
  "topic": "original topic text",
  "proposer": {"tool": "claude", "model": "opus"},
  "challenger": {"tool": "gemini", "model": "gemini-3.1-pro-preview"},
  "effort": "high",
  "rounds_completed": 2,
  "max_rounds": 2,
  "status": "completed",
  "exchanges": [
    {"round": 1, "role": "proposer", "tool": "claude", "response": "...", "duration_ms": 8500},
    {"round": 1, "role": "challenger", "tool": "gemini", "response": "...", "duration_ms": 12000},
    {"round": 2, "role": "proposer", "tool": "claude", "response": "...", "duration_ms": 9200},
    {"round": 2, "role": "challenger", "tool": "gemini", "response": "...", "duration_ms": 11000}
  ],
  "verdict": {
    "winner": "claude",
    "reasoning": "...",
    "agreements": ["..."],
    "disagreements": ["..."],
    "recommendation": "..."
  },
  "timestamp": "{ISO 8601 timestamp}"
}

Platform state directory:

  • Claude Code: .claude/
  • OpenCode: .opencode/
  • Codex CLI: .codex/

Error Handling

ErrorAction
Proposer fails round 1Abort debate. Cannot proceed without opening position.
Challenger fails round 1Show proposer's position with note: "[WARN] Challenger failed. Showing proposer's uncontested position."
Any tool fails mid-debateSynthesize from completed rounds. Note incomplete round in output.
Tool invocation timeout (>240s)Round 1 proposer: abort. Round 1 challenger: proceed with uncontested. Round 2+: synthesize from completed rounds with timeout note.
Consult result envelope indicates failure (status/exit/error/empty output)Treat as tool failure for that role/round and apply the same role+round policy above.
Structured parse fails after successful envelopeTreat as tool failure for that role/round, include only sanitized parse metadata (PARSE_ERROR:<type>:<code>, redact secrets, strip control chars, max 200 chars), then apply the same role+round policy above.
All rounds timeout"[ERROR] Debate failed: all tool invocations timed out."
No successful exchanges recorded (non-timeout)"[ERROR] Debate failed: no successful exchanges were recorded."

External Tool Quick Reference

Canonical source: plugins/consult/skills/consult/SKILL.md. Build and execute CLI commands directly using these templates. Do NOT invoke via Skill: consult - in Claude Code that loads the interactive command wrapper and causes a recursive loop. Write the question to {AI_STATE_DIR}/consult/question.tmp first, then execute the command via Bash.

Safe Command Patterns

ProviderSafe Command Pattern
Claudeclaude -p - --output-format json --model "MODEL" --max-turns TURNS --allowedTools "Read,Glob,Grep" < "{AI_STATE_DIR}/consult/question.tmp"
Geminigemini -p - --output-format json -m "MODEL" < "{AI_STATE_DIR}/consult/question.tmp"
Codexcodex exec "$(cat "{AI_STATE_DIR}/consult/question.tmp")" --json -m "MODEL" -c model_reasoning_effort="LEVEL"
OpenCodeopencode run - --format json --model "MODEL" --variant "VARIANT" < "{AI_STATE_DIR}/consult/question.tmp"
Copilotcopilot -p - < "{AI_STATE_DIR}/consult/question.tmp"

Effort-to-Model Mapping

EffortClaudeGeminiCodexOpenCodeCopilot
lowclaude-haiku-4-5 (1 turn)gemini-3-flash-previewgpt-5.3-codex (low)default (low)no control
mediumclaude-sonnet-4-6 (3 turns)gemini-3-flash-previewgpt-5.3-codex (medium)default (medium)no control
highclaude-opus-4-6 (5 turns)gemini-3.1-pro-previewgpt-5.3-codex (high)default (high)no control
maxclaude-opus-4-6 (10 turns)gemini-3.1-pro-previewgpt-5.3-codex (high)default + --thinkingno control

Output Parsing

ProviderParse Expression
ClaudeJSON.parse(stdout).result
GeminiJSON.parse(stdout).response
CodexJSON.parse(stdout).message or raw text
OpenCodeNewline-delimited JSON. Concatenate part.text from events where type === "text". Session ID from event.sessionID.
CopilotRaw stdout text

Parse discipline:

  1. Evaluate execution status first (timeout/non-zero/error/empty output) before any parsing.
  2. Parse only when execution status is successful.
  3. If parse fails, surface only sanitized parse metadata (never raw stdout/stderr snippets) and apply role/round failure policy instead of hanging or continuing silently.

ACP Transport Commands

ACP is an alternative transport available when providers support it. Build and execute CLI commands directly - do NOT use Skill: consult (recursive loop in Claude Code).
ProviderACP Command Pattern
Claudenode acp/run.js --provider="claude" --question-file="{AI_STATE_DIR}/consult/question.tmp" --timeout=240000 --model="MODEL"
Gemininode acp/run.js --provider="gemini" --question-file="{AI_STATE_DIR}/consult/question.tmp" --timeout=240000 --model="MODEL"
Codexnode acp/run.js --provider="codex" --question-file="{AI_STATE_DIR}/consult/question.tmp" --timeout=240000 --model="MODEL"
OpenCodenode acp/run.js --provider="opencode" --question-file="{AI_STATE_DIR}/consult/question.tmp" --timeout=240000 --model="MODEL"
Copilotnode acp/run.js --provider="copilot" --question-file="{AI_STATE_DIR}/consult/question.tmp" --timeout=240000
Kironode acp/run.js --provider="kiro" --question-file="{AI_STATE_DIR}/consult/question.tmp" --timeout=240000

Note the 240000ms timeout (240s) for debate rounds vs 120000ms (120s) for consult.

Kiro: ACP-only provider. No CLI mode. Available when kiro-cli is on PATH.

ACP Output Parsing

ACP transport output is parsed identically to CLI transport - the ACP runner (acp/run.js) normalizes responses into the same JSON envelope format. The transport field in the envelope indicates "acp" or "cli".

平台分布

Codex

36.67%
按下载量换算29

Claude

31.19%
按下载量换算24

Cursor

18.43%
按下载量换算14

Gemini CLI

9.04%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills