← 返回 Skills 市场
caius-kong

debate-research

作者 caius-kong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
105
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install debate-research
功能描述
Multi-perspective structured debate for complex topics. Spawn parallel subagents with opposing stances, cross-inject arguments for rebuttal, then synthesize...
使用说明 (SKILL.md)

Debate Research

Input Parameters

Collect from user before starting. Only topic is required; all others have defaults.

Param Required Default Description
topic yes Debate subject
roles no Proponent + Opponent 2-4 role objects: {name, stance, model?}. Default: Proponent (argue for) and Opponent (argue against). Model inherits from global.
goal no inferred What question to answer
audience no "self" Who reads the report: self / team / public
decision_type no "personal-choice" personal-choice / team-standardization / market-analysis
evidence_round no "auto" false / true / auto (enable when topic is fact-dense)
confirm_plan no true Show plan and wait for user OK before execution
model no inherit Global subagent model; role-level override takes priority
output_path no null File path for report; null = return in conversation

Implicit parameter: language — inferred from the user's topic/conversation language. All subagent prompts output in this language.

Example User Prompt

  • Claude Code vs OpenCode (gpt-5.4, claude-4.6-sonnet)

Execution Pipeline

Phase 0 — Pre-flight

Step 0a: Model reachability check

Collect all unique models (global + per-role + judge). For each unique model, probe via sessions_spawn with a minimal one-sentence task (e.g. "Reply OK") and model: \x3Ctarget>. Do NOT use curl or external HTTP — all models route through OpenClaw's provider config.

If any probe fails:

  • If user explicitly specified the failed model → abort, report failure, suggest alternatives
  • If model was default-assigned → warn user, fall back to session default model, continue

Step 0b: Plan presentation (if confirm_plan: true)

Present to user:

  • Topic
  • Role × model assignment table
  • Evidence round: on/off/auto (with rationale if auto)
  • Estimated subagent call count
  • Goal / audience / decision_type interpretation

[STOP — wait for user confirmation]

If confirm_plan: false, skip directly to Phase 1.

Phase 1 — Stance Investigation (parallel)

Spawn one subagent per role, all in parallel.

Each agent receives a prompt built from:

  • Role name + stance
  • Topic
  • web_search: enabled

Required output format per agent:

Core arguments (3-5):
  - [argument] | confidence: 0.0-1.0 | source: [official-docs/community-feedback/personal-blog/academic-paper]
Opponent weaknesses (2-3)
Predicted counter-attacks (1-2)

Use sessions_spawn + sessions_yield to wait for all completions.

Error handling:

  • Agent timeout → mark output [INCOMPLETE], continue pipeline

Phase 2 — Cross Rebuttal (parallel)

Spawn one subagent per role, all in parallel.

Each agent receives:

  • Its original stance
  • All other roles' Phase 1 output (cross-injected)
  • web_search: disabled

Required output format per agent:

Rebuttals (one per opponent argument):
  - [rebuttal] | confidence: 0.0-1.0
Weakest premise attack:
  - Identify opponent's single weakest assumption and challenge it  ← Socratic element
New attacks (2):
  - [attack]

Word limit: 300 × number_of_opponents words per agent.

Error handling:

  • Agent timeout → mark [INCOMPLETE], continue

Phase 2.5 — Evidence Audit (optional)

Triggered when evidence_round: true, or when auto and topic involves measurable claims. Auto-enable heuristic: topic contains performance benchmarks, cost comparisons, security assessments, market data, or quantitative metrics. When in doubt with auto, skip (false positive costs more than false negative).

Spawn 1 subagent as "evidence auditor":

  • Input: all Phase 1 + Phase 2 output
  • web_search: disabled
  • Task: extract every factual claim, tag each as: [official-docs] [community-feedback] [personal-blog] [no-source] [exaggerated]
  • Output: concise fact checklist

Phase 3 — Neutral Judgment

Spawn 1 subagent as neutral judge:

  • Input: Phase 1 + Phase 2 + Phase 2.5 (if available)
  • web_search: disabled
  • Weigh arguments by confidence scores AND source quality tags

Required output structure:

  1. Strong arguments per side
  2. Exaggerated claims per side
  3. Shared limitations (problems neither option solves)
  4. Core disagreements (value-level, not just factual)
  5. Consensus points
  6. Recommendation — explicit directional advice, adapted to decision_type
  7. Open Questions — unresolved unknowns that could change the conclusion
  8. Scenario selection matrix (table: scenario × recommendation × rationale)
  9. One-sentence summary

Phase 4 — Report Assembly

Orchestrator (main conversation) assembles all outputs into Markdown:

# [topic]: Debate Research Report

> **Date**: YYYY-MM-DD
> **Method**: Multi-agent structured debate (debate-research skill)
> **Roles**: [role1 (model)] | [role2 (model)] | ...
> **Audience**: [audience] | **Decision type**: [decision_type]
> **Completion**: [success | degraded-success | aborted]

## Core Arguments by Side
[Phase 1 output, organized by role]

## Cross Rebuttals
[Phase 2 output, organized by role]

## Evidence Audit
[Phase 2.5 output, or "Not requested"]

## Neutral Judgment
[Phase 3 sections 1-5]

## Recommendation
[Phase 3 section 6]

## Open Questions
[Phase 3 section 7]

## Scenario Matrix
[Phase 3 section 8]

> **One-line summary**: [Phase 3 section 9]

If output_path specified → write file. Otherwise → return in conversation.

Completion States

State Condition Behavior
success All phases completed normally Full report
degraded-success 1+ agents timed out or returned [INCOMPLETE] Report with degradation note
aborted Model pre-check failed / user cancelled plan No report; return error summary

Prompt Templates

See references/prompts.md for the exact prompt templates used in each phase. Orchestrator builds prompts dynamically from parameters + these templates.

安全使用建议
This skill is internally consistent: it orchestrates multiple subagents, uses web_search during initial evidence collection, then disables web_search for rebuttals and judgment to prevent information drift. Before using it: (1) ensure you trust the configured LLM provider(s) because the skill will spawn sessions on those models; (2) be aware that Phase 1 can fetch external web content via the platform's web_search tool — avoid feeding sensitive or private topics if you don't want external queries; (3) if you plan to write the report to disk, supply a safe output_path and verify the agent has only the intended file permissions; (4) enable confirm_plan (default true) so you can review the planned roles/models/count of subagent calls before execution. The only minor inconsistency is that the README/SKILL.md require a web_search tool but the registry metadata doesn't explicitly declare that dependency — confirm your environment provides web_search before running.
功能分析
Type: OpenClaw Skill Name: debate-research Version: 1.0.0 The 'debate-research' skill implements a structured multi-agent debate workflow using OpenClaw's session management primitives (`sessions_spawn`, `sessions_yield`). It orchestrates parallel subagents for stance investigation (with web search), rebuttal, and neutral judgment to produce a consensus report. The logic is transparently documented across SKILL.md and references/prompts.md, showing no signs of data exfiltration, unauthorized execution, or malicious prompt injection, and remains strictly aligned with its stated research purpose.
能力评估
Purpose & Capability
Name/description match the runtime instructions: the SKILL.md describes spawning parallel subagents, cross-injecting outputs, and synthesizing a report. Required capabilities (ability to spawn sessions, yield results, and a web_search tool for Phase 1) are consistent with that purpose.
Instruction Scope
Instructions stay within the stated debate/research scope. They explicitly enable web_search for Phase 1 and disable it for later phases (intentional to prevent information drift). The skill passes subagent outputs between roles and can optionally write the assembled report to an output_path; both behaviors are expected but mean the skill will fetch external web content (when web_search is available) and may write to filesystem if you provide a path. Confirm-plan default is true, which helps limit unexpected runs.
Install Mechanism
No install spec or code is included (instruction-only). No downloads, packages, or binaries are required by the skill itself — lowest install risk.
Credentials
The skill requests no environment variables, credentials, or config paths. It does rely on configured LLM providers and a web_search tool (mentioned in README and SKILL.md) but the registry metadata does not explicitly list 'web_search' as a required tool — minor metadata omission but not a security inconsistency with the skill's purpose.
Persistence & Privilege
No elevated persistence requested (always: false). The skill does not modify other skills or system-wide settings. Autonomous invocation is allowed (platform default) but this is expected for a skill that spawns subagents.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install debate-research
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /debate-research 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the debate-research skill for structured, multi-perspective debate on complex topics. - Supports automatic spawning of subagents with opposing stances and cross-injection of arguments for rebuttal, culminating in a neutral judge synthesis. - Customizable input parameters: topic, roles, goal, audience, decision type, evidence round, and more. - Multi-phase execution pipeline: pre-flight checks, stance investigation, cross rebuttal, (optional) evidence audit, neutral judgment, and report assembly. - Output is a comprehensive Markdown report including core arguments, rebuttals, evidence audit, neutral assessment, recommendations, open questions, and scenario matrix. - Error handling for model availability, agent timeouts, and degraded outputs.
元数据
Slug debate-research
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

debate-research 是什么?

Multi-perspective structured debate for complex topics. Spawn parallel subagents with opposing stances, cross-inject arguments for rebuttal, then synthesize... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 105 次。

如何安装 debate-research?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install debate-research」即可一键安装,无需额外配置。

debate-research 是免费的吗?

是的,debate-research 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

debate-research 支持哪些平台?

debate-research 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 debate-research?

由 caius-kong(@caius-kong)开发并维护,当前版本 v1.0.0。

💬 留言讨论