← Browse
guardrails
nrzz ★ 0
Claude Code guardrails is a PreToolUse hook that intercepts risky shell commands and file edits—denying them with a one-line reason or prompting for permission—while allowing safe operations silently at zero token cost. Three configurable presets (strict, balanced, relaxed) control how aggressively the guard blocks operations like force pushes, secret file writes, and destructive commands.
Install
> /plugin marketplace add nrzz/claude-code-guardrails
> /plugin install guardrails
What it's made of
2 skills · 1 hook
- Commands
- 0
- Agents
- 0
- Skills
- 2
- MCP servers
- 0
- Hooks
- 1 · PreToolUse
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
node- Talks to
- nothing external detected
Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.
Is this your plugin?
Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (nrzz).