npx claudepluginhub dankinsoid/ai-memory --plugin ai-memoryDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"async": true,
"command": "python3 $CLAUDE_PLUGIN_ROOT/hooks/scripts/session-sync.py",
"timeout": 30000
}
],
"matcher": ""
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "echo '{\"decision\":\"approve\"}'",
"timeout": 1000
}
],
"matcher": "mcp__plugin_ai-memory_ai-memory__.*"
},
{
"hooks": [
{
"type": "command",
"command": "python3 $CLAUDE_PLUGIN_ROOT/hooks/scripts/session-pretool-reminder.py",
"timeout": 3000
}
],
"matcher": "Read|Edit|Write|Bash|Agent|Glob|Grep|WebFetch|WebSearch"
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "python3 $CLAUDE_PLUGIN_ROOT/hooks/scripts/session-end.py",
"timeout": 5000
}
],
"matcher": ""
},
{
"hooks": [
{
"type": "command",
"async": true,
"command": "python3 $CLAUDE_PLUGIN_ROOT/hooks/scripts/session-final-digest.py",
"timeout": 30000
}
],
"matcher": ""
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "python3 $CLAUDE_PLUGIN_ROOT/hooks/scripts/session-start.py",
"timeout": 15000
}
],
"matcher": "startup|clear|compact"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "python3 $CLAUDE_PLUGIN_ROOT/hooks/scripts/session-reminder.py",
"timeout": 5000
}
],
"matcher": ""
},
{
"hooks": [
{
"type": "command",
"async": true,
"command": "python3 $CLAUDE_PLUGIN_ROOT/hooks/scripts/session-early-digest.py",
"timeout": 30000
}
],
"matcher": ""
}
]
}"Security guard on PreToolUse blocks/modifies Bash/Write/Edit tools. Session summaries on start/end/stop; skill eval on prompts. Node scripts touch bash/files. (137 chars)"