Block Risky Coding-Agent Commands with CC Safety Net

Use CC Safety Net when coding-agent CLIs need pre-execution hooks that block destructive commands, secret access, and unsafe file operations before tools run.

agentskillexchange Updated 28 repo stars

File contents

Block Risky Coding-Agent Commands with CC Safety Net

Use CC Safety Net when coding-agent CLIs need pre-execution hooks that block destructive commands, secret access, and unsafe file operations before tools run.

Prerequisites

Node.js/npx or npm; CC Safety Net CLI; one supported coding-agent host such as Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, Kimi Code, OpenCode, Pi, Cursor, Amp Code, Hermes Agent, Antigravity CLI, or OpenClaw.

Installation

Install or set up from the source-backed instructions:

Run npx -y cc-safety-net@latest install and select the installed coding-agent CLIs to protect. For a global CLI alias, run npm install -g cc-safety-net. After installation, run npx cc-safety-net doctor to verify the hook integration.

Documentation

Source

agentskillexchange/skills/tree/main/skills/block-risky-coding-agent-commands-with-cc-safety-net commit 693f863c0c

Frequently asked questions

npx skillmds@latest add agentskillexchange/block-risky-coding-agent-commands-with-cc-safety-net