npx claudepluginhub gazmagik/claude-memory-pluginDefined in hooks/hooks.json
bun ${CLAUDE_PLUGIN_ROOT}/hooks/pre-compact/memory-capture.ts90msEdit|Write|MultiEditbun ${CLAUDE_PLUGIN_ROOT}/hooks/pre-tool-use/protect-memory-directory.ts5msBashbun ${CLAUDE_PLUGIN_ROOT}/hooks/pre-tool-use/enforce-memory-cli.ts5msbun ${CLAUDE_PLUGIN_ROOT}/hooks/session-end/memory-cleanup.ts30ms*bun ${CLAUDE_PLUGIN_ROOT}/hooks/post-tool-use/memory-context.ts30msTaskbun ${CLAUDE_PLUGIN_ROOT}/hooks/post-tool-use/agent-retrospective.ts15msnode ${CLAUDE_PLUGIN_ROOT}/hooks/session-start/check-bun-installed.mjs30msbun ${CLAUDE_PLUGIN_ROOT}/hooks/session-start/ollama-prewarm.ts15msbun ${CLAUDE_PLUGIN_ROOT}/hooks/session-start/start-memory-index.ts10msbun ${CLAUDE_PLUGIN_ROOT}/hooks/subagent-stop/extract-agent-id.ts5msbun ${CLAUDE_PLUGIN_ROOT}/hooks/user-prompt-submit/memory-reminders.ts5msbun ${CLAUDE_PLUGIN_ROOT}/hooks/user-prompt-submit/memory-context.ts10msImplements persistent memory system for Claude Code: captures tool outputs in PreCompact/PostToolUse, injects context/reminders on prompts, protects memory dir from Edit/Write, enforces CLI on Bash tools, prewarms Ollama, indexes/cleans up. Uses bun/node, touches bash/files.
Share bugs, ideas, or general feedback.