From keep
After every Claude response: runs keep now 'Assistant response: ${.last_assistant_message}' --truncate --auto-scop…. When a session starts: runs keep prompt session-start --auto-scope -t 'session=${.session_id}' || echo 'keep…. And 3 more.
5 events · 5 hooks
Ships in keep. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
keep now 'Assistant response: ${.last_assistant_message}' --truncate --auto-scope --quiet -t 'session=${.session_id}' >/dev/null || echo 'keep warning: memory not recorded; see keep error above.' >&2; echo '{}'keep prompt session-start --auto-scope -t 'session=${.session_id}' || echo 'keep warning: session-start hook failed; see keep error above.' >&2keep now 'Subagent response: ${.last_assistant_message}' --truncate --auto-scope --quiet -t 'session=${.session_id}' >/dev/null || echo 'keep warning: memory not recorded; see keep error above.' >&2; echo '{}'keep prompt subagent-start --auto-scope -t 'session=${.session_id}' || echo 'keep warning: subagent-start hook failed; see keep error above.' >&2keep now 'User prompt: ${.prompt|text}' --truncate --auto-scope -t 'session=${.session_id}' || echo 'keep warning: memory not recorded; see keep error above.' >&2Where this hook configuration is defined
Defined in hooks/hooks.json
4 plugins ship this exact hooks config · first indexed Mar 13, 2026
npx claudepluginhub generalbusiness-ai/keep --plugin keepOther plugins' hooks for the same job