Skip to content
Security
Hook

Hooks

What kenryu42-cc-safety-net runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
kenryu42-cc-safety-net
1.5k2 skills1 hook
Install
> /plugin marketplace add kenryu42/cc-safety-net
> /plugin install cc-safety-net@cc-safety-net-dev

Ships with kenryu42-cc-safety-net. Installing the plugin gets these hooks.

What fires, and when

PreToolUse

  • node "${CLAUDE_PLUGIN_ROOT}/dist/bin/cc-safety-net.js" hook --coding-cli
Read hooks/hooks.json
Ships withkenryu42-cc-safety-net

A pre-execution guard for AI coding agents. It blocks destructive Git and file system commands, plus common attempts to access sensitive files, before a tool call runs. Supports Amp Code, Antigravity CLI, Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot CLI, Grok Build, Hermes Agent, Kimi Code, OpenClaw, OpenCode, and Pi.

Get the whole plugin
Stats
1,543
Stars
77
Forks
Active
Maintenance
TypeScript
Language
MIT
License
1d ago
Last commit
8mo ago
Created

Repo: kenryu42/cc-safety-net