verify-cc-safety-net
Installation
SKILL.md
Verify cc-safety-net
cc-safety-net is a CLI (cc-safety-net / ccsn) that coding-agent CLIs invoke as a pre-tool-use
hook: JSON describing a tool call arrives on stdin, an allow/deny decision leaves on stdout, and
every decision is appended to an audit log under the active home. Users also run diagnostic
commands (status, doctor, explain, logs) and a local web GUI (gui).
Safety invariants for every run:
- Command strings under test (
git reset --hard,rm -rf /, …) are analyzer INPUT. They go into a JSON payload or anexplainargument. Never execute one in a shell. - Never run the CLI against the real home. Every invocation goes through
./ccsn-isolated(see Helpers), which redirectsHOME,CC_SAFETY_NET_HOME, andCC_SAFETY_NET_AUDIT_HOMEinto a disposable directory. A barebun run src/entries/bin.tswrites to the developer's real~/.cc-safety-net/logs. - Never drive
install,update, oruninstall(CLI or GUI Integrations tab) in a verification run: install detection and npx-cache clearing reach real machine state beyond$HOME.