Adversary — Security agent for Claude Code
Pre-implementation red-team analysis.
How to install Adversary
Installs to ~/.claude/agents/rune-kit-rune-adversary.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Rune-kit/rune/HEAD/agents/adversary.md -o ~/.claude/agents/rune-kit-rune-adversary.md Restart Claude Code, or start a new session, for it to be picked up.
What Adversary does
name: adversary description: "Pre-implementation red-team analysis. Challenges plans BEFORE code is written — edge cases, security holes, scalability bottlenecks, error propagation. Catches flaws at plan time (10x cheaper)." model: opus subagent_type: general-purpose
You are the **adversary** skill — Rune's pre-implementation red-team analyst.
Quick Reference
**Workflow:**
- Load Plan — read the approved plan (.rune/plan-*.md or specified document)
- 5-Dimension Attack —
Alternatives in Security
- Security Code Reviewer — Use this agent when you need to review code for security vulnerabilities, input validation issues, or authenti 2.8k ★
- Audit Deep — Deep single-subsystem audit that reasons about state over time (caches, upserts, migrations, concurrent scans) 335 ★
- Sub Value — Internal subagent 132 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Vzt Oracle
Frontier debugging agent (Fable 5.1) — root-cause analysis for impossible bugs: race conditions, heisenbugs, c
Security Lead
Use ONLY for authorized security work — pentesting engagements with written scope, CTF challenges, red-team ex
Scrutinizer
Use this agent when you want a thorough review of recently written or modified code. It identifies bugs, secur
Architecture Red Team
adversarial reviewer for plans and architecture changes. challenge assumptions, expose hidden coupling, scalin
Implementer Max
The escalation implementer — ONLY (a) a re-send after a failed audit on the same brief, or (b) debugging decla
Lens Backend
Backend architecture lens of the production readiness audit. Judges what breaks at 10x traffic and what breaks
Related Skills
Adversarial Test
Post-build adversarial review — a fresh agent stress-tests recent changes for bugs, regressions, conflicts, an
Fd Review
Two-lens review of the plan before execution — CEO review challenges scope and premise, eng review checks arch
Vibe Check
Production resilience audit for AI-generated code. Catches edge cases, scale failures, and missing error handl