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 astatusLine entry to your ~/.claude/settings.json. Choose the runner that matches your environment:
- Bun (recommended)
- Claude X
- NPM
- Pipe with existing command
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.| Status | Display | Meaning |
|---|---|---|
| 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 |
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.