git-guardrails-claude-code
97 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
What this skill can do
Runs commands on your computer
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'git-guardrails-claude-code' ] || [ -L ~/.agents/skills/'git-guardrails-claude-code' ]; then echo 'A skill folder named git-guardrails-claude-code already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/stanfish06/skillquarium' "$d" && git -C "$d" checkout --quiet 'f748ea91aa51ce8fc42c27c809dba73a8377b1d5' -- 'skills/git-guardrails-claude-code' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/git-guardrails-claude-code' ~/.agents/skills/'git-guardrails-claude-code' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'git-guardrails-claude-code' ~/.claude/skills/'git-guardrails-claude-code' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/stanfish06/skillquarium/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | f748ea9 | 97 |