debate — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited debate (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Claude (Anthropic) and Codex/GPT (OpenAI) debate a topic, then a separate Reporter agent writes a verdict report.
/debate <topic>Examples:
/debate Samsung Electronics H2 2026 stock outlook
/debate React vs Vue for new projects in 2026
/debate Can AI replace programmers?
/debate Medical AI SaMD deregulation pros and consEvery execution MUST produce these files in $DEBATE_DIR:
| File | Phase | Description |
|---|---|---|
topic.md | 0 | Merged key issues from both sides |
rules.md | 0 | Debate rules |
analysis_claude.md | 1 | Claude independent analysis |
analysis_codex.md | 1 | Codex independent analysis |
round_{N}_claude.md | 2 | Claude round N statement |
round_{N}_codex.md | 2 | Codex round N statement |
factcheck_by_claude.md | 3 | Claude fact-checks GPT claims |
factcheck_by_codex.md | 3 | GPT fact-checks Claude claims |
report.html | 4 | Final HTML verdict report |
DEBATE_DIR="/tmp/debate/$(date +%Y%m%d_%H%M%S)"
mkdir -p "$DEBATE_DIR"$DEBATE_DIR/topic.md.$DEBATE_DIR/rules.md:# Debate Rules
- Topic: {topic}
- Key issues: {issue list}
- Each statement: 500 words max
- Claims must include evidence (data, cases, logic)
- Quote and rebut opponent's claims
- Debate ends when no new arguments emerge (requires mutual agreement)Call Claude subagent (Agent tool) and Codex MCP simultaneously for independent analysis.
#### Claude side (Agent tool)
"Analyze the following topic independently. Write a 500-800 word analysis with data and evidence.
Topic: {topic}
Issues: {issue list}
Save to {DEBATE_DIR}/analysis_claude.md."#### Codex side (MCP tool or CLI Fallback)
Method 1: MCP tool (mcp__codex__codex) if available:
prompt: "Analyze the following topic independently. Write a 500-800 word analysis with data and evidence.
Topic: {topic}
Issues: {issue list}
Respond in markdown."
sandbox: "read-only"
cwd: "{DEBATE_DIR}"Save response content to {DEBATE_DIR}/analysis_codex.md. Record threadId for multi-turn use.
Method 2: CLI Fallback (if no MCP):
codex exec --full-auto --sandbox read-only --skip-git-repo-check \
-o "$DEBATE_DIR/analysis_codex.md" "<prompt>"CLI token management: In CLI mode, multi-turn is unavailable, so full prior context must be included in each prompt. To prevent context explosion:
Each round proceeds as follows:
#### Round N (odd: Claude first, even: Codex first)
Step 1: First speaker's statement
If Claude goes first:
"Read the opponent (GPT)'s analysis/statement and rebut or supplement. Provide new evidence.
Opponent statement: {prior codex statement}
Write within 500 words. Save to {DEBATE_DIR}/round_{N}_claude.md."If Codex goes first:
mcp__codex__codex-reply continuing the prior threadIdcodex exec --full-auto --sandbox read-only --skip-git-repo-check with full context (apply summarization for rounds 3+)Step 2: Second speaker's statement (same approach, roles reversed)
Step 3: Convergence check (bilateral consensus)
Both sides independently judge whether to continue:
This prevents one side from unilaterally ending the debate at a strategically favorable moment.
After debate ends, each side fact-checks the opponent's top 3 claims. Run both in parallel.
#### Claude's fact-check Agent tool subagent call:
"Select the top 3 key claims from Codex (GPT)'s entire debate statements.
Verify whether each claim's evidence is sound.
Rate each as [Confirmed / Refuted / Unverified] with reasoning.
Each fact-check entry must include:
- At least 80 words of analysis
- Specific data sources or calculations where applicable
Save to {DEBATE_DIR}/factcheck_by_claude.md."#### Codex's fact-check MCP or CLI call:
"Select the top 3 key claims from Claude's entire debate statements.
Verify whether each claim's evidence is sound.
Rate each as [Confirmed / Refuted / Unverified] with reasoning.
Each fact-check entry must include:
- At least 80 words of analysis
- Specific data sources or calculations where applicable
Respond in markdown."Save response to {DEBATE_DIR}/factcheck_by_codex.md.
Create a separate Reporter subagent via the Agent tool. A new agent that did NOT participate in the debate reads the full record and writes the report.
Reporter prompt:
You are a debate judge and reporter. Read the full debate record below and write an HTML report.
## Absolute Rules
- No false balance. "Both sides have merit" conclusions are NOT allowed.
- Clearly side with whichever side has stronger evidence.
- Only if genuinely tied, explain exactly why, but never force artificial balance.
- Refuted claims in fact-check MUST be reflected as deductions for that side.
- Evaluate fact-check quality: consider depth of analysis, number of sources cited, and specificity of evidence. A longer, more detailed fact-check with primary sources carries more weight than a brief assessment.
- DEBIASING: Do NOT trust Claude's claims more than GPT's simply because the Reporter is a Claude subagent. Treat both sides with equal scrutiny. If anything, apply extra skepticism to Claude's claims to compensate for potential in-group bias.
## Report Structure (HTML)
1. Header: topic, date, participants (Claude vs GPT)
2. Topic background (200 chars max)
3. Key issues summary (3-5 cards)
4. Debate highlights (key quotes per round)
5. Fact-check results table (Claim | Verdict | Evidence)
6. Final verdict: winner and reasoning (or close-call explanation)
7. Conclusion and implications (key takeaway for the reader)
8. Confidence level: state verdict confidence (High/Medium/Low) and list unresolved points
## Style
- Professional yet readable tone
- Backed by data and quotes
- Clean HTML with Tailwind CSS CDN
- Dark mode support
- No em dashes
## Debate Record
{Insert all file contents from DEBATE_DIR here}
Save report to {DEBATE_DIR}/report.html.explorer.exe "{DEBATE_DIR}/report.html" 2>/dev/null || \
open "{DEBATE_DIR}/report.html" 2>/dev/null || \
echo "Report: {DEBATE_DIR}/report.html"~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.