auto
Smart router - Single entry point with natural language intent detection
Toggle discipline mode — auto-invoke verification, brainstorming-before-coding, and review checks
> /plugin marketplace add nyldn/claude-octopusHow it fires
How this command gets triggered: by you, by Claude, or both.
/disciplineContext preview
What this command does when you run it.
Toggle discipline mode — auto-invoke verification, brainstorming-before-coding, and review checks
command: discipline disable-model-invocation: true description: Toggle discipline mode — auto-invoke verification, brainstorming-before-coding, and review checks
Toggle automatic skill invocation for development discipline.
/octo:discipline on — enable auto-invoke discipline checks /octo:discipline off — disable (back to manual invoke only) /octo:discipline status — show current state
When **on**, you MUST follow these rules automatically — no user prompt needed:
**1. Brainstorm gate** — Before writing ANY code or making changes, check:
`skill-thought-partner` or `skill-writing-plans` source under `${HOME}/.claude-octopus/plugin/.claude/skills/`.
**2. Verification gate** — Before saying "done", "fixed", "passing", or committing, read and follow `skill-verification-gate`:
**3. Review gate** — After completing any non-trivial code change, automatically:
**4. Response gate** — When receiving code review feedback, read and follow `skill-review-response`:
**5. Investigation gate** — When encountering ANY bug, error, or test failure, read and follow `skill-debug`:
**6. Context gate** — At the start of any task, detect dev vs knowledge work. If research, writing, design, or strategy — switch to KM mode. Use `skill-context-detection`.
**7. Decision gate** — When comparing options or evaluating trade-offs, present a structured comparison with criteria and scores — not just prose pros/cons. Use `skill-decision-support`.
**8. Intent gate** — Before any creative or writing task (README, docs, copy, design), lock in the goal and audience first. Validate output against locked goals. Use `skill-intent-contract`.
When the user runs `/octo:discipline on`, persist the setting:
mkdir -p ~/.claude-octopus/config echo "OCTOPUS_DISCIPLINE=on" > ~/.claude-octopus/config/discipline.conf
The SessionStart hook reads this file and injects the discipline directive into the session context. The directive is ~30 lines (not 200+) — lightweight enough to not bloat context.
When off:
echo "OCTOPUS_DISCIPLINE=off" > ~/.claude-octopus/config/discipline.conf
When the user invokes `/octo:discipline`:
1. Parse the argument: `on`, `off`, or `status` 2. For `on`: write config file, confirm with banner 3. For `off`: write config file, confirm 4. For `status`: read config file, display current state 5. No args: show status
DISCIPLINE_CONF="${HOME}/.claude-octopus/config/discipline.conf"
mkdir -p "$(dirname "$DISCIPLINE_CONF")"
case "${1:-status}" in
on)
echo "OCTOPUS_DISCIPLINE=on" > "$DISCIPLINE_CONF"
echo "🐙 Discipline mode: ON"
echo " Development gates:"
echo " ✓ 1. Brainstorm — plan before coding"
echo " ✓ 2. Verification — evidence before claims"
echo " ✓ 3. Review — check after implementing"
echo " ✓ 4. Response — verify before agreeing"
echo " ✓ 5. Investigation — root cause before fixing"
echo " Knowledge work gates:"
echo " ✓ 6. Context — detect dev vs knowledge work"
echo " ✓ 7. Decision — structured comparisons, not prose"
echo " ✓ 8. Intent — lock goals before creative work"
;;
off)
echo "OCTOPUS_DISCIPLINE=off" > "$DISCIPLINE_CONF"
echo "🐙 Discipline mode: OFF — manual skill invocation only"
;;
status|"")
if [[ -f "$DISCIPLINE_CONF" ]] && grep -q "OCTOPUS_DISCIPLINE=on" "$DISCIPLINE_CONF" 2>/dev/null; then
echo "🐙 Discipline mode: ON"
else
echo "🐙 Discipline mode: OFF"
fi
;;
esacEvery AI model has blind spots. Claude Octopus supports twelve external provider integrations — Codex, Antigravity CLI, Copilot, Qwen, Ollama, Perplexity, OpenRouter, OrcaRouter, OpenCode, Cursor CLI, Grok, and Kimi Code — alongside the built-in Claude Code
Repo: nyldn/claude-octopus
Smart router - Single entry point with natural language intent detection
Start a creative thought partner brainstorming session
Switch Octopus model routing to the configured budget tier
[advanced] Activate destructive command warnings for the session
[advanced] Compatibility view of the deterministic Octopus usage report
Multi-LLM council for advice, decision support, implementation plans, and gated implementation