Skip to main content

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)
Example memory:
This enables faster workflow startup by skipping provider detection and preference questions.

Configuration commands

Autonomy modes

Configure how much human oversight workflows require.
Default mode — maximum control and oversightBehavior:
  • Approval required after each phase
  • Review synthesis before proceeding
  • Best for critical features or learning
Set mode:
Use when:
  • 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

Creating hooks

Hooks are shell scripts in .claude/hooks/:
1

Create hooks directory

2

Write hook script

Create .claude/hooks/post-develop.sh:
3

Make executable

4

Test hook

Hook configuration

Configure hooks in .claude/hooks.json:

Hook environment

Hooks receive context via environment variables:

Example hooks

Configuration best practices

OAuth avoids per-token billing and uses your existing subscriptions:
Skip API keys unless you don’t have subscriptions.
Different projects need different oversight levels:
Never skip security gates for auth, payments, or data handling:
Prevent runaway costs with limits:
Automate notifications, PR creation, and deployments:
  • post-develop: Deploy to staging
  • post-deliver: Create PR
  • quality-gate-failed: Notify team

Diagnostics and troubleshooting

Run diagnostics

Common issues

Symptom: /octo:setup shows provider as “Not installed”Fix:
Symptom: “401 Unauthorized” errorsFix:
Symptom: Consensus never reaches thresholdFix:
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