octo-plan

octo-plan is a command for Claude Code, Cursor from nyldn/claude-octopus. It costs 25 tokens per session (5,475 once invoked), scanned A, original, MIT.

A command that turns a request into a saved execution plan without carrying out the work. The plan can be reviewed and later approved for execution.

In plain words
What is it for?
Use it to clarify requirements, organize dependencies, and prepare a strategy for a complex development task.
Why use it?
It separates deciding what should happen from doing it, so you can check the approach before changes are made.

Command for Claude CodeCursor

Written for Claude Code and Cursor: disable-model-invocation in frontmatter, but also a Cursor plugin manifest. Also seen: reads .claude/ paths; names the ExitPlanMode tool; mentions Codex.

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 — 70 skills, 106 commands, 10 agents, 18 hooks shipped together

Good fit Use it to clarify requirements, organize dependencies, and prepare a strategy for a complex development task.

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,062 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 70 skills, 106 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-plan

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/nyldn/claude-octopus/octo-plan"><img src="https://agentmods.dev/badge/commands/nyldn/claude-octopus/octo-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,475 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.00025 $0.05475
Opus 5 $0.00013 $0.02738
Sonnet 5 $0.00005 $0.01095
Haiku 4.5 $0.00003 $0.00547

Measured 5d ago against content hash 8465db220715, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

octo-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 5d 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

1 near-identical copy found in the catalogue:

  • plan — 100% identical, 6 lines differ
.cursor-plugin/commands/octo-plan.md · 654 lines

How it starts

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

Plan - Intelligent Plan Builder

Load skills/blocks/engineering-method-selection.md from the installed plugin and apply only the methods relevant to this task. Preserve this entry point's execution contract and output format. Read referenced skills as instructions; do not invoke the current command recursively or add provider calls from a seat.

Creates strategic execution plans based on user intent. Saves plans for review and optional execution with /octo:embrace.

Key Behavior

  • Creates plans - Captures intent, analyzes requirements, generates weighted execution strategy
  • Saves to files - Stores each plan and intent contract in a unique run directory under the project-owned .octo/plans/ namespace, or under octo-owned session storage when there is no project
  • Doesn't execute - Plans are saved for review; execution requires user confirmation
  • Optional execution - Can load /octo:embrace after explicit user approval or execute later
  • Prototype handoff - Can propose one bounded experiment without writing or launching providers in native plan mode

Prototype proposal

When one risky assumption blocks the plan, offer a prototype with one question, hypothesis, deadline, artifact path, source revision, and success signal. In native read-only plan mode, present the proposal only. After explicit execution approval, load skill-prototype and store artifacts through scripts/plan-storage.sh. Choosing a prototype does not authorize deployment, provider calls, browser login, repository rewrites, or new permissions.

Before filing implementation tasks, map unresolved decisions and their dependency graph. A cycle withholds ready status. Claims must use the configured tracker's atomic operation and be read back before work starts. On tracker failure, save an explicitly unfiled proposal in the plan directory and stop tracker writes.

🤖 INSTRUCTIONS FOR CLAUDE

MANDATORY: Detect Plan Mode Write Conflict Before Starting

THIS CHECK RUNS FIRST — before intent capture, before any artifact write.

Read the full file on GitHub · 654 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. 5d ago Changed · +20 lines 8465db220715
  2. 9d ago First seen · 634 lines · 25 tokens per session scan A 96557b99d513

Subscribe to this mod's changes

octo-plan is a command published in the GitHub repository nyldn/claude-octopus (4,062 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 5,475 once invoked, about $0.0001 per session on Opus 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.