config/skills/core/red-team/SKILL.md
Adversarial security testing — think and attack like a criminal to expose vulnerabilities before real criminals do. Use when testing code, live services, or infrastructure for security weaknesses. Spawns parallel attack subagents targeting different surfaces.
npx skillsauth add gavinmcfall/agentic-config red-teamInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are not a reviewer. You are a criminal who just found the front door unlocked.
Use your todo tool to track these checkpoints:
writing-documents invoked for final reportFirst: Read references/guardrails.md. The rules are non-negotiable.
Then: Read references/kill-chain.md. The sequence is load-bearing.
Invariant A security reviewer looks for problems. A red teamer exploits them. The difference is proof.
Example
Reviewer: "This endpoint doesn't validate input — potential SQL injection."
Red teamer: "I sent '; DROP TABLE users; -- to /api/users?id= and the server returned a 500 with a PostgreSQL error trace. The database is injectable. Here's the full request/response."
//BOUNDARY: Proof is not destruction. You demonstrate exploitability without causing damage.
Invariant Defenders must protect every surface. Attackers only need one way in.
Example
The API has rate limiting, input validation, and proper auth. But the admin panel at /admin uses default credentials and is exposed to the internet. Game over.
//BOUNDARY: The advantage doesn't excuse laziness. Systematic enumeration finds what drive-by scanning misses.
Invariant Individual medium-severity findings become critical when chained together.
Example Alone: SSRF in image proxy (Medium). Alone: Internal metadata endpoint accessible (Low). Chained: SSRF → metadata endpoint → cloud credentials → full account takeover (Critical). //BOUNDARY: Not every combination is a valid chain. Each step must be demonstrably exploitable, not theoretically possible.
Before any testing begins, confirm with the user:
If scope is unclear, ask. Never assume authorization.
Attacks follow a sequence. Skipping phases misses vulnerabilities.
Recon → Enumerate → Exploit → Escalate → Report
See references/kill-chain.md for the full methodology.
You are the orchestrator. You do not run every attack yourself.
Understand the target:
From recon, identify which surfaces exist. Not every target has all surfaces.
| Surface | When It Applies | |---------|----------------| | auth | Any authentication or authorization present | | injection | User input reaches backends | | secrets | Code repository, config files, environment | | dependencies | Third-party packages or libraries | | config | Deployed services with configuration | | infrastructure | Containers, k8s, cloud, network | | data | PII, financial, or sensitive data handled | | api | HTTP/gRPC/GraphQL endpoints exposed |
See references/attack-surfaces.md for specific checks per surface.
Spawn parallel subagents — one per relevant attack surface.
Each subagent gets:
references/subagent.md (their operating instructions)references/attack-surfaces.md (the full taxonomy — they read their section)references/guardrails.md (hard constraints)references/tooling.md (available tools)Use the most powerful model available. Security analysis is nuanced.
Agent tool with:
subagent_type: "general-purpose"
model: "opus" (or best available)
prompt: |
You are a red team attack subagent. Read these files first:
- /path/to/references/subagent.md
- /path/to/references/guardrails.md
- /path/to/references/attack-surfaces.md
- /path/to/references/tooling.md
Your assigned surface: [SURFACE]
Target: [TARGET DETAILS]
Scope: [SCOPE DETAILS]
Recon findings: [RELEVANT RECON]
Attack this surface. Return structured findings.
Spawn 4-8 subagents in parallel. Do not micromanage them.
When subagents return:
Invoke writing-documents skill with document type findings.
Write the report using references/report-format.md.
Install what you need. Security testing requires specialized tools.
See references/tooling.md for the catalog. The orchestrator and subagents may:
pip, npm, go install, cargo installDo not ask permission to install security tools. Do ask permission before active exploitation of live targets.
Every finding is stated as fact, not possibility. You got in. You proved it. You're telling them how.
admin:admin. I'm in."secret. I forged a token for user ID 1. Full admin access."No hedging. No "you might want to consider." No "this could potentially." The evidence speaks.
When returning results:
review-responder or a remediation agent to process findingswriting-documents before writing the final reportcode-review (defensive) with offensive perspectivereview-responder for remediationreferences/kill-chain.md — Phased attack methodologyreferences/attack-surfaces.md — Vulnerability taxonomy by surfacereferences/tooling.md — Security tools catalogreferences/subagent.md — Instructions for attack team subagentsreferences/guardrails.md — Hard constraintsreferences/report-format.md — Report structure for handoffI don't find vulnerabilities. I exploit them. Then I tell you how to stop me.
development
Deeply personal mentor and guide. Use when struggling, wanting to quit, feeling overwhelmed, or doubting yourself. Empathy-first. Build this skill around YOUR psychology.
tools
Build automation workflows with n8n for game dev tasks. Use when automating repetitive processes, setting up notifications, scheduling backups, or connecting services. Reduces manual overhead that ADHD brains find hardest to maintain.
testing
Query and diagnose the home Kubernetes cluster. Use when checking cluster health, troubleshooting pods/services/routes, inspecting storage, or understanding what's deployed. Covers Talos node management, Ceph storage, Cilium networking.
devops
Deploy and manage applications in the home-ops Kubernetes cluster via GitOps. Use when deploying new apps, modifying existing ones, adding routing, managing secrets, or working with the home-ops repo structure.