The author nearly wiped a Kubernetes namespace after approving an agent’s `oc delete --all` without reading it, then built a suite of 11 Claude Code plugins using the new function hooks API. The main mod, guardrails, blocks destructive commands like mass kubectl/oc deletes, rm -rf, force-push, and secret reads, and tells Claude the user blocked it. Other mods cover activity monitoring, desktop notifications, context tracking, usage limits, prompt coaching, command discovery, and a mod manager. Nine of eleven never call a model, there is no telemetry, and the project is free and MIT licensed.
claude / I approved an agent’s “oc
❯ /I▰▰▰▰▰▰▰▰ 安全与隐私
✳︎ I approved an agent’s “oc delete —all” without reading it, so I built guardrails (and 10 other mods) with Claude Code’s new function hooks
└─ 让每一次对话更顺手
文字预览 · 非作品截图✳︎ I approved an agent’s “oc delete —all” without reading it, so I built guardrails (and 10 other mods) with Claude Code’s new function hooks
└─ 让每一次对话更顺手
I approved an agent’s “oc delete —all” without reading it, so I built guardrails (and 10 other mods) with Claude Code’s new function hooks
星数 0权限足迹 未扫描尚未翻译