← all repositories

kenryu42/cc-safety-net

A safety hook that intercepts destructive git and filesystem commands for AI coding agents.

1.4k stars TypeScript Coding Assistants
cc-safety-net
Velocity · 7d
+8.4
★ / day
Trend
steady
star history

This project is a plugin framework that adds a safety layer around AI coding assistants by hooking into agents like Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, and OpenCode to intercept and block potentially destructive commands before execution. It validates commands against predefined safety rules, provides interactive confirmation workflows, and integrates with the agent’s status line. The tool supports multiple AI coding platforms and can be configured via slash commands or manually.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.