/octo:kmfrom octo
Toggles between Dev Work and Knowledge Work modes, persisting the choice across sessions.
Ships in octo. Installing the plugin adds it to Claude Code.
Toggle between Dev Work Mode and Knowledge Work Mode.
When this command is executed:
Parse the argument:
knowledge_mode: true)knowledge_mode: false)Check current mode via .claude/claude-octopus.local.md:
knowledge_mode already equals the target → Do not rewrite the file. Show confirmation only, then exit.Switch modes (only when a real transition is required):
.claude/claude-octopus.local.md (knowledge_mode: true)." (or the equivalent for Dev Work).knowledge_mode field; preserve any other keys.Rule (v9.30+): Never create or rewrite .claude/claude-octopus.local.md when the user is already in the target mode. The v9.29 behavior over-executed — it wrote config for a state the user was already in, without explanation. Skip the Write tool entirely when there's nothing to change. See agents/principles/write-intent.md for the general principle.
/octo:km # Switch to Knowledge Work mode (default action)
/octo:km on # Switch to Knowledge Work mode (explicit)
/octo:km off # Switch to Dev Work mode (same as /octo:dev)
Dev Work Mode 🔧 (default)
Knowledge Work Mode 🎓
Both modes use the same configured AI providers, just optimized with different personas.
/octo:dev - Switch to Dev Work mode 🔧/octo:km - Switch to Knowledge Work mode 🎓Your mode choice persists across sessions.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Generated from the plugin's indexed repository (gongyuancaiji/dsh-claude-octopus) — no native marketplace selected
npx claudepluginhub p/gongyuancaiji-octo54 commands in this plugin
2 plugins ship this exact command · first indexed Aug 14, 2026
Other plugins' commands for the same job