Help us improve
Share bugs, ideas, or general feedback.
From octo
Toggles discipline mode to automatically invoke development gates for brainstorming, verification, review, debugging, and more. Supports 'on', 'off', 'status' arguments.
npx claudepluginhub nyldn/claude-octopus --plugin octoHow this command is triggered — by the user, by Claude, or both
Slash command
/octo:disciplinecommands/The summary Claude sees in its command listing — used to decide when to auto-load this command
# Discipline Mode Toggle automatic skill invocation for development discipline. ## Usage ## What Discipline Mode Does When **on**, you MUST follow these rules automatically — no user prompt needed: ### Development Gates **1. Brainstorm gate** — Before writing ANY code or making changes, check: - Has the approach been discussed/planned? If not, invoke `skill-thought-partner` or `skill-writing-plans` - This applies even for "simple" changes **2. Verification gate** — Before saying "done", "fixed", "passing", or committing, invoke `skill-verification-gate`: - Run the actual verificati...
/godmodeTurns on Godmode workflow for full-cycle development from ideation to shipped product. Auto-detects project phase and suggests next action; also supports skill invocation, status checks, and continuous loop.
/hatch3r-workflowGuided development lifecycle across Analyze, Plan, Implement, and Review phases. Automatically detects task complexity and offers a Quick Mode for smaller tasks.
/modeSwitches Claude's work mode to dev, research, review, or planning, adapting behavior for development, exploration, code review, or task planning. Loads mode-specific context templates and saves state.
/workflowOrchestrates a full development cycle: task analysis, design, planning, plan review, implementation, and code review. Produces tested code with commit and metrics.
/buildGuides feature implementation via phased workflow with approval gates: understand requirements, design options, load skills, build, verify, test, and track progress in tasks/todo.md.
/ask-gptDelegates to GPT via Codex MCP for an independent second opinion. Single-shot, advisory, read-only sandbox. No context shared with prior calls.
Share bugs, ideas, or general feedback.
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-plans2. Verification gate — Before saying "done", "fixed", "passing", or committing, invoke skill-verification-gate:
3. Review gate — After completing any non-trivial code change, automatically:
4. Response gate — When receiving code review feedback, invoke skill-review-response:
5. Investigation gate — When encountering ANY bug, error, or test failure, invoke 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
/octo:quick bypasses discipline checksWhen the user invokes /octo:discipline:
on, off, or statuson: write config file, confirm with banneroff: write config file, confirmstatus: read config file, display current stateDISCIPLINE_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
;;
esac