/octo:guardfrom octo
Activates both careful mode (destructive command warnings) and freeze mode (edit boundary enforcement) in a single command. Requires a directory argument to restrict edits.
Ships in octo. Installing the plugin adds it to Claude Code.
When the user invokes /octo:guard <directory>, activate both careful mode and freeze mode in a single command.
_OCTO_SESSION_ID="${CLAUDE_CODE_SESSION_ID:-${CLAUDE_SESSION_ID:-$$}}"
echo "active" > "/tmp/octopus-careful-${_OCTO_SESSION_ID}.txt"
freeze_dir="$(cd "$1" 2>/dev/null && pwd)" || freeze_dir="$1"
_OCTO_SESSION_ID="${CLAUDE_CODE_SESSION_ID:-${CLAUDE_SESSION_ID:-$$}}"
echo "${freeze_dir}" > "/tmp/octopus-freeze-${_OCTO_SESSION_ID}.txt"
Guard mode combines both safety primitives:
This is the recommended safety configuration for focused work in sensitive codebases.
/octo:guard src/auth
/octo:guard ./packages/core
/octo:guard /absolute/path/to/module
After activation, confirm to the user:
🛡️ Guard mode activated:
⚠️ Careful: Destructive commands require confirmation
🔒 Freeze: Edits restricted to <resolved-path>
Use /octo:unfreeze to remove edit restriction.
If invoked without a directory argument, activate only careful mode and ask about freeze:
⚠️ Careful mode activated (destructive command warnings).
Which directory should I restrict edits to? Example: /octo:guard src/auth
/octo:careful — Activate only destructive command warnings/octo:freeze — Activate only edit boundary enforcement/octo:unfreeze — Remove freeze restrictionWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
49 commands in this plugin
/autoSmart Router (/octo:auto)Smart router - Single entry point with natural language intent detection/brainstorm/octo:brainstormStart a creative thought partner brainstorming session/carefulCareful Mode - Destructive Command Warnings[advanced] Activate destructive command warnings for the session/clawClaw - OpenClaw System Administration[advanced] OpenClaw instance administration — manage hosts across macOS, Ubuntu/Debian, Docker, OCI, and Proxmox/costsCost Dashboard (/octo:costs)[advanced] Show cost breakdown by provider and workflow for the current session/councilMulti-LLM council for advice, decision support, implementation plans, and gated implementation2 plugins ship this exact command · first indexed May 7, 2026
Generated from the plugin's indexed repository (burgebj/claudeoctopus) — no native marketplace selected
npx claudepluginhub p/burgebj-octoOther plugins' commands for the same job