/octo:carefulfrom octo
Activates a safety mode that intercepts destructive commands (rm -rf, DROP TABLE, git push --force, etc.) and prompts for confirmation before execution.
Ships in octo. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
careful-mode, destructive-commands, safety, confirmation, bash-safety
When the user invokes /octo:careful, activate careful mode for the current session.
Write the activation state file:
_OCTO_SESSION_ID="${CLAUDE_CODE_SESSION_ID:-${CLAUDE_SESSION_ID:-$$}}"
echo "active" > "/tmp/octopus-careful-${_OCTO_SESSION_ID}.txt"
Careful mode adds a PreToolUse safety net on Bash commands. Before any destructive command executes, you will be prompted to confirm. This catches accidental damage without blocking normal work.
Detected patterns:
rm -rf (except safe targets: node_modules, dist, .next, pycache, build, coverage, .turbo)DROP TABLE, DROP DATABASE, TRUNCATEgit push --force, git push -fgit reset --hardgit checkout ., git restore .kubectl deletedocker rm -f, docker system pruneRemove the state file to deactivate:
_OCTO_SESSION_ID="${CLAUDE_CODE_SESSION_ID:-${CLAUDE_SESSION_ID:-$$}}"
rm -f "/tmp/octopus-careful-${_OCTO_SESSION_ID}.txt"
/octo:careful
After activation, confirm to the user:
⚠️ Careful mode activated. Destructive commands will now require confirmation before executing.
/octo:freeze — Restrict edits to a specific directory/octo:guard — Activate both careful + freeze together/octo:unfreeze — Remove freeze restriction7-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/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 implementation/debateAI Debate Hub - Structured four-way debates between Claude, Sonnet, Gemini, and Codex2 plugins ship this exact command · first indexed May 7, 2026
Generated from the plugin's indexed repository (mhdxbilal/ai) — no native marketplace selected
npx claudepluginhub p/mhdxbilal-octoOther plugins' commands for the same job