red-team-plan

red-team-plan is a command for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 34 tokens per session (1,082 once invoked), scanned A, original, MIT.

A command that creates a structured plan for an authorized red-team or adversary-simulation engagement. It covers the threat scenario, scope, operating rules, phases, and optional collaboration with defenders.

In plain words
What is it for?
Use it to prepare engagement proposals, define rules of engagement, plan detection or response tests, and design purple-team exercises.
Why use it?
It turns a broad security-testing goal into an agreed plan with boundaries, constraints, and points where defensive controls can be checked.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the red-team-operations plugin — 2 skills, 2 commands, 2 agents shipped together

Good fit Use it to prepare engagement proposals, define rules of engagement, plan detection or response tests, and design purple-team exercises.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hermeticormus/libresecops-claude-code/red-team-plan
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install red-team-operations, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for red-team-plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/red-team-plan/github.svg)](https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/red-team-plan)
Your own site
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/red-team-plan"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/red-team-plan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for red-team-plan

Your own site · 80×15
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/red-team-plan"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/red-team-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,082 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01082
Opus 5.5 $0.00014 $0.00433
Sonnet 5.5 $0.00007 $0.00216
Haiku 4.5 $0.00003 $0.00108

Measured 12d ago against content hash c200e126425d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

red-team-plan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/red-team-operations/commands/red-team-plan.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/red-team-plan

Create a structured adversary simulation plan with threat scenario, scope, rules of engagement, and phased operation design.

Trigger

Use when you need to:

  • Plan a red team engagement for authorized testing
  • Structure an adversary simulation exercise
  • Define rules of engagement and scope for an upcoming test
  • Design a purple team exercise with detection validation points
  • Prepare a red team proposal for stakeholder approval

PREREQUISITE: Written authorization from the system owner must be in place or in progress. This command produces a plan document, not an attack.

Input

  • Required: Target organization description (industry, size, technology stack, threat landscape)
  • Required: Objective of the engagement (test detection, test response, validate controls, compliance requirement)
  • Optional: Specific threat actor to emulate (e.g., "APT29-like scenario" or "ransomware group TTPs")
  • Optional: Known constraints (off-limits systems, testing windows, budget)
  • Optional flag: --purple -- design as a collaborative purple team exercise with built-in detection validation

Process

  1. Threat Scenario Selection: Based on the organization's industry, geography, and technology stack, identify the most relevant threat scenario:

    • Which threat actors target this type of organization?
    • What are their known TTPs?
    • What is their typical objective (data theft, ransomware, espionage, disruption)?
  2. Scope Definition: Define the boundaries of the engagement:

    • In-scope systems, networks, and applications
    • Out-of-scope systems (production critical systems, third-party systems, etc.)
    • Authorized access methods
    • Prohibited actions (no data destruction, no customer data access, etc.)
  3. Rules of Engagement: Establish operational boundaries:

    • Testing windows (business hours, after hours, weekends)
    • Notification requirements (who knows, who does not know)
    • Emergency stop procedures
    • Deconfliction (how to distinguish red team from real attacker)
    • Evidence handling (screenshots, logs, accessed data)
    • Legal review requirements

Read the full file on GitHub · 120 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago Changed · +5 lines · +34 tokens per session c200e126425d
  2. 1mo ago First seen · 115 lines · 0 tokens per session scan A e891f2591095

Subscribe to this mod's changes

red-team-plan is a command published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 9d ago), licensed MIT. It adds 34 tokens to every session and 1,082 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.