npx claudepluginhub app-vitals/marketplace --plugin damage-controlDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "uv run ${CLAUDE_PLUGIN_ROOT}/hooks/bash-tool-damage-control.py",
"timeout": 5
}
],
"matcher": "Bash"
},
{
"hooks": [
{
"type": "command",
"command": "uv run ${CLAUDE_PLUGIN_ROOT}/hooks/edit-tool-damage-control.py",
"timeout": 5
}
],
"matcher": "Edit"
},
{
"hooks": [
{
"type": "command",
"command": "uv run ${CLAUDE_PLUGIN_ROOT}/hooks/write-tool-damage-control.py",
"timeout": 5
}
],
"matcher": "Write"
},
{
"hooks": [
{
"type": "command",
"command": "uv run ${CLAUDE_PLUGIN_ROOT}/hooks/read-tool-damage-control.py",
"timeout": 5
}
],
"matcher": "Read"
}
]
}"PreToolUse hooks gate 'Skill|Bash' and 'Edit' tool calls with bun-run TypeScript scripts. Executes bash commands, writes files, and can block/modify tools."