G

git-guardrails-claude-code

VERIFIED

by community

No community reviews yet
143,890,500installs
Updated Aug 2026

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.

|Compare

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.

terminal
$openclaw skills install git-guardrails-claude-code

Requires ClawHub registry access. Review the security analysis below before installing.

Security Analysis

危险50/100

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.

No community reviews yet

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

ClawHub Community Score6110.00 / 5.00
Installs143,890,500
Last UpdateAug 5, 2026
Actively maintained (0d ago)
ClawHub community score is a third-party marketplace signal. It is shown separately from SkillsReview editorial assessment and real user review averages.
View on ClawHub →

Historical movement

Timeline plus trend snapshots for security, reviews, and reputation tilt.

Open timeline →
Beta · Data may lag

Trend Charts

30 / 90 / 180 day snapshots for ranking movement and security-score movement.

Last updated unknown UTC

Loading trend data…

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.

One email a week. No spam. Unsubscribe any time from the email footer.