Back to skills directory

Git Guardrails

Git 安全护栏技能,防止向远程仓库推送密钥、令牌与敏感信息,支持预提交扫描与历史记录清理。

Git Guardrails is an Agent skill for Security. Git 安全护栏技能,防止向远程仓库推送密钥、令牌与敏感信息,支持预提交扫描与历史记录清理。 Tags: Git · 安全 · security · 护栏 · guardrails · 密钥.

Security51.0k installsAuthor: obraVisit

What is Git Guardrails

Git Guardrails packages a Security workflow for agents. Git 安全护栏技能,防止向远程仓库推送密钥、令牌与敏感信息,支持预提交扫描与历史记录清理。

Install Git Guardrails in Cursor / Claude / Codex

Claude Code Install with the command on this page, or place the skill in ~/.claude/skills or project .claude/skills so Claude can detect Git Guardrails.

Cursor After the install command writes the skill directory, invoke Git Guardrails by name in the Cursor agent.

Codex Install into the Codex skills directory and call it by name. If only a generic command is listed, run it locally and confirm Codex can see the skill.

One-click Install

Run the following command in your terminal to install the skill into your AI agent:

npx skillsadd obra/superpowers

How to Use

Claude Code: Place the skill in ~/.claude/skills (personal) or the project .claude/skills directory, and Claude will auto-detect it.

Cursor / Windsurf: After installing via npx skillsadd, the skill directory is placed in the configured path.

Codex CLI: After installation it loads automatically from the skills directory and is invoked by name.

Tags

Git安全security护栏guardrails密钥secret令牌token

Similar recommendations

FAQ

What is Git Guardrails for?

Git Guardrails is a Security skill. Git 安全护栏技能,防止向远程仓库推送密钥、令牌与敏感信息,支持预提交扫描与历史记录清理。

Can Claude, Cursor, and Codex all use Git Guardrails?

Yes if the client supports Agent Skills and has loaded the skill directory. Check the project home for compatibility notes.

What similar skills exist?

Related items come from the same Security group so you can pick a closer workflow.