kenryu42/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, DeepSee
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
Copy this rig
# review before running: this installs third-party code
$ npx degit kenryu42/cc-safety-net/.claude ./rig-cc-safety-net # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit kenryu42/cc-safety-net/.agents/skills/ccsn-find-simplifications .claude/skills/ccsn-find-simplifications $ npx degit kenryu42/cc-safety-net/.agents/skills/ccsn-no-comments .claude/skills/ccsn-no-comments $ npx degit kenryu42/cc-safety-net/.agents/skills/verify-cc-safety-net .claude/skills/verify-cc-safety-net $ npx degit kenryu42/cc-safety-net/.claude/skills/release-notes .claude/skills/release-notes $ npx degit kenryu42/cc-safety-net/skills/cc-safety-net .claude/skills/cc-safety-net
This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 17.0k rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(git push --force:*)",
"Read(**/*.pem)",
"Read(.env)",
"Read(~/.aws/**)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(git push --force*)",
"Bash(rm -rf *)",
"Bash(rm -rf:*)",
"Bash(sudo *)",
"Bash(sudo:*)",
"Bash(rm -rf /)",
"Bash(git push -f:*)",
"Read(.env.*)",
"Read(./secrets/**)",
"Bash(git reset --hard*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(gh pr merge *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(gh pr merge:*)",
"Bash(npm publish:*)",
"Bash(git reset --hard:*)",
"Bash(git clean *)",
"Bash(git rebase *)"
]
}
} Skills (5)
Similar rigs
RAIT-09/obsidian-agent-client
Bring AI agents into Obsidian via Agent Client Protocol (ACP), such as Claude Code, Codex and Gemini CLI.
Pragmatist 4.8k tok · · Q15
WireCatLabs/wirecat-desktop
The WireCat desktop app: search your chats, meetings and notes, connect any AI agent to them, and approve what it remembers. Local-first, for macOS, Windows and Linux.
Pragmatist 10.2k tok · · Q22
JulienLerosty/claude-code-team-kit
A drop-in starter for teams adopting Claude Code: a project guide (CLAUDE.md), two shared skills (/review-pr, /release-notes), a small MCP server with two tested tools, a safety hook, and a CI workflo
Pragmatist 2.6k tok · · Q0
nightlab-agent/agents-skills
Claude Code plugin: lets Claude Code use the skills in .agents/skills/ by copying each one into .claude/skills/ at session start, kept out of git.
Minimalist 281 tok · · Q0