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. The status line is Claude Code only. It reads the enabledPlugins["safety-net@cc-marketplace"] entry from ~/.claude/settings.json (or $CLAUDE_SETTINGS_PATH) to decide whether the Claude Code plugin is enabled. If you installed CC Safety Net for a different agent, or as a manual Claude Code hook rather than the marketplace plugin, this indicator is not relevant to you.

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 Claude Code plugin safety-net@cc-marketplace is not enabled in ~/.claude/settings.json
Default modeπŸ›‘οΈ CC Safety Net βœ…Plugin enabled, 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, or both CC_SAFETY_NET_PARANOID_RM=1 and CC_SAFETY_NET_PARANOID_INTERPRETERS=1
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.
The ❌ state specifically means the Claude Code marketplace plugin is disabled. If you run CC Safety Net as a manual Claude Code hook (not the marketplace plugin), or for a different agent entirely, the status line may show ❌ even though protection is active β€” it only reflects the enabledPlugins entry in ~/.claude/settings.json.
Changes to ~/.claude/settings.json take effect immediately β€” no restart of Claude Code is needed. The statusline command accepts -cc as a short alias for --claude-code.
Last modified on June 20, 2026