opsec

opsec is a skill for Claude Code from PurpleAILAB/Decepticon. It costs 30 tokens per session (2,498 once invoked), scanned A, original, Apache-2.0.

An operational-security guide for authorized red-team work, covering scan-rate limits, traffic patterns, source addresses, tool fingerprints, evidence handling, and engagement rules.

In plain words
What is it for?
Use it to prepare rules of engagement, limit network scanning, manage test traffic, document authorization, and preserve usable evidence.
Why use it?
It reduces accidental disruption and unwanted detection during security tests. It also makes sure activity stays within the written scope and testing window.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to prepare rules of engagement, limit network scanning, manage test traffic, document authorization, and preserve usable evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/purpleailab/decepticon/opsec
About the project

Decepticon is an autonomous red-team agent that coordinates AI agents, security tools, sandboxes, and supporting services for authorized cybersecurity assessments. Security researchers and red teams can run it through its Docker stack, cloud service, command-line interface, or Python SDK, with the catalogue entries representing its available skills.

PurpleAILAB/Decepticon · 6,286 stars · on GitHub · decepticon.red

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.

Any agent
npx skills add PurpleAILAB/Decepticon --skill opsec
Clone the repo
git clone --depth 1 https://github.com/PurpleAILAB/Decepticon

Made for: Claude Code.

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 opsec

README.md
[![agentmods](https://agentmods.dev/badge/skills/purpleailab/decepticon/opsec/github.svg)](https://agentmods.dev/skills/purpleailab/decepticon/opsec)
Your own site
<a href="https://agentmods.dev/skills/purpleailab/decepticon/opsec"><img src="https://agentmods.dev/badge/skills/purpleailab/decepticon/opsec/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 opsec

Your own site · 80×15
<a href="https://agentmods.dev/skills/purpleailab/decepticon/opsec"><img src="https://agentmods.dev/badge/skills/purpleailab/decepticon/opsec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,498 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 49
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
How audits are shown
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.00030 $0.02498
Opus 5.5 $0.00012 $0.00999
Sonnet 5.5 $0.00006 $0.00500
Haiku 4.5 $0.00003 $0.00250

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

Security

Grade A, and why

opsec scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# curl with delay between requests
packages/decepticon/decepticon/skills/shared/opsec/SKILL.md · 240 lines

How it starts

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

Operational Security (OPSEC) Knowledge Base

OPSEC ensures the red team engagement remains covert, controlled, and within authorized scope. Poor OPSEC burns the engagement — detected scans alert the blue team, taint findings, and waste client resources. This skill applies across all recon phases.

1. Core OPSEC Principles

The OPSEC Mindset

  1. Every packet is a signal — assume the target has IDS/IPS, SIEM, and SOC analysts
  2. Minimize footprint — collect only what you need, no more
  3. Blend with normal traffic — timing, volume, and patterns should look legitimate
  4. Know your tools' signatures — every scanner has a fingerprint
  5. Document everything — if you can't prove it was authorized, it wasn't

Engagement Scope Awareness

Before ANY active operation:

  • Written Rules of Engagement (ROE) on file
  • Target IP ranges and domains explicitly listed
  • Out-of-scope assets clearly identified
  • Testing window defined (dates, times)
  • Emergency contact for the client (for accidental impact)
  • Get-out-of-jail letter accessible

2. Network OPSEC

Scan Rate Limiting

Target Type Recommended Rate Timing Flag
Production web server 5-10 req/sec nmap -T2
Internal network 50-100 req/sec nmap -T3
Development/staging 100+ req/sec nmap -T4
High-security target 1-2 req/sec nmap -T1
WAF-protected 1-5 req/sec Custom delays

Traffic Shaping

# nmap with specific rate limiting
nmap -sS --max-rate 10 --max-retries 1 -p 80,443 <target>

# ffuf with rate limiting
ffuf -u https://<target>/FUZZ -w wordlist.txt -rate 5

# nuclei with rate limiting
nuclei -u https://<target> -rl 5 -c 2

# curl with delay between requests
for url in $(cat urls.txt); do
    curl -s -o /dev/null -w "%{http_code} $url\n" "$url"
    sleep 2
done

Timing Considerations

  • Business hours (9am-5pm target timezone): Higher baseline traffic → scanning blends in
  • Weekends/holidays: Lower baseline → scans stand out more
  • Maintenance windows: If known, ideal for aggressive scanning
  • Burst vs sustained: Short bursts with long pauses are less detectable than sustained scanning

Read the full file on GitHub · 240 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. 1mo ago First seen · 240 lines · 30 tokens per session scan A a3f316155e62

Subscribe to this mod's changes

opsec is a skill published in the GitHub repository PurpleAILAB/Decepticon (6,286 stars, last pushed 7d ago), licensed Apache-2.0. It adds 30 tokens to every session and 2,498 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

interactive-dashboard

Interactive web dashboards: stock trackers, sector heatmaps, portfolio monitors, served via preview URL.

ginlix-ai/LangAlpha · 21 tokens

company-profile

One-page company profile slide, four quadrants of overview, financial summary, share price chart and key facts. Also the compact profile paragraph when it has to sit inside a memo, a deck or a chat reply. Triggers on one-page profile, tear sheet, company snapshot, profile slide, quick profile of [company].

ginlix-ai/LangAlpha · 68 tokens

idea-generation

Find long and short candidates across a universe when no name is on the table yet: mandate, universe validation, archetype screens, thematic sweep, triage, idea cards, idea log. Triggers on idea generation, stock screen, find ideas, what looks interesting, screen for, new ideas, pitch me something.

ginlix-ai/LangAlpha · 67 tokens

onboarding

First run after the user saves their investing profile: import holdings and watchlists from the brokerage they connected or the screenshots they attached, then propose three first tasks (one on their portfolio or watchlist, one from their profile, one on today's market) and do the one they pick.

ginlix-ai/LangAlpha · 60 tokens

python-lib-analyzer

Analyze any Python library structure, explore modules, classes, and functions with signatures and documentation.

shibing624/agentica · 23 tokens

research-report

A method for writing a research report, topic review, or comparison from supplied material. It separates evidence, source authors' views, and the writer's inferences while keeping sources identifiable.

Shy2593666979/AgentChat · 35 tokens