Skip to main content
CC Safety Net installs as a plugin or hook directly inside your AI coding agent — no separate process or daemon required. Node.js 18 or higher must be available on your system before you begin. Choose your agent below to see the exact steps.
Run these three commands inside Claude Code to install from the plugin marketplace:
/plugin marketplace add kenryu42/cc-marketplace
/plugin install safety-net@cc-marketplace
/reload-plugins
Enable auto-updatesTo keep CC Safety Net up to date automatically, run /plugin, navigate to Marketplaces, select cc-marketplace, and enable auto-update.

Verify Your Installation

After installing, run the doctor command to confirm CC Safety Net is wired up correctly and blocking commands as expected:
npx cc-safety-net doctor
# or with bun
bunx cc-safety-net doctor
The doctor command runs through the following checks:
CheckWhat It Does
Hook IntegrationVerifies the plugin is properly configured for each supported platform
Self-TestRuns sample commands to confirm blocking works correctly
ConfigurationValidates any custom rules in your user and project configs
EnvironmentShows the status of mode flags (CC_SAFETY_NET_STRICT, CC_SAFETY_NET_PARANOID, etc.; legacy SAFETY_NET_* also listed when set)
Recent ActivitySummarizes blocked commands from the last 7 days
System InfoDisplays versions of all relevant tools
Update CheckChecks whether a newer version of CC Safety Net is available
If any check fails, the output includes a description of the problem and suggested remediation steps.