Using commands effectively
Claude Octopus provides 39+ commands in the/octo:* namespace. This guide covers the most powerful commands, the smart router for natural language workflows, and techniques for command composition.
Command structure
All Claude Octopus commands use the/octo: namespace to avoid conflicts with Claude Code’s built-in commands.
Basic syntax
Why the namespace?
Namespace isolation ensures your existing Claude Code setup remains untouched. Only/octo:* commands activate the plugin—everything else works exactly as before.
Top 8 commands
Eight essential commands—one per tentacle. Each orchestrates up to three AI providers and applies quality gates.1. /octo:embrace
Full lifecycle workflow: discover → define → develop → deliver- Runs all 4 phases of the Double Diamond methodology
- Multi-provider research, consensus building, implementation, and validation
- Quality gates between phases prevent sloppy work from advancing
- Complex features requiring research through implementation
- High-stakes projects needing validation
- When you want multiple AI perspectives across the entire lifecycle
- Supervised (default): Review and approve after each phase
- Semi-autonomous: Only intervene if quality gates fail
- Autonomous: Run all 4 phases automatically
2. /octo:factory
Dark Factory mode—autonomous spec-to-software pipeline- Takes a spec and autonomously runs the full pipeline
- Generates test scenarios, implements via embrace workflow
- Holdout testing (80/20 split) validates against blind scenarios
- Satisfaction scoring across 4 dimensions
- Parse spec → validate and extract requirements
- Generate scenarios → multi-provider scenario creation
- Split holdout → 80/20 split ensuring diverse coverage
- Embrace workflow → full 4-phase implementation
- Holdout tests → blind evaluation against withheld scenarios
- Score satisfaction → weighted scoring across dimensions
- Report → verdict (PASS/WARN/FAIL) with composite score
3. /octo:debate
Structured three-way AI debate with consensus scoring- 🔴 Codex CLI: Technical perspective
- 🟡 Gemini CLI: Ecosystem perspective
- 🔵 Claude: Moderator and synthesis
-r N,--rounds N: Number of debate rounds (default: 2)-d STYLE,--debate-style STYLE: quick, thorough, adversarial, collaborative
- Synthesis with recommendations
- Consensus score (percentage agreement)
- Areas of disagreement highlighted
4. /octo:research
Deep multi-source research with synthesis- Parallel research using Codex CLI + Gemini CLI + Claude
- Multi-source synthesis from three AI perspectives
- Technical implementation analysis (Codex)
- Ecosystem breadth and alternatives (Gemini)
- Strategic synthesis (Claude)
/octo:discover
5. /octo:review
Code review with security + 4x10 scoring- Comprehensive code quality analysis
- Security vulnerability detection (OWASP)
- Architecture review
- Best practices enforcement
- 4-dimension scoring: correctness, security, performance, maintainability
- 🔴 Codex: Code quality analysis
- 🟡 Gemini: Security and edge cases
- 🔵 Claude: Synthesis and recommendations
6. /octo:tdd
Test-driven development with red-green-refactor- Red: Write failing test first
- Green: Minimal code to pass
- Refactor: Improve while keeping tests green
- Tests written before implementation
- Incremental feature development
- Continuous validation
7. /octo:security
OWASP vulnerability scan + remediation- OWASP Top 10 vulnerability scanning
- Authentication and authorization review
- Input validation checks
- Red team analysis (adversarial testing)
- SQL injection detection
- XSS vulnerability scanning
- Authentication bypass checks
- Sensitive data exposure analysis
8. /octo:prd
AI-optimized PRD with 100-point scoring- Generates product requirements document
- 100-point scoring across dimensions
- Stakeholder analysis
- Success metrics definition
Smart router
The smart router (/octo) maps natural language to commands automatically—no need to memorize command names.
How it works
Routing intelligence
- Research
- Build
- Validate
- Debate
- Lifecycle
Keywords: research, investigate, explore, learn, study, understand, analyzeRoutes to:
/octo:discoverConfidence threshold: 70%Example:Confidence levels
>80% confidence: Auto-routes with notificationNatural language examples
Command chaining and composition
While Claude Octopus doesn’t support explicit command chaining syntax, you can compose workflows through the smart router or by running commands sequentially.Sequential workflows
Run phases individually for more control:Suggested chaining
The smart router can suggest workflow chains:Workflow combinations
Research → Debate → Build:Best practices
Use the smart router for exploratory work
Use the smart router for exploratory work
When you’re not sure which workflow fits, let the router analyze your intent:The router will suggest appropriate workflows based on keywords and context.
Run individual phases for complex features
Run individual phases for complex features
For high-stakes features, run phases individually instead of using embrace:
- Review research synthesis before defining requirements
- Review consensus before implementing
- Intervene if quality gates fail
Use factory mode for well-specified projects
Use factory mode for well-specified projects
When you have a clear spec, factory mode automates the entire pipeline:Holdout testing ensures the implementation satisfies blind scenarios.
Leverage debate for architectural decisions
Leverage debate for architectural decisions
Before implementing major features, use debate to explore trade-offs:Three AI perspectives reduce blind spots in decision-making.
Check provider status before multi-AI workflows
Check provider status before multi-AI workflows
Run setup to verify provider availability:Multi-AI workflows work best with all three providers configured.
Next steps
Working with workflows
Learn about workflow progression, quality gates, and choosing the right workflow
Command reference
Complete reference for all 39+ commands
Configuring providers
Set up Codex, Gemini, and cost-aware provider selection
Configuration
Environment variables, autonomy modes, and custom hooks
