auto
Smart router - Single entry point with natural language intent detection
[advanced] Restrict file edits to a specific directory boundary
> /plugin marketplace add nyldn/claude-octopusHow it fires
How this command gets triggered: by you, by Claude, or both.
/freezeContext preview
What this command does when you run it.
[advanced] Restrict file edits to a specific directory boundary
command: freeze disable-model-invocation: true description: "[advanced] Restrict file edits to a specific directory boundary"
When the user invokes `/octo:freeze <directory>`, activate freeze mode to restrict Edit and Write operations to the specified directory.
1. Resolve the directory argument to an absolute path 2. Ensure trailing `/` for safe prefix matching 3. Write the boundary to the state file:
# Resolve to absolute path
freeze_dir="$(cd "$1" 2>/dev/null && pwd)" || freeze_dir="$1"
# Write state
_OCTO_SESSION_ID="${CLAUDE_CODE_SESSION_ID:-${CLAUDE_SESSION_ID:-$$}}"
echo "${freeze_dir}" > "/tmp/octopus-freeze-${_OCTO_SESSION_ID}.txt"Freeze mode adds a PreToolUse safety net on Edit and Write tools. Any file operation targeting a path **outside** the frozen directory is blocked with a deny decision. This prevents accidental edits to unrelated code.
**Blocked:** Edit, Write to files outside the boundary **Unaffected:** Read, Bash, Glob, Grep (investigation stays unrestricted)
/octo:freeze src/auth /octo:freeze ./packages/core /octo:freeze /absolute/path/to/module
After activation, confirm to the user:
๐ Freeze mode activated. Edits restricted to: <resolved-path> Read/search operations remain unrestricted. Use /octo:unfreeze to remove this restriction.
If invoked without a directory argument, ask the user which directory to freeze:
Which directory should I restrict edits to? Example: /octo:freeze src/auth
Every 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