Agent skill
RedTeam
Adversarial analysis with 32 agents. USE WHEN red team, attack idea, counterarguments, critique, stress test. SkillSearch('redteam') for docs.
Install this agent skill to your Project
npx add-skill https://github.com/Steffen025/pai-opencode/tree/main/.opencode/skills/Thinking/RedTeam
SKILL.md
Customization
Before executing, check for user customizations at:
~/.opencode/PAI/USER/SKILLCUSTOMIZATIONS/RedTeam/
If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.
RedTeam Skill
Military-grade adversarial analysis using parallel agent deployment. Breaks arguments into atomic components, attacks from 32 expert perspectives (engineers, architects, pentesters, interns), synthesizes findings, and produces devastating counter-arguments with steelman representations.
Voice Notification
When executing a workflow, do BOTH:
-
Send voice notification:
bashcurl -s -X POST http://localhost:8888/notify \ -H "Content-Type: application/json" \ -d '{"message": "Running the WORKFLOWNAME workflow from the RedTeam skill"}' \ > /dev/null 2>&1 & -
Output text notification:
Running the **WorkflowName** workflow from the **RedTeam** skill...
Workflow Routing
Route to the appropriate workflow based on the request.
When executing a workflow, output this notification directly:
Running the **WorkflowName** workflow from the **RedTeam** skill...
| Trigger | Workflow |
|---|---|
| Red team analysis (stress-test existing content) | Workflows/ParallelAnalysis.md |
| Adversarial validation (produce new content via competition) | Workflows/AdversarialValidation.md |
Quick Reference
| Workflow | Purpose | Output |
|---|---|---|
| ParallelAnalysis | Stress-test existing content | Steelman + Counter-argument (8-points each) |
| AdversarialValidation | Produce new content via competition | Synthesized solution from competing proposals |
The Five-Phase Protocol (ParallelAnalysis):
- Decomposition - Break into 24 atomic claims
- Parallel Analysis - 32 agents examine strengths AND weaknesses
- Synthesis - Identify convergent insights
- Steelman - Strongest version of the argument
- Counter-Argument - Strongest rebuttal
Context Files
Philosophy.md- Core philosophy, success criteria, agent typesIntegration.md- Skill integration, FirstPrinciples usage, output format
Examples
Attack an architecture proposal:
User: "red team this microservices migration plan"
--> Workflows/ParallelAnalysis.md
--> Returns steelman + devastating counter-argument (8 points each)
Devil's advocate on a business decision:
User: "poke holes in my plan to raise prices 20%"
--> Workflows/ParallelAnalysis.md
--> Surfaces the ONE core issue that could collapse the plan
Adversarial validation for content:
User: "battle of bots - which approach is better for this feature?"
--> Workflows/AdversarialValidation.md
--> Synthesizes best solution from competing ideas
Last Updated: 2025-12-20
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
PAI
USMetrics
US metrics, economic indicators and data tracking. USE WHEN US metrics, American data, statistics, demographics, GDP, inflation, unemployment, economic metrics, gas prices.
Research
Comprehensive research and content extraction. USE WHEN research, investigate, extract wisdom, analyze content. For OSINT use OSINT skill.
Agents
Dynamic agent composition. USE WHEN custom agents, agent personalities, traits, voices.
Investigation
Investigation and research skills. USE WHEN investigate, research person, company intel, due diligence, OSINT, background check.
OSINT
Open source intelligence gathering. USE WHEN OSINT, due diligence, background check, research person, company intel, investigate. SkillSearch('osint') for docs.
Didn't find tool you were looking for?