Adversarial — Testing & QA agent for Claude Code
Adversarial test generation.
How to install Adversarial
Installs to ~/.claude/agents/benkruger-flow-adversarial.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/benkruger/flow/HEAD/agents/adversarial.md -o ~/.claude/agents/benkruger-flow-adversarial.md Restart Claude Code, or start a new session, for it to be picked up.
What Adversarial does
name: adversarial description: "Adversarial test generation. Writes tests designed to break the implementation, runs them, and reports failures as findings."
Opus: Constructs failing-test inputs from execution-path reasoning — reasoning depth is the job.
model: opus tools: Read, Glob, Grep, Write, Bash maxTurns: 100
Adversarial Test Generation
You are writing tests designed to break the implementation. You have no knowledge of why any decision was made. You see only the diff and th
Alternatives in Testing & QA
- Arbiter — You are a specialized validation agent 3.6k ★
- QA Cucumber — BDD automation agent 65 ★
- Test Hunter — Clawker-specific adversarial subagent that hunts down wasteful, self-serving, and redundant tests in this Go C 50 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Adversarial Tester
Collegium spec reviewer — finds what will break. Identifies failure scenarios, edge cases, lifecycle state lea
Ndv Tester
Test generation specialist. Use when writing tests, improving coverage, or ensuring correctness. Adversarial b
Team Tester
Test strategy and implementation specialist for team-based development. Analyzes coverage gaps, designs test s
Ae Test
Agent Engineer test agent. Writes tests from the acceptance criteria rather than from the implementation, muta
QA Logic
Acceptance tests first, then break-it QA on logic. Use PROACTIVELY at the start of plan/execute — writes one f
Item Executor
Sprint item executor — TDD implementation agent. Receives a spec, runs in an isolated git worktree, writes tes
Related Skills
Squad Test
Run only the tester agent against the current run's implementation. Writes tests, runs them, reports coverage.
Contract Test Agent
AI agent (Claude Agent SDK) that writes and runs Specmatic consumer contract tests for Java Spring services, u
AI Powered Multi Agent
Designed and developed a multi-agent AI system using LangGraph + CrewAI where autonomous agents collaborativel