npx claudepluginhub vvkmnn/claude-emporium-beta --plugin claude-historianDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/pre-websearch.js"
}
],
"matcher": "WebSearch|WebFetch",
"description": "Check historian before web research"
}
],
"PostToolUseFailure": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/post-error.js"
}
],
"matcher": "Bash|Edit",
"description": "Suggest past error solutions after tool failures"
}
]
}"{\"riskFlags\": {\"touchesBash\": true, \"matchAllTools\": false, \"touchesFileWrites\": true}, \"typeStats\": {\"command\": 2}, \"eventStats\": {\"PreToolUse\": 1, \"PostToolUseFailure\": 1}, \"originCounts\": {\"absolutePaths\": 0, \"pluginScripts\": 2, \"projectScripts\": 0}, \"timeoutStats\": {\"commandsWithoutTimeout\": 2}}"