npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

claude-skill-debate

v2.0.0

Published

Claude vs GPT multi-turn AI debate skill for Claude Code with cross fact-checking and HTML report generation

Downloads

356

Readme


The best way to stress-test an idea is to have two smart opponents try to destroy each other's arguments, then let a judge decide.

Most AI analysis gives you one perspective. You nod along, never knowing what it missed. Debate forces both sides to attack, defend, and cite evidence, while a neutral reporter picks the winner.

No false balance. No "both sides have a point." Someone wins.


Why

Single AI analysis:
  "Here's my take" → You accept it → Confirmation bias

Debate:
  Claude: "Here's why I'm right"
  GPT:    "Here's why you're wrong"
  Claude: "Your data is cherry-picked, here's the full picture"
  GPT:    "Your model assumes 20% CAGR, Microsoft only did 12%"
  Judge:  "GPT wins 29.5 to 27.5. Here's why."

Two adversarial AIs will find flaws that a single AI never surfaces. The cross fact-check phase catches bad numbers, misleading citations, and logical gaps.


Install

npx claude-skill-debate

That's it. One command. The skill is copied to ~/.claude/skills/debate/ and ready to use.

git clone https://github.com/YunseobShin/claude-skill-debate.git
mkdir -p ~/.claude/skills/debate
cp claude-skill-debate/SKILL.md ~/.claude/skills/debate/SKILL.md

Usage

Inside a Claude Code session:

/debate Will AI replace software engineers?
/debate React vs Vue for new projects in 2026
/debate Tesla stock price outlook
/debate Should central banks adopt CBDCs?

Natural language also triggers it:

"Have two AIs debate this"
"Make Claude and GPT argue about this"

The Arena

Five phases. Two combatants. One judge.

Phase 0   PREPARATION
          Topic → 3-5 key arguments → debate rules
          ──────────────────────────────────────────

Phase 1   INDEPENDENT ANALYSIS  (parallel)
          Claude ──┐
                   ├──→  500-800 word analysis each
          GPT   ───┘
          ──────────────────────────────────────────

Phase 2   FREE DEBATE  (up to 5 rounds)
          Round 1:  Claude attacks  →  GPT counters
          Round 2:  GPT attacks     →  Claude counters
          ...
          Convergence check: no new arguments → early exit
          ──────────────────────────────────────────

Phase 3   CROSS FACT-CHECK
          Claude → verifies GPT's top 3 claims
          GPT    → verifies Claude's top 3 claims
          Verdict: [Confirmed / Refuted / Unverified]
          ──────────────────────────────────────────

Phase 4   VERDICT REPORT
          Neutral Reporter agent reads full transcript
          → HTML report (Tailwind CSS, dark mode)
          → Clear winner, not "both have merits"

Why Cross Fact-Check Matters

In our first real debate (Palantir stock outlook), fact-checking caught:

  • Claude citing Q4 revenue growth as +70% (actual: +36%, it mixed up adjusted vs GAAP)
  • GPT citing commercial revenue growth as +109% (actual: +60% global, +109% was US-only)

Both sides had compelling arguments. But one side had more wrong numbers. The fact-check changed the verdict.


Output

All artifacts saved to /tmp/debate/YYYYMMDD_HHMMSS/:

| File | What | |:-----|:-----| | topic.md | Topic & key arguments | | rules.md | Debate rules | | analysis_claude.md | Claude's independent analysis | | analysis_codex.md | GPT's independent analysis | | round_N_claude.md | Claude's round N statement | | round_N_codex.md | GPT's round N statement | | factcheck_by_claude.md | Claude fact-checks GPT | | factcheck_by_codex.md | GPT fact-checks Claude | | report.html | Final HTML verdict report |

The Report

The HTML report has 8 sections:

  1. Header with topic, date, participants
  2. Background (200 words max)
  3. Key issues in card layout
  4. Debate highlights with per-round quotes
  5. Fact-check results table (claim / verdict / evidence)
  6. Final verdict with clear winner and scoring
  7. Conclusion & takeaways
  8. Disclaimer

The report auto-opens in your browser on completion.


Prerequisites

| Requirement | Required | Notes | |:---|:---:|:---| | Claude Code | Yes | CLI installed and authenticated | | OpenAI Codex CLI | Yes | npm i -g @openai/codex | | Codex MCP Server | No | Enables multi-turn threading (recommended) |

Codex Setup

# Install
npm install -g @openai/codex

# Authenticate (ChatGPT Plus or Pro Plan)
codex auth login

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "codex": {
      "command": "codex",
      "args": ["--full-auto", "mcp"]
    }
  }
}

Without MCP, the skill falls back to CLI mode automatically.


Design Principles

| Principle | Implementation | |:----------|:--------------| | No false balance | The report must pick a winner based on evidence | | Cross-verification | Both sides fact-check the opponent's top 3 claims | | Early termination | Debate stops when arguments start repeating | | Parallel execution | Independent phases run concurrently | | Adversarial by design | Each side is prompted to attack, not agree |


Timing

Typically 3-5 minutes depending on round count. MCP mode is slightly faster than CLI fallback.


Notes

  • Debate logs live in /tmp and are lost on reboot. Copy them if you need to keep them.
  • Investment/stock debates are for reference only, not financial advice.
  • Codex CLI works with ChatGPT Plus or Pro Plan auth. API key usage is billed separately.