PlugMyPlugin
← Browse

prod-guard

karlkfi ★ 3

prod-guard is a PreToolUse hook that intercepts Bash commands targeting infrastructure tools (kubectl, gcloud, terraform, etc.) and blocks or prompts on mutating operations against production targets or those relying on shared ambient state like kubeconfig contexts. It resolves each command's actual target from explicit flags or ambient configuration, classifies it against configurable patterns, and uses self-healing fix-its to guide Claude toward safe explicit targeting.

Security DevOps No API key detected runs shell

Install

> /plugin marketplace add karlkfi/claude-bouncer/tree/HEAD/plugins/prod-guard
> /plugin install prod-guard

Source: https://github.com/karlkfi/claude-bouncer/tree/HEAD/plugins/prod-guard

What it's made of

1 command · 2 hooks

Commands
1
Agents
0
Skills
0
MCP servers
0
Hooks
2 · PostToolUse, PreToolUse

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
run-python-hook.cmd
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 (karlkfi).