Executes bash commands and modifies files automatically after tool use, sessions, prompts, and stops.
npx claudepluginhub mwguerra/claude-code-pluginsDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/capture.sh stop",
"timeout": 5000
}
]
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/capture.sh session_end",
"timeout": 5000
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/capture.sh post_tool_bash",
"timeout": 5000
}
],
"matcher": "Bash"
},
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/capture.sh post_tool_edit",
"timeout": 5000
}
],
"matcher": "Edit"
},
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/capture.sh post_tool_write",
"timeout": 5000
}
],
"matcher": "Write"
},
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/capture.sh post_tool_task",
"timeout": 5000
}
],
"matcher": "Task"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/capture.sh session_start",
"timeout": 15000
}
]
}
],
"SubagentStop": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/capture.sh subagent_stop",
"timeout": 5000
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/capture.sh user_prompt",
"timeout": 5000
}
]
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 9
},
"eventStats": {
"Stop": 1,
"SessionEnd": 1,
"PostToolUse": 4,
"SessionStart": 1,
"SubagentStop": 1,
"UserPromptSubmit": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 9,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}