Installation
Complete guide to installing and configuring Claude Octopus for Claude Code.Prerequisites
Required
- Claude Code v2.1.50 or later — Check your version in the about menu
- Git — Used by the plugin marketplace to fetch plugins
- Bash shell — For orchestration scripts (default on macOS/Linux, WSL on Windows)
Optional (for multi-AI features)
- Codex CLI — For OpenAI integration
- Gemini CLI — For Google integration
- Node.js 18+ — Required only if using the OpenClaw MCP server
You can start using Claude Octopus immediately with just Claude built-in. External providers are optional and only needed for multi-AI orchestration features (parallel research, adversarial debate, consensus validation).
Installation methods
Method 1: Plugin marketplace (recommended)
The plugin marketplace method is the recommended approach:Add the marketplace repository
In Claude Code, run:This registers the Claude Octopus repository as a plugin source.
Install the plugin
- Default: User-scoped (
--scope user) — available across all projects - Alternative: Project-scoped (
--scope project) — only available in current project
Method 2: Terminal installation
Alternatively, install from your terminal:Method 3: Manual installation (advanced)
For development or custom modifications:Verification
Provider setup
Claude Octopus works with three AI providers. Claude is built-in. Codex and Gemini are optional.Claude (built-in)
✅ No setup required — Claude is included with Claude Code and works immediately. Cost: Included in your Claude Code subscription (Sonnet 4.6). Opus 4.6 uses per-token billing at 25 per MTok.Codex (OpenAI)
Codex provides implementation depth — code patterns, technical analysis, and architecture.- OAuth (recommended)
- API key
OAuth authentication is included in your ChatGPT subscription:Benefits:
- No separate billing — included in ChatGPT subscription
- Automatic token refresh
- More secure than API keys
Gemini (Google)
Gemini provides ecosystem breadth — alternatives, security review, and research synthesis.- OAuth (recommended)
- API key
OAuth authentication is included in your Google AI subscription:Benefits:
- Included in Google AI subscription
- Automatic credential management
Verify provider configuration
After configuring providers, run setup to verify:Configuration
Project-specific settings
Claude Octopus stores project state in.octo/ directory:
Global settings
User-level configuration lives in~/.claude-octopus/:
Autonomy modes
Configure how much human oversight workflows require:| Mode | Behavior | When to use |
|---|---|---|
| Supervised (default) | Pause after each phase for approval | Learning the tool, high-stakes projects |
| Semi-autonomous | Only prompt if quality gates fail | Trusted workflows, moderate oversight |
| Autonomous | Run all phases without intervention | Repeated patterns, full automation |
Troubleshooting
Commands not recognized
Plugin not loading after installation
Plugin not loading after installation
Symptoms:
/octo:* commands show “unknown command” errorSolutions:- Verify installation:
claude plugin list | grep claude-octopus - Check plugin is enabled:
/plugin enable claude-octopus - Fully restart Claude Code (Cmd+Q on macOS, not just close window)
- Check debug logs:
~/.claude/debug/*.txt - Try reinstalling:
Scope errors during uninstall
Scope errors during uninstall
Symptoms: “Plugin not found” when trying to uninstallSolution: Match the scope used during installation:
Provider issues
Codex CLI not detected
Codex CLI not detected
Symptoms: Setup shows Codex as unavailableSolutions:
- Check CLI is installed:
which codex - Verify authentication:
- Re-authenticate:
- Check PATH includes npm global bin directory
Gemini CLI not detected
Gemini CLI not detected
Symptoms: Setup shows Gemini as unavailableSolutions:
- Check CLI is installed:
which gemini - Verify API key is set:
- Test authentication:
Provider timeouts during workflows
Provider timeouts during workflows
Symptoms: Workflows fail with timeout errorsSolutions:
- Check network connectivity
- Verify API keys are valid (not expired)
- Check rate limits on provider accounts
- Try running with single provider first:
Workflow issues
Results not appearing in expected location
Results not appearing in expected location
Symptoms: Workflow completes but files aren’t foundCheck these locations:
Quality gates failing unexpectedly
Quality gates failing unexpectedly
Symptoms: Workflows blocked at 75% consensus gateUnderstanding quality gates:
- 75% threshold means 2 out of 3 providers must agree
- Failures indicate genuine disagreement worth investigating
- Review synthesis files to see divergent perspectives
- Review the synthesis:
~/.claude-octopus/results/*-synthesis-*.md - Provide more context in your prompt
- Run phases individually to isolate issues:
Environment diagnostics
Use the built-in doctor command for comprehensive checks:| Category | What it checks |
|---|---|
providers | Claude Code version, Codex CLI, Gemini CLI installation |
auth | Authentication status for each provider |
config | Plugin version, install scope, feature flags |
state | Project state.json, stale results, workspace writability |
smoke | Smoke test cache, model configuration |
hooks | hooks.json validity, hook scripts |
scheduler | Scheduler daemon, jobs, budget gates |
skills | Skill files loaded and valid |
conflicts | Detection of conflicting plugins |
Update and maintenance
Updating Claude Octopus
Checking version
View current version:Clean uninstall
Remove plugin and all data:What’s next?
Quickstart
Run your first workflow in under 5 minutes
Command Reference
Explore all 46 commands
Double Diamond
Learn the four-phase workflow methodology
Personas
Discover the 33 specialized AI agents
