Rune-kit

Adversary — Security agent for Claude Code

Security community

Pre-implementation red-team analysis.

How to install Adversary

Installs to ~/.claude/agents/rune-kit-rune-adversary.md

Terminal
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:**

  1. Load Plan — read the approved plan (.rune/plan-*.md or specified document)
  2. 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 ★
  • Spec Edge Case Auditor — Use this agent when you need to audit test coverage against a specification to identify missing edge cases 173 ★
  • Correctness Reviewer — Reviews code changes for logic errors, race conditions, security vulnerabilities, and edge cases 160 ★

Full documentation available on GitHub

View Source Repository