Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add borghei/Claude-Skills --skill git-guardrailsgit clone --depth 1 https://github.com/borghei/Claude-SkillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/borghei/claude-skills/git-guardrails)<a href="https://agentmods.dev/skills/borghei/claude-skills/git-guardrails"><img src="https://agentmods.dev/badge/skills/borghei/claude-skills/git-guardrails/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/borghei/claude-skills/git-guardrails"><img src="https://agentmods.dev/badge/skills/borghei/claude-skills/git-guardrails.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.04076 |
| Opus 5.5 | $0.00019 | $0.01630 |
| Sonnet 5.5 | $0.00009 | $0.00815 |
| Haiku 4.5 | $0.00005 | $0.00408 |
Grade D, and why
git-guardrails scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
PASS ALLOW sudo -u deploy ls /srv Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **Scope:** project scope (`<repo>/.claude/settings.json`, committed, applies to Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Non-git destruction (`rm -rf`, `gh repo delete`, database commands) unless The source is not reproduced here
A licence we could not identify
The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.
What ships with it
15 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/contract.json 2.1 KB
- assets/flawed_hook_grep.py 682 B runs code
- assets/git_guardrails_hook.py 17 KB runs code
- assets/malformed_command_corpus.json 14 B
- assets/pre-push 2.5 KB
- assets/pre-rebase 1.2 KB
- assets/sample_command_corpus.json 8.5 KB
- assets/sample_guardrail_policy.json 236 B
- assets/sample_project_flawed/.claude/hooks/git_guardrails_hook.py 22 B runs code
- assets/sample_project_malformed/.claude/settings.json 40 B
- assets/sample_project_sound/.claude/hooks/git_guardrails_hook.py 17 KB runs code
- references/hook-mechanics.md 7.4 KB
- references/rule-catalog.md 9.3 KB
- scripts/guardrail_test.py 9.1 KB runs code
- scripts/install_guardrails.py 11 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · +40 lines 373bf6409857
- 26d ago First seen · 269 lines · 47 tokens per session scan D 5cc06d0a4e61
git-guardrails is a skill published in the GitHub repository borghei/Claude-Skills (1,274 stars, last pushed yesterday), with no licence file. It adds 47 tokens to every session and 4,076 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it D with 3 findings (asks for root, reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-08.
git-guardrails compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| git-guardrailsborghei/Claude-Skills | Skill | 1.3k | yesterday | none | D | 47 | Claude Code |
| roblox-publish-checklistTabooHarmony/roblox-brain | Skill | 239 | 2d ago | MIT | A | 34 | Claude Code |
| shared-tooling-changesetsagents-inc/skills | Skill | 28 | 1mo ago | MIT | A | 44 | Claude Code, Codex |
| shared-tooling-git-hooksagents-inc/skills | Skill | 28 | 1mo ago | MIT | A | 41 | Claude Code, Codex |
| chinese-git-workflowLeodorareluctant259/superpowers-zh | Skill | 5 | 1mo ago | MIT | A | 33 | Claude Code |
| chinese-commit-conventionsLeodorareluctant259/superpowers-zh | Skill | 5 | 1mo ago | MIT | A | 28 | Claude Code |
| merge-checkmarkdavidgan/apple-dev-skills | Skill | 5 | 3mo ago | MIT | A | 96 | Claude Code |