npx claudepluginhub obsfx/trekker-claude-code --plugin trekkerDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/task-completed.sh",
"timeout": 10
}
],
"matcher": "*"
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/pre-compact.sh"
}
],
"matcher": "*"
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/block-internal-tasks.sh",
"timeout": 5
}
],
"matcher": "TaskCreate|TaskUpdate|TaskList|TaskGet|TodoWrite"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh"
}
],
"matcher": "*"
}
],
"SubagentStop": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/task-completed.sh",
"timeout": 10
}
],
"matcher": "*"
}
]
}"{\"riskFlags\": {\"touchesBash\": false, \"matchAllTools\": false, \"touchesFileWrites\": true}, \"typeStats\": {\"command\": 5}, \"eventStats\": {\"Stop\": 1, \"PreCompact\": 1, \"PreToolUse\": 1, \"SessionStart\": 1, \"SubagentStop\": 1}, \"originCounts\": {\"absolutePaths\": 0, \"pluginScripts\": 5, \"projectScripts\": 0}, \"timeoutStats\": {\"commandsWithoutTimeout\": 2}}"