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, DeepSeek Harness, Devin CLI, GitHub Copilot CLI, Grok Build, Hermes Agent, Kimi Code, OpenClaw, OpenCode, and Pi.
CC Safety Net is a pre-execution guard that analyzes coding-agent tool calls and blocks destructive commands or attempts to access sensitive files. It is for people using supported coding-agent command-line tools on Windows, macOS, or Linux. The catalogue entries provide its safety rules, instructions, hook, and plugin.
Latest release v2.6.13 · 17 Oct 2026
2 files for Codex, OpenCode and Claude Code: cc-safety-net AGENTS.md, cc-safety-net CLAUDE.md — 2,162 tokens loaded in every session.
AGENTS.md A 2,158 tok CLAUDE.md A 4 tok These files are kenryu42/cc-safety-net's own configuration — they tell Codex, OpenCode and Claude Code how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.