npx claudepluginhub mistakeknot/interagency-marketplace --plugin interlockDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/stop.sh",
"timeout": 10
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-edit.sh",
"timeout": 5
}
],
"matcher": "Edit"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"async": true,
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh"
}
],
"matcher": "startup|resume|clear|compact"
}
]
}"Runs shell scripts on SessionStart (startup/resume/clear/compact), PreToolUse for Edit (timeout 5s), and Stop (timeout 10s). Involves file writes but no bash execution."