zscole/adversarial-spec
530 stars · Last commit 2026-01-22
A Claude Code plugin that iteratively refines product specifications by debating between multiple LLMs until all models reach consensus.
README preview
# adversarial-spec A Claude Code plugin that iteratively refines product specifications through multi-model debate until consensus is reached. **Key insight:** A single LLM reviewing a spec will miss things. Multiple LLMs debating a spec will catch gaps, challenge assumptions, and surface edge cases that any one model would overlook. The result is a document that has survived rigorous adversarial review. **Claude is an active participant**, not just an orchestrator. Claude provides independent critiques, challenges opponent models, and contributes substantive improvements alongside external models. ## Quick Start ```bash # 1. Add the marketplace and install the plugin claude plugin marketplace add zscole/adversarial-spec claude plugin install adversarial-spec # 2. Set at least one API key export OPENAI_API_KEY="sk-..." # Or use OpenRouter for access to multiple providers with one key export OPENROUTER_API_KEY="sk-or-..."