Prompt-based blocklist guard for OpenClaw with two enforcement hooks:
This is soft enforcement — it tells the agent not to use blocked tools, but
can't physically stop it. For hard blocking + Telegram alerts, see
Want more? below.
Install from ClawHub. The hooks are included in the skill package.
The hooks read SNITCH_BLOCKLIST (comma-separated) if set, otherwise fall back to the defaults:
SNITCH_BLOCKLIST=clawhub,clawdhub,myothertool
The bootstrap directive instructs the agent to refuse any tool invocation
matching a blocked term. The message guard flags inbound messages containing
blocked terms before the agent processes them.
Default blocked terms: clawhub, clawdhub
For hard enforcement (tool call interception, Telegram alerts), install the
plugin via npm:
openclaw plugins install superpack-snitch
The plugin adds a before_tool_call layer that physically blocks matching
tool calls and broadcasts alerts. See the
README for full details.
The skill and plugin can be used together for layered defense.
共 1 个版本