git-guardrails-claude-code vs ai-coding-agent-guardrails
git-guardrails-claude-code and ai-coding-agent-guardrails are both agent skills for guardrails and AI safety. git-guardrails-claude-code is published by mattpocock and ai-coding-agent-guardrails by devops-skills. Both install in Claude Code, Claude apps, Codex and Cursor. On GitHub, git-guardrails-claude-code has 302,139 stars and ai-coding-agent-guardrails has 48,428. Both were last active in Oct 2026. The table lines up where they differ (publisher, ships scripts and category) and has the install commands for both. Everything here comes from the listings' public sources and is refreshed daily. git-guardrails-claude-code describes itself as: Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. ai-coding-agent-guardrails: Secure AI coding agents (Claude Code, Cursor, Codex, Copilot) with permission boundaries, secret protection, code review gates, and safe sandbox…. Licenses: git-guardrails-claude-code MIT, ai-coding-agent-guardrails MIT.
Updated Oct 24, 2026 · Built from catalog data; how we rank and grade
git-guardrails-claude-code
mattpocock
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
ai-coding-agent-guardrails
devops-skills
Secure AI coding agents (Claude Code, Cursor, Codex, Copilot) with permission boundaries, secret protection, code review gates, and safe sandbox…
Who should pick which
- git-guardrails-claude-code has the larger community: 302,139 GitHub stars against 48,428.
From listing data only. We don't pick a winner on security beyond the grades; read how grades work.
Side by side
| Fact | git-guardrails-claude-code | ai-coding-agent-guardrails |
|---|---|---|
| Type | Skill | Skill |
| Publisher | mattpocock | devops-skills |
| License | MIT | MIT |
| Pricing | free | free |
| Runs | Not stated | Not stated |
| Auth | Not stated | Not stated |
| Hosts supported | Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf | Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf |
| Tools | Not listed yet | Not listed yet |
| Security grade | –Security: not graded yet | –Security: not graded yet |
| Freshness grade | AFreshness: A | AFreshness: A |
| GitHub stars | 302,383 | 48,428 |
| Weekly downloads | Not measured | Not measured |
| Last release | Oct 4, 2026 | Oct 24, 2026 |
| Last activity | Oct 4, 2026 | Oct 24, 2026 |
Facts from each listing's public sources, checked daily. Tool lists arrive with tool scans.
Install
git-guardrails-claude-code
npx skills add mattpocock/skills --skill git-guardrails-claude-code
Asks which agents to install it for (add -g for all projects). Needs Node.js 22.20+.
ai-coding-agent-guardrails
npx skills add sickn33/agentic-awesome-skills --skill ai-coding-agent-guardrails
Asks which agents to install it for (add -g for all projects). Needs Node.js 22.20+.
Also consider
- 0.848score
git-guardrails-claude-code
vinvcn
设置 Claude Code hooks,在危险 git commands(push、reset --hard、clean、branch -D 等)执行前阻止它们。适用于用户想防止破坏性 git 操作、添加 git safety hooks,或在 Claude Code 中阻止 git push/reset 时。
SkillAFreshness: A★ 5.2KClaude Code +9 - 0.842score
plano-filter-guardrails
katanemo
Harden Plano filter chains and guardrails.
SkillAFreshness: A★ 7.1KClaude Code +9 - 0.814score
global-agent-guardrails
davidondrej
Configure the shared guard against catastrophic shell commands in local AI agents.
SkillAFreshness: A★ 4.2KClaude Code +9
Questions
- Is git-guardrails-claude-code or ai-coding-agent-guardrails more popular?
- git-guardrails-claude-code has more GitHub stars (302,139 against 48,428). Stars measure attention, not quality, so check freshness and docs too.
- Do git-guardrails-claude-code and ai-coding-agent-guardrails work with Claude Code?
- Yes, both list a Claude Code install; the commands are on this page.
- Are git-guardrails-claude-code and ai-coding-agent-guardrails open source?
- Yes: git-guardrails-claude-code is MIT and ai-coding-agent-guardrails is MIT.
Related
- AlternativesAlternatives to git-guardrails-claude-code
- AlternativesAlternatives to ai-coding-agent-guardrails
- Best ofBest agent skills for Git
- Best ofBest agent skills for guardrails and AI safety
- Best ofBest agent skills for code review
- Comparisonai-coding-agent-guardrails vs git-guardrails-claude-code
- Host guideAgent skills for Claude Code
Cite this page
git-guardrails-claude-code vs ai-coding-agent-guardrails. Agent Mart. https://agentmart.dev/compare/mattpocock-git-guardrails-claude-code-vs-sickn33-ai-coding-agent-guardrails (last updated 2026-10-24)