Advanced configuration
Claude Octopus provides extensive configuration options for tailoring workflows, controlling costs, and extending functionality.Environment variables
Environment variables control provider behavior, timeouts, and feature flags.Provider configuration
Workflow configuration
Feature flags
Setting environment variables permanently
Add to your shell profile:Settings and preferences
Claude Octopus stores settings in.claude/settings.json (project-level) and uses Claude Code’s auto memory for persistent preferences.
Project settings (.claude/settings.json)
Auto memory integration (Claude Code v2.1.32+)
Claude Code’s auto memory (~/.claude/projects/.../memory/MEMORY.md) persists across conversations.
Octopus records:
- Preferred autonomy mode
- Provider availability (which CLIs installed)
- Frequently used commands
- Past project contexts (tech stack, conventions)
- Model preferences (Opus for premium tasks)
Configuration commands
Autonomy modes
Configure how much human oversight workflows require.- Supervised
- Semi-autonomous
- Autonomous
Default mode — maximum control and oversightBehavior:Use when:
- Approval required after each phase
- Review synthesis before proceeding
- Best for critical features or learning
- High-stakes features
- Learning the methodology
- Requirements may change
- Maximum transparency needed
Auto-proceed on quality gate pass
Combine with supervised mode to skip approvals when gates pass:Custom hooks and extensions
Claude Octopus supports custom hooks for extending workflows.Hook types
| Hook | When it runs | Use case |
|---|---|---|
pre-discover | Before discover phase | Custom research sources |
post-discover | After discover phase | Export synthesis to docs |
pre-define | Before define phase | Load external requirements |
post-define | After define phase | Update project specs |
pre-develop | Before develop phase | Run linters, formatters |
post-develop | After develop phase | Run tests, deploy to staging |
pre-deliver | Before deliver phase | Pre-flight checks |
post-deliver | After deliver phase | Create PR, notify team |
quality-gate-failed | When quality gate fails | Custom notifications |
Creating hooks
Hooks are shell scripts in.claude/hooks/:
Hook configuration
Configure hooks in.claude/hooks.json:
Hook environment
Hooks receive context via environment variables:Example hooks
Export synthesis to Notion
Export synthesis to Notion
Notify Slack on quality gate failure
Notify Slack on quality gate failure
Run linters before develop
Run linters before develop
Create PR after deliver
Create PR after deliver
Configuration best practices
Use OAuth for external providers
Use OAuth for external providers
OAuth avoids per-token billing and uses your existing subscriptions:Skip API keys unless you don’t have subscriptions.
Set autonomy mode per project
Set autonomy mode per project
Different projects need different oversight levels:
Use strict quality gates for security-critical features
Use strict quality gates for security-critical features
Never skip security gates for auth, payments, or data handling:
Set cost limits to avoid surprises
Set cost limits to avoid surprises
Prevent runaway costs with limits:
Use hooks for team integration
Use hooks for team integration
Automate notifications, PR creation, and deployments:
post-develop: Deploy to stagingpost-deliver: Create PRquality-gate-failed: Notify team
Diagnostics and troubleshooting
Run diagnostics
Common issues
Provider not detected
Provider not detected
Symptom:
/octo:setup shows provider as “Not installed”Fix:Authentication failed
Authentication failed
Symptom: “401 Unauthorized” errorsFix:
Quality gate always fails
Quality gate always fails
Symptom: Consensus never reaches thresholdFix:
Hook not running
Hook not running
Symptom: Hook script doesn’t executeFix:
Next steps
Using commands
Learn command structure and the top 8 commands
Working with workflows
Understand workflow progression and quality gates
Configuring providers
Set up Codex, Gemini, and cost awareness
Command reference
Complete reference for all 39+ commands
