PlugMyPlugin
← Browse

guardrails

yo61 ★ 0

A PreToolUse hook that intercepts shell commands and blocks known-wrong patterns—like grep -r, rm -rf, which, and zsh-incompatible bash syntax—returning the correct form instead. Runs deterministically at tool invocation time without relying on the model to remember guidelines.

DevOps Code Review No API key detected runs shell

Install

> /plugin marketplace add yo61/claude-plugin-guardrails
> /plugin install guardrails

Source: https://github.com/yo61/claude-plugin-guardrails

What it's made of

2 hooks

Commands
0
Agents
0
Skills
0
MCP servers
0
Hooks
2 · PreToolUse

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
bash-guard.sh git-rebase-gate.sh
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 (yo61).