npx claudepluginhub anthropics/claude-plugins-community --plugin dopamineDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/entertainment.py\""
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/entertainment.py\""
}
]
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/entertainment.py\""
}
]
}
]
}"{\"riskFlags\": {\"touchesBash\": false, \"matchAllTools\": true, \"touchesFileWrites\": false}, \"typeStats\": {\"command\": 3}, \"eventStats\": {\"Stop\": 1, \"PreToolUse\": 1, \"SessionEnd\": 1}, \"originCounts\": {\"absolutePaths\": 0, \"pluginScripts\": 3, \"projectScripts\": 0}, \"timeoutStats\": {\"commandsWithoutTimeout\": 3}}"