Skip to main content
CC Safety Net can display its status in Claude Code’s status line, showing which protection mode is active at a glance. This gives you a persistent, at-a-glance view of whether the safety hook is running and exactly which modes are engaged — without having to run a separate diagnostic command.

Setup

Add a statusLine entry to your ~/.claude/settings.json. Choose the runner that matches your environment:

Mode Indicators

The status line displays a different emoji depending on which environment variables are set. When multiple modes are active, their emojis are combined.
StatusDisplayMeaning
Plugin disabled🛡️ CC Safety Net ❌The CC Safety Net plugin is not enabled
Default mode🛡️ CC Safety Net ✅Protection active with default settings
Strict mode🛡️ CC Safety Net 🔒CC_SAFETY_NET_STRICT=1 — fail-closed on unparseable commands
Paranoid mode🛡️ CC Safety Net 👁️CC_SAFETY_NET_PARANOID=1 — all paranoid checks enabled
Paranoid RM only🛡️ CC Safety Net 🗑️CC_SAFETY_NET_PARANOID_RM=1 — blocks rm -rf even within cwd
Paranoid interpreters🛡️ CC Safety Net 🐚CC_SAFETY_NET_PARANOID_INTERPRETERS=1 — blocks interpreter one-liners
Worktree mode🛡️ CC Safety Net 🌳CC_SAFETY_NET_WORKTREE=1 — relax local git discards in linked worktrees
Strict + Paranoid🛡️ CC Safety Net 🔒👁️Both strict and paranoid modes enabled
Multiple mode emojis are combined when multiple environment variables are set. Mode flags use CC_SAFETY_NET_* names; legacy SAFETY_NET_* names are still accepted. For more information on what each mode does and when to use it, see Modes.
Changes to ~/.claude/settings.json take effect immediately — no restart of Claude Code is needed.