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權限足跡 未掃描尚未翻譯