/plugin marketplace add AnEntrypoint/gm/plugin install anentrypoint-gm@AnEntrypoint/gmDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/stop-hook.js",
"timeout": 3600
},
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/stop-hook-git.js",
"timeout": 3600
}
],
"matcher": "*"
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/pre-tool-use-hook.js",
"timeout": 3600
}
],
"matcher": "Bash"
},
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/pre-tool-use-hook.js",
"timeout": 3600
}
],
"matcher": "Glob"
},
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/pre-tool-use-hook.js",
"timeout": 3600
}
],
"matcher": "Grep"
},
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/pre-tool-use-hook.js",
"timeout": 3600
}
],
"matcher": "Task"
},
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/pre-tool-use-hook.js",
"timeout": 3600
}
],
"matcher": "Search"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/session-start-hook.js",
"timeout": 3600
}
],
"matcher": "*"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/prompt-submit-hook.js",
"timeout": 3600
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 9
},
"eventStats": {
"Stop": 2,
"PreToolUse": 5,
"SessionStart": 1,
"UserPromptSubmit": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 9,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}