npx claudepluginhub pchalasani/claude-code-tools --plugin msgDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "msg-hook stop",
"timeout": 5
}
],
"matcher": "*"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "msg-hook prompt-submit",
"timeout": 5
}
],
"matcher": "*"
}
]
}"Runs state-tracker.sh script on UserPromptSubmit and Stop events to track session or prompt state. No bash execution or file writes."