Install
1
Install the plugin$
npx claudepluginhub aitytech/agentkits-memory --plugin agentkits-memoryWant just this hook?
Add to a custom plugin, then install with one command.
Risk Indicators
Executes bash commandsModifies files
Source
Defined in hooks/hooks.json
Configuration
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "npx --yes @aitytech/agentkits-memory hook summarize",
"timeout": 10
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "npx --yes @aitytech/agentkits-memory hook observation",
"timeout": 30
}
],
"matcher": "Read|Write|Edit|MultiEdit|Bash|Glob|Grep|LS|WebSearch|WebFetch|Task|Skill|NotebookEdit"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/ensure-installed.cjs\"",
"timeout": 120
},
{
"type": "command",
"command": "npx --yes @aitytech/agentkits-memory hook context",
"timeout": 10
}
],
"matcher": ""
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "npx --yes @aitytech/agentkits-memory hook session-init",
"timeout": 10
}
]
}
]
}Summary
{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 5
},
"eventStats": {
"Stop": 1,
"PostToolUse": 1,
"SessionStart": 2,
"UserPromptSubmit": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 1,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}Stats
Stars51
Forks4
Last CommitFeb 7, 2026
Actions