Skip to content
Agent Memory
Hook

Hooks

What auto-memory runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
auto-memory
1602 skills1 agent4 commands4 hooks

Claude Code

$ npx -y skills add severity1/claude-code-auto-memory --agent claude-code

What fires, and when

PreToolUse

  • MatchesBashpython3 "${CLAUDE_PLUGIN_ROOT}/scripts/trigger.py" || python "${CLAUDE_PLUGIN_ROOT}/scripts/trigger.py"

PostToolUse

  • MatchesEdit|Write|Bashpython3 "${CLAUDE_PLUGIN_ROOT}/scripts/post-tool-use.py" || python "${CLAUDE_PLUGIN_ROOT}/scripts/post-tool-use.py"

Stop

  • python3 "${CLAUDE_PLUGIN_ROOT}/scripts/trigger.py" || python "${CLAUDE_PLUGIN_ROOT}/scripts/trigger.py"

SubagentStop

  • Matches^(auto-memory:)?memory-updater$python3 "${CLAUDE_PLUGIN_ROOT}/scripts/trigger.py" || python "${CLAUDE_PLUGIN_ROOT}/scripts/trigger.py"
Read hooks/hooks.json
@severity1
Ships withauto-memory

Your CLAUDE.md, always in sync. Minimal tokens. Zero config. Just works. A Claude Code plugin that watches what Claude Code edits, deletes, and moves - then quietly updates your project memory in the background. No manual maintenance needed.

1602 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
160
Star history of severity1/claude-code-auto-memory on GitHub, a chart by star-history.com

More plugins that ship hooks.

mempalace

mempalace

Gives Claude Code a private memory that stays on your machine. It stores past conversations word for word, so you can ask what was decided, what happened before, or who was involved and get the original context back. It can also hand tasks to other agents.

3 skills+361k
@milla-jovovich@milla-jovovich
Install Plugin
mempalace

mempalace

Local-first memory for Claude Code. It stores conversations verbatim in a private palace you can search before answering about past work, people, projects, or decisions, with optional shared-brain hub setup.

3 skills+361k
@mempalace@mempalace
Install Plugin
context-mode

context-mode

Keeps large command outputs, logs and data files out of your AI assistant's context by running processing in a sandbox and returning only the relevant parts. You also get a searchable index of local files and diagnostics for checking the setup.

4 skills4 hooks35k
@mksglu@mksglu
Install Plugin
context-mode

context-mode

Keeps large tool outputs, logs, and files out of Claude Code's context window by processing them in a sandbox and indexing them for focused search. Includes diagnostics and a knowledge base indexer.

4 skills4 hooks34k
@mksglu@mksglu
Install Plugin
ai-memory

ai-memory

Gives coding agents a git-backed wiki for long-term project memory, with skills for retrieval, durable notes, session handoffs between agents, cross-project messaging, and memory consolidation.

7 skills+216k
@akitaonrails@akitaonrails
Install Plugin
letta-code

letta-code

A coding agent harness whose agents keep memory and identity across sessions, so they learn and improve over time. You can run it in a terminal, in the browser, or through Telegram, Slack and Discord.

26 skills8 hooks3.9k
@letta-ai@letta-ai
Install Plugin
token-optimizer

token-optimizer

Audits a Claude Code or Codex setup for context-window waste, fixes it with the user's approval, and measures the savings. It also tracks costs, helps resume prior sessions, and offers a usage dashboard.

5 skills+23.2k
@alexgreensh@alexgreensh
Install Plugin
claude-subconscious

claude-subconscious

A background agent for Claude Code that watches your sessions and reads your files, builds up memory over time, and offers guidance back during your work.

4 hooks2.9k
@letta-ai@letta-ai
Install Plugin

Questions about the hooks in auto-memory.

Which coding agents can use the hooks in auto-memory?
The hooks in auto-memory install in Claude Code and Cursor: each runs Claude Code hooks from .claude/settings.json, so copy the hooks there.