octo-security

octo-security is a command for Claude Code, Cursor from nyldn/claude-octopus. It costs 19 tokens per session (1,634 once invoked), scanned A, original, MIT.

A security audit command that uses multiple AI providers or adversarial checks to examine a repository for security problems.

In plain words
What is it for?
It performs read-only repository audits, groups findings by confidence, and prepares them for human review before remediation.
Why use it?
It adds a deeper review path when a normal security review is not enough, while separating confirmed findings from disputed ones.

Command for Claude CodeCursor

Written for Claude Code and Cursor: disable-model-invocation in frontmatter, but also a Cursor plugin manifest. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the octo plugin — 71 skills, 112 commands, 10 agents, 18 hooks shipped together

Good fit It performs read-only repository audits, groups findings by confidence, and prepares them for human review before remediation.

Compare 6 commands from other repositories ↓
About the project

Claude Octopus is an orchestration project that sends research, design, and coding tasks to Claude Code and other AI model providers so their results can be compared. Developers use it for multi-model work, disagreement detection, reviews, persistent context, and an optional workflow that moves from discovery through delivery. The catalogue entries are its commands, skills, agents, instructions, hooks, plugins, and settings.

nyldn/claude-octopus · 4,537 stars · on GitHub · reddit.com

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add nyldn/claude-octopus
Claude Code
/plugin install octo

Made for: Claude Code, Cursor.

Or install octo, the plugin that ships this one along with the rest of its 71 skills, 112 commands, 10 agents, 18 hooks.

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 octo-security

README.md
[![agentmods](https://agentmods.dev/badge/commands/nyldn/claude-octopus/octo-security/github.svg)](https://agentmods.dev/commands/nyldn/claude-octopus/octo-security)
Your own site
<a href="https://agentmods.dev/commands/nyldn/claude-octopus/octo-security"><img src="https://agentmods.dev/badge/commands/nyldn/claude-octopus/octo-security/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 octo-security

Your own site · 80×15
<a href="https://agentmods.dev/commands/nyldn/claude-octopus/octo-security"><img src="https://agentmods.dev/badge/commands/nyldn/claude-octopus/octo-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 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,634 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.00019 $0.01634
Opus 5.5 $0.00008 $0.00654
Sonnet 5.5 $0.00004 $0.00327
Haiku 4.5 $0.00002 $0.00163

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

Security

Grade A, and why

octo-security 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 24d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.cursor-plugin/commands/octo-security.md · 174 lines

How it starts

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

Security - Security Audit Skill

Positioning

Use Claude-native /security-review for ordinary security review requests.

Use /octo:security when the user explicitly wants enhanced multi-LLM or adversarial security audit behavior.

Your first output line MUST be: 🐙 Octopus Security Audit

Scheduled Claude Code Web Usage

For recurring audits, schedule /octo:security run a read-only security audit of this repository as a Claude Code web or hosted task.

Scheduled security runs must be read-only unless the user explicitly asks for remediation. Findings should be grouped as confirmed, disputed, or needs-human-review before any fix workflow starts.

🤖 INSTRUCTIONS FOR CLAUDE

MANDATORY COMPLIANCE — DO NOT SKIP

When the user explicitly invokes /octo:security, you MUST execute the structured security audit workflow below. You are PROHIBITED from doing a quick check directly, ignoring material unresolved scope, or deciding the task is "too simple" for this workflow. The user chose this command deliberately — respect that choice.

EXECUTION MECHANISM — NON-NEGOTIABLE

You MUST dispatch work to external providers (Codex, Antigravity, etc.) for this command. You are PROHIBITED from:

  • ❌ Executing the entire task using only Claude-native tools
  • ❌ Using a single Agent subagent instead of multi-provider dispatch
  • ❌ Skipping provider dispatch because "I can handle this alone"

Multi-LLM orchestration is the purpose of this command. Single-model execution defeats its purpose.


When the user invokes this command (e.g., /octo:security <arguments>):

Step 1: Ask Clarifying Questions

Before starting, read the supplied threat model, compliance needs, risk tolerance, and validation/provider choices. Reuse explicit information. Use AskUserQuestion only for material unresolved or contradictory fields. When these are clear, proceed to the audit.

The following is a checklist, not a required questionnaire. Ask only unresolved fields and omit answered fields. An answer about audit context does not authorize implementation, publication, provider spending, or approval decisions. Preserve those decisions separately.

Read the full file on GitHub · 174 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. 24d ago Changed c612a4fad39e
  2. 25d ago Changed 2ceb5c310f7b
  3. 3mo ago First seen · 174 lines · 19 tokens per session scan A e41f3b775575

Subscribe to this mod's changes

octo-security is a command published in the GitHub repository nyldn/claude-octopus (4,537 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 1,634 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.

Related

octo-security compared with commands from other repositories

octo-security next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
octo-securitynyldn/claude-octopusCommand4.5ktodayMITA19Claude Code, Cursor
syncjikig-ai/soleurCommand21todaynoneA0Claude Code
checklistgithub/spec-kitCommand154ktodayMITA13Claude Code
clarifygithub/spec-kitCommand154ktodayMITA27Claude Code
specifygithub/spec-kitCommand154ktodayMITA13Claude Code
analyzegithub/spec-kitCommand154ktodayMITA26Claude Code
convergegithub/spec-kitCommand154ktodayMITA35Claude Code