git-guardrails-claude-code

SAFE max severity INFOSkillSpector Do not install 62 registry mattpocock last scanned 1 scan

Verdict safe, but 1 finding (1 info), mainly policy violation. Most recent scan 2026-10-22.

Second scanner: NVIDIA SkillSpector

The two scanners disagree: Cisco found nothing and SkillSpector says do not install. One of them has a blind spot here; read the skill before trusting either. How the two scanners compare across the whole corpus: Two scanners, one corpus.

What this skill does

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.

Package
3 files, 2.9 KB
SKILL.md
257 words, 8 sections
Code
Shell (1)

SKILL.md covers: Setup Git Guardrails · What Gets Blocked · Steps · 1. Ask scope · 2. Copy the hook script · 3. Add hook to settings · 4. Ask about customization · 5. Verify

Findings

INFO Skill does not specify a license Policy Violationstatic

Skill manifest does not include a 'license' field. Specifying a license helps users understand usage terms.

SKILL.md

Remediation: Add 'license' field to SKILL.md frontmatter (e.g., MIT, Apache-2.0)

What is in the package

FileKindSize
SKILL.mddoc2.3 KB
agents/openai.yamlconfig112 B
scripts/block-dangerous-git.shscript507 B

Environment variables referenced

CLAUDE_PROJECT_DIR

Package contents recorded 2026-10-22 at commit 5beb35b040e3. The scan above ran against the version current at scan time; the two can differ if the skill has since been updated.

What we checked

What we did not check

Sources