Adversarial Spec — Testing skill for Claude Code
A Claude Code plugin that iteratively refines product specifications by debating between multiple LLMs until all models reach consensus.
How to install Adversarial Spec
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open zscole/adversarial-spec and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Adversarial Spec does
A Claude Code plugin that iteratively refines product specifications through multi-model debate until consensus is reached.
Alternatives in Testing
- #29 — #52, #103) 92.5k ★
- Develop Web Game — Build and test web games iteratively using Playwright with time-stepping 14.6k ★
- Flow Spec — NLSpec authoring — use when you need a structured specification from multi-AI research and consensus 2.8k ★
README
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
# 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-..."
# 3. Run it
/adversarial-spec "Build a rate limiter service with Redis backend"
How It Works
You describe product --> Claude drafts spec --> Multiple LLMs critique in parallel
| |
| v
| Claude synthesizes + adds own critique
| |
| v
| Revise and repeat until ALL agree
| |
+--------------------------------------------->|
v
User review period
|
v
Final document output
- Describe your product concept or provide an existing document
...
Related Skills
Autopus Adk
Autopus-ADK is of the agents, by the agents. for the agents. Multi-model orchestration (consensus/pipeline/deb
Pi Task
Deterministic spec-orchestration for local LLMs in the pi coding agent — drives prompts through refine→researc
Dodoguard
Test your prompts, agents, and RAGs. AI Red teaming, pentesting, and vulnerability scanning for LLMs. Compare
Cover Extend
Extend an existing test suite with the minimum additional tests needed to reach full combinatorial coverage.
E2e Rail
Change-aware Playwright E2E — select only the specs a change can reach, verify runs against a code fingerprint
Spy
by spylang - Enforces strict coding conventions with comprehensive testing guidelines, multiple code compilati
Related Agents
Plan Judge Agent
Judges a whole set of step plans as a set — does it actually reach a finished product? Checks coverage against
Boualam
Handles routine code quality tasks (linting, formatting, type checking) and trivial busywork. Runs iteratively
Code Quality Reviewer 2
Second code quality reviewer. Audits code AND the first code reviewer's feedback. Catches what was missed. Run