Host: Codex CLI — This skill was designed for Claude Code and adapted for Codex. Cross-reference commands use installed skill names in Codex rather than
/octo:*slash commands. Use the active Codex shell and subagent tools. Do not claim a provider, model, or host subagent is available until the current session exposes it. For host tool equivalents, seeskills/blocks/codex-host-adapter.md.
Claude Octopus - Multi-Tentacled Orchestrator
MANDATORY COMPLIANCE — DO NOT SKIP
When this skill is invoked, you MUST dispatch work to multiple providers in parallel. You are PROHIBITED from:
- Running tasks sequentially with a single model instead of parallel multi-provider dispatch
- Skipping orchestrate.sh and doing the work directly
- Deciding the task is "simple enough" for a single provider
- Substituting serial Claude-only execution for multi-LLM parallel execution
This skill exists specifically for multi-provider parallel work. If you catch yourself thinking "I'll just do this myself" — STOP.
Multi-tentacled orchestrator for Claude Code - using Double Diamond methodology for comprehensive problem exploration, consensus building, and validated delivery.
DISCOVER DEFINE DEVELOP DELIVER
(probe) (grasp) (tangle) (ink)
\ / \ / \ / \ /
\ * / \ * / \ * / \ * /
\ * * / \ / \ * * / \ /
\ / \ / \ / \ /
\ / \ / \ / \ /
Diverge then Converge to Diverge with Converge to
converge problem solutions delivery
Quick Start
Note for Claude Code users: You don't need to run these commands! Just talk naturally to Claude:
- "Research OAuth authentication patterns"
- "Build a user authentication system"
- "Review this code for security issues"
The commands below are for direct CLI usage or automation.
# Full Double Diamond workflow (all 4 phases)
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh embrace "Build a user authentication system"
# Individual phases
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh probe "Research authentication best practices"
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh grasp "Define auth requirements"
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh tangle "Implement auth feature"
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh ink "Validate and deliver auth implementation"
# Crossfire: Adversarial cross-model review
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh grapple "implement password reset API"
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh grapple --principles security "implement JWT auth"
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh squeeze "review auth.ts for vulnerabilities"
# Smart auto-routing (detects intent automatically)
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh auto "research OAuth patterns" # -> probe
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh auto "build user login" # -> tangle + ink
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh auto "review the auth code" # -> ink
IMPORTANT: When NOT to Use This Skill
DO NOT use this skill if the user's request involves:
-
Built-in Claude Code commands - Commands starting with
/that are part of Claude Code itself:/plugin- Plugin management (add, remove, update, list)/init- Project initialization/help- Help documentation/clear- Clear conversation/commit- Git commit operations/remember- Memory management- Any other
/command that isn't/parallel-agentsor/octo:*
-
Direct tool usage - Simple file operations, git commands, or terminal tasks
- Reading/writing files
- Running git commands
- Basic bash operations
- These should use built-in tools directly
-
Claude Code configuration - Managing Claude Code itself
- Changing settings
- Managing plugins
- Updating Claude Code
If the user's request matches any of the above, DO NOT activate this skill. Handle the request using standard Claude Code tools and capabilities instead.
Visual Indicators - Know What's Running
Claude Octopus uses visual indicators so you always know which AI is responding:
| Indicator | Meaning | Uses |
|---|---|---|
| 🐙 | Parallel Mode | Multiple CLIs orchestrated via orchestrate.sh |
| 🔴 | Codex CLI | OpenAI Codex (your OPENAI_API_KEY) |
| 🟡 | Gemini CLI | Google Gemini (your GEMINI_API_KEY) |
| 🔵 | Claude Subagent | Claude Code host subagent tool (built-in) |
What Triggers External CLIs vs Subagents
External CLIs execute when:
- Using
/parallel-agentscommand explicitly - Using
/debatecommand (AI Debate Hub) - Running orchestrate.sh workflows (probe, grasp, tangle, ink, embrace, grapple, squeeze)
- Knowledge mode deliberation (when Knowledge Mode is ON)
- Natural language that triggers this skill (research, build, review tasks)
Claude Subagents execute when:
- Simple file operations (read, write, edit)
- Git commands and bash operations
- Code reading and navigation
- Tasks that don't need multiple perspectives
- Built-in Claude Code capabilities are sufficient
Why this matters: External CLIs use your OpenAI/Google API quotas and incur costs. Claude subagents are included with Claude Code at no additional charge.
When you see 🐙 CLAUDE OCTOPUS ACTIVATED, external CLI providers such as Codex, Gemini, Antigravity, and others will be invoked for multi-perspective analysis.
Force Multi-Provider Mode
Sometimes you want multi-provider analysis even for simple tasks that wouldn't normally trigger workflows. This is useful when you need comprehensive perspectives on decisions, want to compare how different models think, or when automatic routing underestimates task complexity.
Explicit Command
Force multi-provider execution using the /octo:multi command:
/octo:multi "Explain how Redis works"
/octo:multi "What is OAuth?"
/octo:multi "Review this simple function"
/octo:multi "Should we use TypeScript?"
Natural Language Triggers
You can also force multi-provider mode with natural language:
"Run this with all providers: What is JWT?"
"I want multiple AI models to look at our architecture"
"Get multiple perspectives on this design decision"
"Use all providers for explaining caching strategies"
"Force multi-provider analysis of our API design"
When to Force Parallel Mode
Use forced parallel mode when:
- High-stakes decisions require comprehensive analysis from multiple models
- Comparing perspectives - you want to see how different models approach the same problem
- Simple questions with depth - seemingly simple questions that deserve thorough multi-model analysis
- Learning different approaches - exploring how each model thinks about a topic
- Automatic routing underestimates complexity - task appears simple but has nuance
Don't force parallel mode when:
- Task already auto-triggers workflows (
octo research,octo build,octo review) - Simple factual questions Claude can answer reliably
- Cost efficiency is important (see cost awareness below)
- File operations or code navigation (use built-in tools)
Cost Awareness
Forcing parallel mode uses external CLIs for every task, which incurs API costs:
| Provider | Cost per Query | What It Uses |
|---|---|---|
| 🔴 Codex CLI | ~$0.01-0.05 | Your OPENAI_API_KEY |
| 🟡 Gemini CLI | ~$0.01-0.03 | Your GEMINI_API_KEY |
| 🔵 Claude | Included | Claude Code subscription |
Total cost per forced query: ~$0.02-0.08
Use forced parallel mode judiciously for tasks where multip