PlugMyPlugin
← Browse

guardrails

tslava ★ 0

A PreToolUse hook that guards the Bash tool with three enforcement checks: codex-guard prevents unsafe Codex runs, destructive-guard blocks risky file deletions and git operations, and deploy-guard prevents pushes that would remove deployed changes on shared environments. The hook asks the user when it cannot determine command intent and supports environment-based configuration with explicit bypass mechanisms.

Security DevOps No API key detected runs shell

Install

> /plugin marketplace add tslava/agent-kit/tree/HEAD/plugins/guardrails
> /plugin install guardrails

Source: https://github.com/tslava/agent-kit/tree/HEAD/plugins/guardrails

What it's made of

1 hook

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

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
python3
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 (tslava).