/claude-gatekeeper:helpfrom claude-gatekeeper
Show gatekeeper rules summary and configuration help
Ships in claude-gatekeeper. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
PCRE2 regex-based permission gatekeeper for Claude Code tool calls. Deny always wins.
| Category | Pattern | Reason |
|---|---|---|
| Destructive git | git reset --hard, git clean -f, git push --force, git commit --amend, git branch -D | Prevents irreversible git operations |
| Push to main/master | git push origin main or implicit push while on main/master | Protects default branches |
| Recursive delete | rm -r, rm -rf | Prevents accidental data loss |
| sed/awk | sed, awk | Forces the Edit tool for traceability |
| Destructive SQL | DROP, TRUNCATE, DELETE FROM | Prevents data loss |
| Credential files | .env, .envrc, *key.json, id_rsa, .pem, credentials | Blocks secret file access |
Git, GitHub CLI, Docker, Python toolchain, Go toolchain, pnpm, build systems, JavaScript/TypeScript tools, shell utilities, infrastructure tools, OpenSSL, timeout wrapper, Read, Edit, Write, Glob, Grep, Agent, WebFetch, WebSearch.
Edit ~/.claude/gatekeeper.toml for global rules. Add .claude/gatekeeper.toml in any project for per-project overrides. Deny always wins across all layers.
Uncomment the npm deny rule in ~/.claude/gatekeeper.toml if you want to enforce pnpm.
Add --debug to the hook command in hooks/hooks.json to see rule evaluation on stderr (visible via Ctrl+R in Claude Code).
What SKILL.md sets; muted values are Claude Code's defaults
claude-gatekeeper@jim80net-plugins is listed by jim80net/claude-plugins — review the source before installing
npx claudepluginhub jim80net/claude-plugins --plugin claude-gatekeeper2 skills in this plugin
Other plugins' skills for the same job