.claude/skills/ar-debate/SKILL.md
Generic debate loop — runs structured multi-role debate for high-stakes research decisions
npx skillsauth add ShinyGua/AutoArtsResearch ar-debateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run a structured multi-role debate to adjudicate high-stakes research decisions. This skill implements the debate protocol from PRD Section 8.
$ARGUMENTS[0]: workspace path$ARGUMENTS[1]: debate type — one of: research_question, theory_selection, method_fit, claim_adjudication, rival_explanations, final_revision$ARGUMENTS[2]: path to the proposal document being debatedGenerate each role's position independently. Each role reads the proposal and relevant context files but does NOT see other roles' outputs.
For each role, produce a structured position (250 words max):
Write each position to: {workspace}/analysis/debate_logs/{debate_type}_round1_{role}.md
Each role reads ALL Round 1 positions and writes a targeted critique (150 words max):
Write critiques to: {workspace}/analysis/debate_logs/{debate_type}_round2_{role}.md
The Judge reads all Round 1 positions and Round 2 critiques, then produces the final decision.
The Judge MUST produce one of three outcomes:
Write the debate outcome to {workspace}/analysis/debate_logs/{debate_type}_{timestamp}.json:
{
"debate_id": "dbt-{uuid8}",
"debate_type": "{debate_type}",
"proposal": "{summary of what was debated}",
"final_decision": "accept | revise | escalate",
"reasoning_summary": "{judge's reasoning}",
"competing_options": ["option A", "option B"],
"supporting_evidence": ["point 1", "point 2"],
"opposing_evidence": ["point 1", "point 2"],
"unresolved_concerns": ["concern 1"],
"confidence": 0.0,
"rounds": 3,
"transcript": {
"round_1": {"proposer": "...", "skeptic": "...", "counterevidence_miner": "...", "validity_critic": "..."},
"round_2": {"proposer": "...", "skeptic": "...", "counterevidence_miner": "...", "validity_critic": "..."},
"round_3": {"judge": "..."}
}
}
Generate the debate_id using:
.venv/bin/python3 utils/schemas.py id dbt
The orchestrator or stage skills invoke this skill when:
development
Theory agent — proposes theoretical frameworks, ranks by fit, and identifies rival theories
testing
Source auditor — classifies, scores reliability, verifies metadata, and recommends inclusion/exclusion for corpus sources
research
Topic scoping — refines topic seed into research question, scope boundaries, and feasibility assessment
development
Corpus retrieval — searches academic, policy, media, and report sources to build a curated corpus