npx claudepluginhub nathanvale/side-quest-marketplace-old --plugin claude-code-docsDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/PreToolUse.sh",
"timeout": 30
}
],
"matcher": "*"
}
]
}"Runs pre-tool-safety-check.sh on every PreToolUse event to perform safety checks before tool calls, with potential to block unsafe ones. No bash or file writes."