Automates bash commands and file edits triggered by Claude's tool usage, compact events, and stop signals.
npx claudepluginhub rbergman/dark-matter-marketplaceDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/run-gates-on-stop.sh",
"timeout": 120
}
],
"matcher": ""
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "if [ -d .beads ]; then bd prime; fi",
"timeout": 10
}
],
"matcher": ""
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/block-no-verify.sh",
"timeout": 5
}
],
"matcher": "Bash"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/flag-config-edit.sh",
"timeout": 5
}
],
"matcher": "Edit|Write|MultiEdit"
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 4
},
"eventStats": {
"Stop": 1,
"PreCompact": 1,
"PreToolUse": 1,
"PostToolUse": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 3,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}