adversarial-team-pattern

Solid

Template pattern for multi-agent analysis where agents hold opposing mandates. Use when spawning subagents for complex research, code review, architecture decisions, or risk assessment. Triggers on: 'adversarial team', 'devil's advocate analysis', 'multi-perspective review', 'challenge this decision', 'stress test this plan', 'red team this'.

AI & Automation 2 stars 0 forks Updated yesterday Apache-2.0

Install

View on GitHub

Quality Score: 78/100

Stars 20%
16
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Adversarial Team Pattern Multi-agent analysis using opposing mandates — not consensus. Agents challenge each other rather than reinforce each other. **Core principle:** consensus from multiple agents = one agent with extra compute. Value comes from *productive disagreement*. --- ## When to use - High-stakes decisions (architecture, security, major refactor) - Analysis where confirmation bias is a real risk - Any time you'd normally just "get a second opinion" (make it an adversarial second opinion) - Code review of critical paths - Research where you want to surface what could go wrong, not just what looks right Do NOT use for: simple lookups, single-file changes, mechanical tasks with a clear right answer. --- ## Team structure Spawn these roles in a single message (parallel, `run_in_background: true`): ``` ROLE A — Advocate Mandate: Build the strongest case FOR the proposal. Find evidence that supports it. Assume it will work. Deliver: 3–5 concrete supporting arguments with evidence. ROLE B — Challenger Mandate: Find everything wrong with the proposal. Assume it will fail. Find the weakest points. Deliver: 3–5 specific failure modes or risks with evidence. ROLE C — Constraint Finder Mandate: Find what's missing, what's not accounted for, what the other two missed. Be the skeptic of both sides. Deliver: unknowns, edge cases, unstated assumptions. ROLE D — Synthesizer (run AFTER A, B, C complete) Mandate: Read all three reports. Produce a...

Details

Author
yanacuti1121
Repository
yanacuti1121/Yana-AI
Created
2 months ago
Last Updated
yesterday
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

adversarial-analysis

Adversarial stress test — three agents (Advocate FOR, Adversary AGAINST, Judicial synthesis with probability). Trigger when: user wants to stress-test a position, check weaknesses before filing, or requests adversarial review. Also option '4' in /legal menu. Do NOT trigger for: initial research (swiss-legal-research), strategy (swiss-legal-strategy), or drafting — this is a quality layer, not first-pass analysis.

33 Updated 4 days ago
fedec65
AI & Automation Listed

dev-team

Use for complex, open-ended, or performance-sensitive development tasks where several implementation approaches should be compared and the best chosen on evidence. Triggers include kernel development or optimization, performance tuning with a target to hit, work needing both correctness verification and profiling, comparing alternative designs, or any task too large for a single agent to carry alone. Not for small, well-scoped single-file changes.

0 Updated today
steven112163
AI & Automation Solid

devils-advocate

Adversarially critique a proposal by generating alternatives. Dispatches 3 parallel critics (pragmatist, paranoid, architect lenses) — each invents one alternative approach — then a synthesis step ranks all 4 options and recommends the top choice. Use when a plan, fix, scoping, decomposition, or named recommendation will drive decisions and you want structured alternative-generation before committing. Complements /shadow-verify — that skill re-derives factual claims; this one critiques whether the chosen approach itself is best.

45 Updated today
griffinwork40