npx claudepluginhub ariaxhan/kernel-claude --plugin kernelDefined in hooks/hooks.json
{
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre-compact-commit.sh",
"timeout": 30,
"statusMessage": "Saving context snapshot..."
}
],
"matcher": ""
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/guard-bash.sh",
"timeout": 5
}
],
"matcher": "Bash"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/guard-config.sh",
"timeout": 5
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/detect-secrets.sh",
"timeout": 5
},
{
"type": "command",
"async": true,
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/validate-structure.sh",
"timeout": 5
},
{
"type": "command",
"async": true,
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/warn-hardcoded.sh",
"timeout": 5
}
],
"matcher": "Write|Edit"
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session-end.sh",
"timeout": 30,
"statusMessage": "Cleaning up session..."
}
],
"matcher": ""
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"async": true,
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/log-write.sh",
"timeout": 5
},
{
"type": "command",
"async": true,
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/validate-json-schema.sh",
"timeout": 5
}
],
"matcher": "Write|Edit"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session-start.sh",
"timeout": 30,
"statusMessage": "Loading AgentDB context..."
}
],
"matcher": ""
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/post-compact-restore.sh",
"timeout": 5
}
],
"matcher": ""
}
],
"PermissionRequest": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/auto-approve-safe.sh",
"timeout": 5
}
],
"matcher": "Bash"
}
],
"PostToolUseFailure": [
{
"hooks": [
{
"type": "command",
"async": true,
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/capture-error.sh",
"timeout": 5
}
],
"matcher": "Edit|Write|Bash"
}
]
}"{\"riskFlags\": {\"touchesBash\": true, \"matchAllTools\": false, \"touchesFileWrites\": true}, \"typeStats\": {\"command\": 13}, \"eventStats\": {\"PreCompact\": 1, \"PreToolUse\": 5, \"SessionEnd\": 1, \"PostToolUse\": 2, \"SessionStart\": 1, \"UserPromptSubmit\": 1, \"PermissionRequest\": 1, \"PostToolUseFailure\": 1}, \"originCounts\": {\"absolutePaths\": 0, \"pluginScripts\": 13, \"projectScripts\": 0}, \"timeoutStats\": {\"commandsWithoutTimeout\": 0}}"