git-guardrails-claude-code
by community
Use this page as a decision snapshot for git-guardrails-claude-code: trust signal, install momentum, real user feedback, and high-intent related pages you can compare next.
Description
# Setup Git Guardrails 设置一个 PreToolUse hook,在 Claude 执行危险 git commands 前拦截并阻止它们。 ## What Gets Blocked - `git push`(包括 `--force` 在内的所有 variants) - `git reset --hard` - `git clean -f` / `git clean -fd` - `git branch -D` - `git checkout .` / `git restore .` 被阻止时,Claude 会看到一条 message,说明它无权访问这些 commands。 ## Steps ### 1. Ask scope 询问用户:只为**当前 project** 安装(`.claude/settings.json`),还是为**所有 projects** 安装(`~/.claude/settings.json`)? ### 2. Copy the hook script bundled script 位于:[scripts/block-dangerous-git.sh](script
Install git-guardrails-claude-code
Run this in your OpenClaw agent to add git-guardrails-claude-code from the ClawHub registry.
openclaw skills install git-guardrails-claude-codeRequires ClawHub registry access. Review the security analysis below before installing.
Security Analysis
Open Source
Code is publicly available for audit.
Community Verified
Reviewed by the ClawHub community.
Community Reviews
Real user ratings only — separate from the editorial assessment and ClawHub signal.
Installed this skill? Sign in and leave the first review.
Save the skill now, come back after testing it, and help the next person choose with a quick review.
Frequently asked questions
Is git-guardrails-claude-code safe to install?
git-guardrails-claude-code has a SkillsReview security score of 50/100. It is open source and community-verified on ClawHub. Check the full Security Analysis on this page before installing.
How much does git-guardrails-claude-code cost?
git-guardrails-claude-code is free to install for OpenClaw via ClawHub.
What are the best alternatives to git-guardrails-claude-code?
You can compare git-guardrails-claude-code side by side with similar OpenClaw skills on the SkillsReview comparison page to find the best fit for your workflow.
How do I install git-guardrails-claude-code?
Install git-guardrails-claude-code from ClawHub at clawhub.ai/skills/git-guardrails-claude-code, or use the install action on this page to copy the command for your OpenClaw agent.
Community Signal
Historical movement
Timeline plus trend snapshots for security, reviews, and reputation tilt.
Trend Charts
30 / 90 / 180 day snapshots for ranking movement and security-score movement.
Last updated unknown UTC
Submit your review
Share your experience and help others find the best skills.
Newsletter
Stay updated on git-guardrails-claude-code and the wider SkillsReview ecosystem
Get the weekly Top 5, fresh security alerts, and newly hot skills by email. You can unsubscribe from any newsletter email in one click.