Back to Discover

claude-octopus

skill

nyldn

Surface AI blindspots before you ship. Put up to 8 AI models on every research, design or coding task.

View on GitHub
3,915 starsMITSynced Aug 2, 2026

Install to Claude Code

/plugin marketplace add nyldn/claude-octopus

README

๐Ÿ™ Claude Octopus

Every AI model has blind spots. Claude Octopus supports ten external provider integrations โ€” Codex, Gemini, Antigravity CLI, Copilot, Qwen, Ollama, Perplexity, OpenRouter, OpenCode, and Grok โ€” alongside the built-in Claude Code host, with consensus gates that flag disagreements before you ship.

Claude-native first, Octopus for escalation. Use Claude-native /init, /review, and /security-review when Claude is enough. Use Octopus when you want multiple model opinions, adversarial review, or stricter multi-LLM workflows.

Claude Octopus Demo โ€” debate and research with multiple AI providers

Built with Claude Tests Version 9.57.0 Requires Claude Code v2.1.14+ MIT License

๐Ÿ™ Research, build, review, and ship โ€” with ten external providers checking the host's work. Say what you need, and the right workflow runs. Claude-native handles the ordinary path; Octopus handles the escalated path. A 75% consensus gate catches disagreements before they reach production. No single model's blind spots slip through.

๐Ÿง  Remembers across sessions. Integrates with claude-mem and agentmemory for persistent memory โ€” past decisions, research, and context survive session boundaries.

โšก Spec in, software out. Dark Factory mode takes a spec and autonomously runs the full pipeline โ€” research, define, develop, deliver. You review the output, not every step.

๐Ÿ”„ Four-phase methodology, not just tools. Every task moves through Discover โ†’ Define โ†’ Develop โ†’ Deliver, with quality gates between phases. Other orchestrators give you infrastructure. Octopus gives you the workflows.

๐Ÿ™ 32 specialized personas (role-specific AI agents like security-auditor, backend-architect), 50 commands (slash commands you type), 58 skills (reusable workflow modules). Say "audit my API" and the right expert activates. Don't know the command? The smart router figures it out.

๐Ÿ™ Works with just Claude. Adds up to ten external provider integrations. Zero external providers are needed to start. Add them one at a time โ€” each activates automatically when detected.

๐Ÿ’ฐ Five providers cost nothing extra when you already have access. Codex, Gemini, Antigravity CLI, and Copilot use existing subscriptions or local auth. Ollama runs locally for free. Qwen now requires API-key or Coding-Plan auth; its free OAuth tier ended on 2026-04-15.


What's New

๐Ÿ†• v9.57.0 โ€” Command Code provider, selective Fable 5 escalation, and progressive feature disclosure.

Default roster: Claude Opus 5 leads architecture, planning, security reasoning, and final judgment; GPT-5.6 Sol is the independent implementation/review peer; Claude Sonnet 5 is the standard Claude seat; Fable 5 remains an opt-in judgment escalation. Existing model pins and provider configuration still win. See the routing strategy.

/octo:model-config                         # inspect or override the frontier roster
OCTOPUS_OPUS5_AUTO_XHIGH=1                 # opt in to automatic xhigh Opus 5 phases
OCTOPUS_OPUS_MODEL=claude-fable-5          # explicitly opt in to Fable 5

๐Ÿ†• v9.41 โ€” Multi-LLM Council. /octo:council runs a structured 3/5/7-persona deliberation across Claude, Codex, Gemini, and OpenCode with goal modes (advice, decision, plan, implement, review), styles (balanced, adversarial, red-team, executive, implementation), benchmark-aware role routing, quorum + critical-veto gates, budget caps, and gated worktree handoff for approved plans. Use it when one model's opinion isn't enough.

/octo:council --goal decision --style adversarial "Should this service stay monolithic?"
/octo:council --goal implement --implement plan-only "Refactor the auth flow"
VersionBest Features
v9.57.0 (new)Command Code provider, selective Fable 5 escalation, and progressive feature disclosure.
v9.50Claude Code 2026 compatibility layer โ€” routines manifest (schedule + GitHub-event automations), SubagentStop quality/cost gate, /octo:usage cost attribution, worktree.bgIsolation opt-out, Claude Agent SDK seat (introduced with Opus 4.8 and now following the current Opus 5 default), starter skills pack, /plugin browse manifest with projected context cost.
v9.41/octo:council promoted to first-class workflow โ€” structured multi-LLM deliberation with goal modes, adversarial/red-team styles, benchmark-aware persona routing, quorum and critical-veto gates, budget preflight, and gated worktree handoff for approved implementation plans.
v9 (current)Up to 10 external provider integrations (Codex, Gemini, Antigravity CLI, Copilot, Qwen, Ollama, Perplexity, OpenRouter, OpenCode, and Grok) alongside the Claude Code host. Structured provider debates and configurable multi-LLM councils. Smart router โ€” just say what you need. Agent summary tables show which providers actually contributed. Provider-aware prompt preflight prevents silent oversize failures. Research breadth modes fan out light, standard, or exhaustive investigations. Setup aliases and fuzzy /octo:* corrections reduce command friction. Discipline mode with 8 auto-invoke gates. Two-stage review. Circuit breakers with automatic provider recovery. Cursor + OpenCode + Codex cross-compatibility. Token compression: bin/octo-compress pipe + auto PostToolUse hook save ~7,300 tokens/session. PostCompact context recovery. bin/octopus CLI. 182 Claude Code capability flags through v2.1.219, including Opus 5, Sonnet 5, and dynamic workflow awareness.
v8Multi-LLM code review with inline PR comments. Parallel workstreams in isolated git worktrees. Reaction engine โ€” auto-responds to CI failures. 32 specialized personas. Dark Factory autonomous pipeline.
v7Double Diamond workflow. Multi-provider dispatch. Quality gates and consensus scoring. Configurable sandbox modes.

Full changelog โ†’

Upgrading to 9.5x
  • Current fresh configurations use GPT-5.6 Sol for Codex implementation/review, Claude Opus 5 for premium Claude work, and Claude Sonnet 5 for the standard Claude seat. Existing environment, session, and providers.json pins remain unchanged; OCTOPUS_LEGACY_ROLES=1 restores the pre-frontier role mapping.
  • New claude-sdk seat env vars (v9.50): CLAUDE_SDK_API_KEY, OCTOPUS_CLAUDE_SDK_MODEL, OCTOPUS_CLAUDE_SDK_MAX_TOKENS, OCTOPUS_CLAUDE_SDK_ALLOWED_MODELS, OCTOPUS_CLAUDE_SDK_CONTEXT_BUDGET.
  • New Fable 5 guard env vars (v9.51): OCTOPUS_FABLE5_MODE (auto/off/on), OCTOPUS_FABLE5_NO_RETRY. Guards auto-enable only when you pin claude-fable-5.
  • Premium Claude role routing (architect, strategist, security-reviewer to Opus) landed in v9.29; restore the older mapping with OCTOPUS_LEGACY_ROLES=1.

Quickstart

# Terminal (not inside a Claude Code session):
claude plugin marketplace add https://github.com/nyldn/plugins.git
claude plugin install octo@nyldn-plugins

# Then inside Claude Code:
/octo:setup

That's it. Setup detects installed providers, shows what's missing, and walks you through configuration. You need zero external providers to start โ€” Claude is built in.

Claude Code v2.1.14+ is the minimum supported runtime. Newer Claude Code releases unlock additional Octopus diagnostics and release checks automatically; the current plugin tracks 182 Claude Code capability flags through Claude Code v2.1.219.

Install for Codex CLI
git clone --depth 1 https://github.com/nyldn/claude-octopus.git ~/.codex/claude-octopus && mkdir -p ~/.agents/skills && ln -sf ~/.codex/claude-octopus/skills ~/.agents/skills/claude-octopus

Restart Codex. Skills appear automatically โ€” invoke with $skill-doctor, $skill-debug, etc.

Install for Cursor IDE

Cursor uses Octopus as an MCP server (not a plugin โ€” Cursor doesn't have Claude Code's plugin system). You get MCP tools like octopus_discover, octopus_review, etc. instead of /octo:* slash commands.

Important: Just cloning the repo is not enough. You must complete all three steps below โ€” install dependencies and configure the MCP server โ€” for Cursor to pick up Octopus tools.

# 1. Clone the repo
git clone --depth 1 https://github.com/nyldn/claude-octopus.git ~/.cursor/claude-octopus

# 2. Install MCP server dependencies
cd ~/.cursor/claude-octopus/mcp-server && npm install

# 3. Configure Cursor โ€” add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project):
{
  "mcpServers": {
    "claude-octopus": {
      "command": "npx",
      "args": ["tsx", "${userHome}/.cursor/claude-octopus/mcp-server/src/index.ts"],
      "env": {
        "OCTO_CLAW_ENABLED": "true",
        "OPENAI_API_KEY": "${env:OPENAI_API_KEY}",
        "GEMINI_API_KEY": "${env:GEMINI_API_KEY}"
      }
    }
  }
}

Restart Cursor. Tools appear in Cursor's AI chat โ€” invoke by asking e.g. "use octopus_discover to research X".

Using Cursor on WSL?

If you're running Cursor on Windows with WSL, clone the repo inside WSL and point the MCP config through wsl.exe:

{
  "mcpServers": {
    "claude-octopus": {
      "command": "wsl",
      "args": ["npx", "tsx", "/home/<user>/.cursor/claude-octopus/mcp-server/src/index.ts"],
      "env": {
        "OPENAI_API_KEY": "${env:OPENAI_API_KEY}",
        "GEMINI_API_KEY": "${env:GEMINI_API_KEY}"
      }
    }
  }
}

Replace <user> with your WSL username. Make sure node and npm are installed inside WSL.

See docs/IDE-INTEGRATION.md for the full guide including ide-attach.sh auto-setup.

Install for OpenCode
git clone --depth 1 https://github.com/nyldn/claude-octopus.git ~/.opencode/claude-octopus
mkdir -p ~/.agents/skills
ln -s ~/.opencode/claude-octopus/skills ~/.agents/skills/claude-octopus
Other install methods (Claude Code)

From the Claude Code UI: Type /plugin in a session โ†’ Marketplace tab โ†’ install octo.

Factory AI (Droid):

droid plugin marketplace add https://github.com/nyldn/claude-octopus.git
droid plugin install octo@nyldn-plugins
Update / Troubleshooting
# Update
claude plugin marketplace update nyldn-plugins
claude plugin update octo@nyldn-plugins

# Clean reinstall (if update fails)
claude plugin uninstall claude-octopus 2>/dev/null
claude plugin uninstall octo 2>/dev/null
rm -rf ~/.claude/plugins/cache/nyldn-plugins/octo
claude plugin marketplace remove nyldn-plugins
claude plugin marketplace add https://github.com/nyldn/plugins.git
claude plugin install octo@nyldn-plugins

Run focused diagnostics after updating:

/octo:doctor config   # install path, version, manifest, Claude Code feature flags
/octo:doctor skills   # skill loading, skillOverrides, plugin zip/URL capability notes

For Anthropic-compatible gateways, Claude Code v2.1.129+ requires an explicit opt-in before /model discovers models from /v1/models:

export ANTHROPIC_BASE_URL=https://your-gateway.example/v1
export CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1

Claude Code v2.1.129+ also supports skillOverrides in Claude settings. Use it to keep rarely used Octopus skills installable while reducing context load, for example by setting niche skills to name-only or user-invocable-only.


Claude Code Web and Remote Sessions

When Claude Code is running in a hosted, web, or remote-control environment, set OCTOPUS_REMOTE_SESSION=true in that environment. If Claude Code itself exports CLAUDE_CODE_REMOTE=true or CLAUDE_CODE_WEB=true, Octopus detects that automatically. Remote sessions are treated as unattended by default:

  • CLAUDE_OCTOPUS_AUTONOMY=autonomous / OCTOPUS_AUTONOMY=autonomous unless already set
  • provider smoke tests and Codex tier probes are skipped
  • the statusline uses a lightweight remote-safe display

Set OCTOPUS_REMOTE_STATUSLINE=full to opt back into the full local HUD, or OCTOPUS_REMOTE_STATUSLINE=off to suppress statusline output entirely.

Cloud environment setup should install provider CLIs and expose only the credentials required for the workflow. Paste this into the cloud environment setup script:

#!/usr/bin/env bash
set -e

npm install -g @openai/codex @google/gemini-cli @qwen-code/qwen-code 2>/dev/null || true

echo "Octopus cloud setup:"
command -v codex >/dev/null 2>&1 && echo "  Codex CLI: installed" || echo "  Codex CLI: missing"
command -v gemini >/dev/null 2>&1 && echo "  Gemini CLI: installed" || echo "  Gemini CLI: missing"
command -v agy >/dev/null 2>&1 && echo "  Antigravity CLI: installed" || echo "  Antigravity CLI: missing"
command -v qwen >/dev/null 2>&1 && echo "  Qwen CLI: installed" || echo "  Qwen CLI: missing"
command -v gh >/dev/null 2>&1 && echo "  GitHub CLI: installed" || echo "  GitHub CLI: optional, install if Sentinel needs GitHub"

Set environment variables in the cloud environment, not in the script:

OPENAI_API_KEY=...
GEMINI_API_KEY=...
PERPLEXITY_API_KEY=...   # optional
OPENROUTER_API_KEY=...   # optional

Provider API calls require internet access from the hosted environment.

For scheduled Claude Code tasks, run /octo:sentinel for triage and /octo:security for recurring audits. Keep jobs read-only by default and route fixes through /octo:debug, /octo:review, or /octo:embrace after triage.

Set OCTO_TIER=prototype|mvp|production as a project hint. It does not hard-block behavior; it helps setup, doctor, and workflow prompts recommend the right amount of verification and provider spend.


9 Commands That Matter Most

Nine high-traffic commands cover the common Octopus workflows: lifecycle execution, councils, debate, research, design, quality, and specs.

/octo:embrace build stripe integration     # Full lifecycle: research โ†’ define โ†’ develop โ†’ deliver
/octo:factory "build a CLI that converts CSV to JSON"  # Autonomous pipeline โ€” spec in, software out
/octo:council --goal decision "Should we keep this service monolithic?"  # Persona council with budget/veto gates
/octo:debate monorepo vs microservices     # Structured provider debate with consensus
/octo:research --breadth=standard htmx vs react in 2026  # Attributed multi-provider research
/octo:design mobile checkout redesign       # UI/UX design with BM25 style intelligence
/octo:tdd create user auth                 # Red-green-refactor with test discipline
/octo:security                              # OWASP vulnerability scan + remediation
/octo:prd mobile checkout redesign          # AI-optimized PRD with 100-point scoring

/octo:council uses the real runner by default. Single-model simulation is only used when explicitly requested with --simulate or --single-model; --research-first writes a research artifact before fanout, and --corpus-mode append|require preserves synthesis and plans in project corpus workflows.

Plus 40+ more: review, debug, extract, deck, docs, schedule, parallel, sentinel, optimize, brainstorm, claw, doctor, and the full set.

Don't remember the command name? Just describe what you need:

/octo:auto research microservices patterns    -> routes to discover phase
/octo:auto build user authentication          -> routes to develop phase
/octo:auto compare Redis vs DynamoDB          -> routes to debate

The smart router parses your intent and selects the right workflow.

Multi-provider runs also write an agent status ledger. Use octopus agent-summary to see which providers contributed, which ran degraded, and which failed before synthesis.


Pick a Command by Goal

Not sure which command to use? Pick by goal:

I want to...Use
Research a topic thoroughly/octo:research or /octo:discover
Get a panel recommendation or gated implementation plan/octo:council
Debate two approaches/octo:debate
Build a feature end-to-end/octo:embrace
Design a UI or style system/octo:design
Review existing code/octo:review
Write tests first, then code/octo:tdd
Scan for vulnerabilities/octo:security
Write a product spec/octo:prd
Go from spec to shipping code/octo:factory
Debug a tricky issue/octo:debug
Reduce token usage/octo:doctor (includes RTK install + token tips)
Just run something quick/octo:quick

Or skip the table โ€” type /octo:auto <what you want> or just say octo <what you want>, and the smart router picks for you. ๐Ÿ”

How does this compare to Superpowers or plain Claude Code?
Claude Code aloneSuperpowersClaude Octopus
Core ideaOne model, your promptsStructured methodology for one agentBuilt-in Claude plus up to 10 external integrations cross-checking each other
ProvidersClaude onlyClaude onlyClaude host; Codex, Gemini, Antigravity CLI, Copilot, Qwen, Ollama, Perplexity, OpenRouter, OpenCode, Grok
WorkflowAd-hocSpec โ†’ plan โ†’ subagent-driven devDiscover โ†’ Define โ†’ Develop โ†’ Deliver (Double Diamond)
StrengthSimple, no setupLong autonomous runs with disciplineMultiple perspectives catching blind spots
Consensus gatesNoNoYes โ€” 75% agreement threshold
Best forQuick tasks, simple featuresLarge builds with clear specsResearch, review, debates, multi-provider validation
SetupNothingInstall pluginInstall plugin, optionally add providers

tl;dr: Superpowers makes one agent work really well for hours. Octopus makes multiple agents check each other's work. They solve different problems.


How It Works

How 10 External Providers Work Together

Claude Octopus coordinates ten external provider integrations alongside the built-in Claude Code host. The optional claude-sdk route is a second Anthropic seat, so it is shown below but is not counted as a separate provider family.

ProviderRole
๐Ÿ”ด Codex (OpenAI, GPT-5.6 Sol/Terra/Luna)Code review + implementation โ€” edge-case hunting, terminal-heavy execution, patch/test loops
๐ŸŸก Gemini (Google)Ecosystem breadth โ€” alternatives, research synthesis
๐Ÿงญ Antigravity CLI (agy)Google Antigravity perspective via native stdin print-mode dispatch
๐ŸŸฃ PerplexityLive web search โ€” CVE lookups, dependency research, current docs
๐ŸŒ OpenRouterAlternative model routing โ€” access 100+ models via single API
๐ŸŸข Copilot (GitHub)Zero-cost research โ€” uses existing GitHub Copilot subscription
๐ŸŸค Qwen (Alibaba)Qwen3-Coder research via API-key or Coding-Plan auth
โšซ Ollama (Local)Zero-cost local LLM โ€” offline, privacy-sensitive, fallback
๐ŸŸ  OpenCodeAlternate coding-agent integration and cross-checking seat
โšก Grok (xAI, via cursor-agent)Frontier-model second opinion โ€” added as a first-class seat in v9.48
๐Ÿ”ต Claude (Anthropic, Opus 5 + Sonnet 5)Architecture, strategy, security review, orchestration, consensus, final synthesis
๐Ÿ”ต Claude Agent SDK seat (claude-sdk)Optional second Anthropic seat: Opus 5 with the 1M-token context window, independent of the host session (set CLAUDE_SDK_API_KEY)

Explicit research-breadth, debate, council, and adversarial-review workflows use multiple providers. Generic mergeable work starts with one capable owner and adds another model only for a distinct job. A 75% consensus quality gate prevents questionable work from shipping. Only Claude is required โ€” all others are optional and auto-detected.

Frontier routing defaults architect, strategist, security-reviewer, and opt-in implementer-heavy to Opus 5 on Claude Code v2.1.219+, with Opus 4.8/4.7/4.6 fallbacks. code-reviewer and implementer use GPT-5.6 Sol; synthesizer uses Sonnet 5 on Claude Code v2.1.197+. Fable 5 remains an opt-in judgment escalation. Existing pins/configs win, and OCTOPUS_LEGACY_ROLES=1 restores the v9.28 mapping. See the routing strategy.

Native dynamic workflows: Claude Code v2.1.154+ can run native dynamic workflows for huge single-Claude migrations. Use that path when one Claude workflow is enough; use Octopus when you need multi-provider disagreement, councils, adversarial review, external model validation, or blind-spot coverage.

Four Phases: Discover, Define, Develop, Deliver

Four structured phases adapted from the UK Design Council's methodology:

PhaseCommandWhat happens
Discover/octo:discoverMulti-AI research and broad exploration
Define/octo:defineRequirements clarification with consensus
Develop/octo:developImplementation with quality gates
Deliver/octo:deliverAdversarial review and go/no-go scoring

Run phases individually or all four with /octo:embrace. Configure autonomy: supervised (approve each phase), semi-autonomous (intervene on failures), or autonomous (run all four).

32 Specialist Personas

Specialized agents that activate automatically based on your request. When you say "audit my API for vulnerabilities," security-auditor activates. When you say "design a dashboard," ui-ux-designer takes over.

Categories: Software Engineering (11), Specialized Development (6), Documentation & Communication (5), Research & Strategy (3), Business & Compliance (3), Creative & Design (4).

Full persona reference | All 58 skills

Built-in Reaction Engine

When agents create PRs, the reaction engine monitors what happens next โ€” CI failures, review comments, stale agents โ€” and responds automatically. No new commands to learn. It fires transparently inside workflows you already use:

Integration PointWhen It Fires
/octo:parallelBetween poll cycles while monitoring work packages
/octo:sentinelAfter triage scan completes
agent-registry.sh health --reactOn-demand health check

What it auto-handles:

EventReactionLimits
CI failureCollects failure logs into agent inbox3 retries, escalates after 30m
Changes requestedCollects review comments into agent inbox2 retries, escalates after 60m
Agent stuckEscalates to humanAfter 15m with no progress
PR approved + CI greenNotifies you it's ready to mergeโ€”
PR mergedMarks agent completeโ€”

Override defaults per project by creating .octo/reactions.conf:

# EVENT|ACTION|MAX_RETRIES|ESCALATE_AFTER_MIN|ENABLED
ci_failed|forward_logs|5|45|true
changes_requested|forward_comments|3|90|true
stuck|escalate|0|10|true

Reactions track 13 agent lifecycle states: running โ†’ pr_open โ†’ ci_pending โ†’ ci_failed / review_pending โ†’ changes_requested / approved โ†’ mergeable โ†’ merged โ†’ done.


Providers and What They Cost

Authentication

MethodCodexGeminiAntigravityClaude
OAuth/subscription (recommended)codex login โ€” included in ChatGPT subscriptionGoogle account โ€” included in AI subscriptionagy auth โ€” included with Antigravity accessBuilt into Claude Code
API keyOPENAI_API_KEY โ€” per-token billingGEMINI_API_KEY โ€” per-token billingn/aBuilt into Claude Code

OAuth users pay nothing beyond their existing subscriptions. Qwen is the exception: its free OAuth tier ended on 2026-04-15, so use QWEN_API_KEY or Coding-Plan (OPENAI_API_KEY + OPENAI_BASE_URL).

What a Typical Run Costs

Illustrative token-only estimates, using standard global API rates checked 2026-07-27: GPT-5.6 Sol $5/$30, Gemini 3.1 Pro Preview $2/$12 for prompts through 200K tokens and $4/$18 for prompts over 200K, Sonar Pro $3/$15, and Opus 5 $5/$25 per million input/output tokens. The ranges assume roughly 90% input and 10% output tokens, standard (not batch, flex, priority, or fast) processing, no cache discounts, and a representative mix of those models. OAuth/subscription seats (Codex via ChatGPT, Gemini via Google account, Antigravity, Copilot) bill nothing extra; Ollama is free.

The table excludes provider tool charges. Sonar Pro adds a request fee of $6-$14 per 1,000 requests depending on search-context size; Gemini search grounding can add query fees after its included allowance. Long-context and provider-specific rate rules can push large runs above these bounds, so check the linked rate cards before material spend.

RunTypical volumeIllustrative API token cost (tool fees excluded)
Single probe / quick question (one provider)5-20K tokens$0.01-0.20
Debate (2-3 providers, multi-round)30-80K tokens$0.20-1.00
Council (4-6 seats + synthesis)60-150K tokens$0.50-2.50
Full embrace (4 phases, multi-provider)150-400K tokens$1.00-6.00+

Before an expensive run, /octo:costs shows a session cost projection; after runs, /octo:usage breaks down actual spend per provider and skill. Anything projected over $1 is called out before dispatch.

What You Get With Just Claude

Everything except multi-AI features. You get all 32 personas, structured workflows, smart routing, context detection, and every skill. Multi-AI orchestration (parallel analysis, debate, consensus) activates when external providers are configured.


Claude Code 2026 Compatibility Layer

v9.50.0 aligns the plugin with Claude Code's 2026 native capabilities. Each piece degrades gracefully on older Claude Code versions via the existing SUPPORTS_* feature detection.

  • Routines (.claude-plugin/routines.json): saved automation configs mapping schedule and GitHub-event triggers to /octo: commands. All ship disabled; each entry carries a provider roster and a cost note so you know what enabling it will bill.
  • SubagentStop gate (hooks/subagent-stop-gate.sh): quality scoring, provider attribution, cost logging, and council verdict pre-screening before a subagent's summary reaches the lead.
  • /octo:usage: per-provider, per-skill, and per-MCP-server token and cost breakdown in Claude Code's /usage schema, built from local usage records (no provider dispatch).
  • Worktree bgIsolation opt-out: mirror of Claude Code's worktree.bgIsolation session flag; disables background worktree cloning for fast direct-edit runs.
  • Claude Agent SDK seat (claude-sdk): with CLAUDE_SDK_API_KEY set, workflows can seat Opus 5 with the 1M-token context window independent of the host session.
  • Starter pack (skills/octopus-starter-pack/): debate kickoff, council verdict interpretation, provider health summary, and model cost comparison skills.
  • /plugin browse manifest (.claude-plugin/plugin-manifest.json): projected context cost and component inventory for the plugin browse pane.

New environment variables (v9.50.0)

VariableDefaultEffect
CLAUDE_SDK_API_KEYunsetEnables the claude-sdk provider seat (Claude Agent SDK; Opus 5, 1M context)
OCTOPUS_CLAUDE_SDK_MODELclaude-opus-5Model for the claude-sdk seat
OCTOPUS_CLAUDE_SDK_MAX_TOKENS32768Max output tokens for the claude-sdk seat (SDK CLI path)
OCTOPUS_CLAUDE_SDK_ALLOWED_MODELSunsetComma-separated model allowlist for the claude-sdk seat
OCTOPUS_CLAUDE_SDK_CONTEXT_BUDGET1000000Prompt context budget for claude-sdk agent types
OCTOPUS_WORKTREE_BG_ISOLATIONtrueSet false to skip background worktree cloning (fast direct-edit runs)
OCTOPUS_SUBAGENT_GATE_STRICTfalseSet true to let the SubagentStop gate block malformed council verdicts and low-quality summaries
OCTOPUS_SUBAGENT_MIN_QUALITY0Quality floor (0-100) enforced by the gate in strict mode; 0 disables

Fable 5 Support

v9.51.0 added first-class support for Claude Fable 5 (Anthropic's Mythos-class model, $10/$50 per MTok โ€” 2x Opus 5). Fable 5 is never auto-selected; pin it with OCTOPUS_OPUS_MODEL=claude-fable-5 (opus seats) or OCTOPUS_CLAUDE_SDK_MODEL=claude-fable-5 (the 1M-context SDK seat). When a pin is detected, the plugin auto-enables three guards and prints a one-line banner:

  • Security reroute โ€” security-audit dispatches (security-auditor persona, squeeze red/blue workflow) run on Opus 5 instead of Fable 5, whose safety classifiers can refuse adversarial security phrasing even in authorized audits.
  • Effort clamp โ€” xhigh/max effort clamps to high for Fable dispatches. Fable 5 effort applies per tool call; higher settings widen scope at 2x cost without extending runs.
  • Refusal retry โ€” a refused or empty Fable 5 dispatch on the claude-sdk seat retries once on Opus 5 instead of failing the seat.

A SessionStart hook injects the dispatch profile (prompt anti-patterns, judgment routing, risk-surface escalation) whenever a pin is active. Full guidance: skills/blocks/fable5-prompting.md.

New environment variables (v9.51.0)

VariableDefaultEffect
OCTOPUS_FABLE5_MODEautooff disables all Fable 5 guards; on forces them without a pin
OCTOPUS_FABLE5_NO_RETRYunsetSet 1 to disable the refusal retry on the claude-sdk seat
OCTOPUS_FABLE5_FALLBACK_MODELclaude-opus-5Override the Fable security/refusal fallback

Trust, Safety, and Limits

Command namespace โ€” Slash commands are namespaced under /octo:* and the octo natural-language prefix routes through the plugin's intent detection. Lifecycle hooks (session start/end, prompt submit, tool use, compaction, plan mode, worktrees, task lifecycle, idle, config change, permission events) also attach to Claude Code so multi-provider routing, freeze/discipline modes, and the work-queue watcher can function. See hooks/hooks.json for the full list. Uninstall removes every hook.

Data locations โ€” Results in ~/.claude-octopus/results/, logs in ~/.claude-octopus/logs/, project state in .octo/. Nothing hidden.

Provider transparency โ€” Every command shows a ๐Ÿ™ activation indicator on launch. Provider markers such as ๐Ÿ”ด ๐ŸŸก ๐Ÿงญ ๐ŸŸฃ ๐Ÿ”ต show exactly which providers are running and when external APIs are called. You always know what's happening.

Session provider controls โ€” Temporarily disable exhausted providers without uninstalling them. For example, /octo:model-config disable codex --session keeps Codex out of provider detection and multi-LLM fanout for the current session; /octo:model-config clear-allowlist --session restores the default.

Clean uninstall โ€” Run claude plugin uninstall octo from your terminal. If you see a scope error, add --scope project. No residual config changes.


Works With OpenClaw

Claude Octopus ships with a compatibility layer for OpenClaw, the open-source AI assistant framework. This lets you expose Octopus workflows to messaging platforms (Telegram, Discord, Signal, WhatsApp) without modifying the Claude Code plugin.

Architecture

Claude Code Plugin (unchanged)
  โ””โ”€โ”€ .mcp.json โ”€โ”€โ”€ MCP Server โ”€โ”€โ”€ orchestrate.sh
                                        โ†‘
OpenClaw Extension โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Three components, zero changes to the core plugin:

ComponentLocationPurpose
MCP Servermcp-server/Exposes 10 Octopus tools via Model Context Protocol
OpenClaw Extensionopenclaw/Wraps workflows for OpenClaw's extension API
Skill Schemamcp-server/src/schema/skill-schema.jsonUniversal skill metadata format

MCP Server

The MCP server is opt-in โ€” it does not start automatically. This prevents a permanent โœ˜ failed status in Claude Code's /mcp panel for users who don't need it.

To enable it, add the server to your project's .mcp.json or global Claude Code settings:

{
  "mcpServers": {
    "octo-claw": {
      "command": "node",
      "args": ["--require", "./mcp-server/check-node-version.js", "./mcp-server/dist/index.js"],
      "cwd": "<path-to-claude-octopus>",
      "env": {
        "OCTO_CLAW_ENABLED": "true"
      }
    }
  }
}

Once enabled, it exposes:

  • octopus_discover, octopus_define, octopus_develop, octopus_deliver โ€” Individual phases
  • octopus_embrace โ€” Full Double Diamond workflow
  • octopus_debate, octopus_council, octopus_review, octopus_security โ€” Specialized workflows
  • octopus_list_skills, octopus_status โ€” Introspection

Any MCP-compatible client can connect to the server.

OpenClaw Extension

Install in an OpenClaw instance from git:

npm install github:nyldn/claude-octopus#main --prefix openclaw

Or clone and link locally:

cd openclaw && npm install && npm run build

The extension registers as an OpenClaw plugin with configurable workflows, autonomy modes, and Claude Code path resolution.

Build & Validate

./scripts/build-openclaw.sh          # Regenerate skill registry from frontmatter
./scripts/build-openclaw.sh --check  # CI mode โ€” exits non-zero if out of sync
./tests/validate-openclaw.sh         # 13-check validation suite

FAQ

Do I need every AI provider? No. One external provider plus Claude gives you multi-AI features. No external providers still gives you personas, workflows, and skills.

Will this break my existing Claude Code setup? No. Activates only with the octo prefix. Results stored separately. Uninstalls cleanly.

What happens if a provider times out? The workflow continues with available providers. You'll see the status in the visual indicators.

Why "octopus"? ๐Ÿ™ Fun fact: a real octopus has three hearts, blue blood, and 500 million neurons โ€” two-thirds of which live in its eight arms. Each arm can taste, touch, and act independently. Claude Octopus works the same way: each tentacle (command) operates autonomously with its own squeeze of logic, then ink flows back as the final deliverable. The crossfire review? That's the squeeze โ€” adversarial pressure that untangles everything before it ships.

How do I debug when something goes wrong? Run commands with the --verbose flag to get detailed debugging output. Logs are stored in ~/.claude-octopus/logs/ for inspection. You can also use /octo:doctor to run diagnostics and identify potential issues.


Community

Join r/ClaudeOctopus for help, workflow tips, showcases, and updates.

Star History Chart

Contributing

  1. Report issues
  2. Submit PRs following existing code style
  3. git clone https://github.com/nyldn/claude-octopus.git && make test

See CONTRIBUTING.md for details.


Documentation


Attribution


License

MIT โ€” see LICENSE

nyldn | MIT License | r/ClaudeOctopus | Report Issues

Rendered live from nyldn/claude-octopus's GitHub README โ€” not stored, always reflects the source repo.

2 Plugins

NameDescriptionCategorySource
octov9.57.0 - Command Code provider, selective Fable 5 escalation, and progressive feature disclosure. 32 personas, 50 commands, 58 skills. Run /octo:setup.orchestrationhttps://github.com/nyldn/claude-octopus.git
imgGenerate and edit images with OpenAI GPT Image 2 and Gemini 3.1 Flash Image Preview.creativehttps://github.com/nyldn/img.git

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet โ€” be the first to share an update.