Skip to content

Claude Code hooks for Agent Memory

Flowy lists 28 plugins that ship hooks for Agent Memory, and the most-starred are milla-jovovich-mempalace (59,737 stars), mempalace-mempalace (59,727 stars) and mksglu-claude-context-mode (32,573 stars). The newest push among those Agent Memory plugins with hooks, on October 28, 2026, went to mksglu-claude-context-mode.

Search and filter all Agent Memory plugins with hooks

  1. milla-jovovich-mempalace
    Hook

    milla-jovovich-mempala…

    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+360k
    @milla-jovovich@milla-jovovichInstall Hook
  2. mempalace-mempalace
    Hook

    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+360k
    @mempalace@mempalaceInstall Hook
  3. mksglu-claude-context-mode
    Hook

    mksglu-claude-context-…

    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.

    9 skills+233k
    @mksglu@mksgluInstall Hook
  4. mksglu-context-mode
    Hook

    mksglu-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.

    9 skills+233k
    @mksglu@mksgluInstall Hook
  5. akitaonrails-ai-memory
    Hook

    akitaonrails-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+214k
    @akitaonrails@akitaonrailsInstall Hook
  6. letta-ai-letta-code
    Hook

    letta-ai-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.

    27 skills8 hooks3.7k
    @letta-ai@letta-aiInstall Hook
  7. letta-ai-claude-subconscious
    Hook

    letta-ai-claude-subcon…

    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-aiInstall Hook
  8. alexgreensh-token-optimizer
    Hook

    alexgreensh-token-opti…

    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+22.7k
    @alexgreensh@alexgreenshInstall Hook
  9. bayramannakov-claude-reflect
    Hook

    bayramannakov-claude-r…

    A self-learning system for Claude Code that captures your corrections during sessions and reminds you to run /reflect to save them to CLAUDE.md as permanent memory. It also discovers recurring workflow patterns.

    1 skill+21.9k
    @bayramannakov@bayramannakovInstall Hook
  10. memvid-claude-brain
    Hook

    memvid-claude-brain

    Give Claude Code photographic memory in ONE portable file. No database, no SQLite, no ChromaDB - just a single .mv2 file you can git commit, scp, or share. Native Rust core with sub-ms operations.

    2 skills+2580
    @memvid@memvidInstall Hook
  11. itechmeat-open-second-brain
    Hook

    itechmeat-open-second-…

    A memory layer that lets AI agents read and write an agent-owned second brain in an Obsidian vault. It works through MCP servers, lifecycle hooks and a command-line tool, and includes skills for recording preferences and setting up semantic search.

    6 skills9 hooks497
    @itechmeat@itechmeatInstall Hook
  12. tokenrollai-llmdoc
    Hook

    tokenrollai-llmdoc

    Keeps a repository's architecture decisions, constraints and cross-module contracts in persistent notes, so coding agents stop rediscovering the codebase each session. Agents pull only what a task needs and check it against the live code.

    5 skills+2484
    @tokenrollai@tokenrollaiInstall Hook
  13. juyterman1000-entroly
    Hook

    juyterman1000-entroly

    Reduces AI context cost for coding agents by compressing context in a way that can be reversed, with byte-exact recovery and an auditable receipt for each reduction. Runs locally and works through a proxy, MCP server, SDK, or agent wrapper.

    2 skills+2480
    @juyterman1000@juyterman1000Install Hook
  14. mutable-state-inc-ensue-skill
    Hook

    mutable-state-inc-ensu…

    Gives your AI assistant a persistent memory tree, so what you learn in one conversation carries into the next instead of resetting. It connects new topics to your earlier knowledge and saves useful findings as you go.

    1 skill+2421
    @mutable-state-inc@mutable-state-incInstall Hook
  15. varun29ankus-shodh-memory
    Hook

    varun29ankus-shodh-mem…

    Gives Claude Code persistent memory across conversations, with local embeddings, semantic search and a knowledge graph. It runs offline as a single binary, with no cloud service or API keys needed.

    2 skills+2316
    @varun29ankus@varun29ankusInstall Hook
  16. qshanx-docs-governance
    Hook

    qshanx-docs-governance

    A knowledge, decision, and verification governance system for long-running AI-assisted projects. It turns a strong agent's one-off work into shared project capability that future agents can inherit, verify, and evolve.

    19 skills+3279
    @qshanx@qshanxInstall Hook
  17. kevin-hs-sohn-hipocampus
    Hook

    kevin-hs-sohn-hipocamp…

    Gives Claude Code a file-based memory system that records session context, compacts it into a daily, weekly, monthly and root summary tree, and searches it through qmd. No extra infrastructure is needed.

    5 skills3 hooks211
    @kevin-hs-sohn@kevin-hs-sohnInstall Hook
  18. u-ichi-compact-plus
    Hook

    u-ichi-compact-plus

    A transparent Claude Code and Codex plugin that preserves working state around /compact. It does not replace either runtime's compaction algorithm; it augments compaction through documented hooks.

    1 skill4 hooks207
    @u-ichi@u-ichiInstall Hook
  19. digital-process-tools-claude-remember
    Hook

    digital-process-tools-…

    Your coding agent starts every session blank. It doesn't know what you worked on yesterday, what conventions your team follows, or what mistakes it already made. You re-explain everything, every time. Claude Remember fixes that.

    1 skill+2205
  20. tinqiao-oss-engramory
    Hook

    tinqiao-oss-engramory

    An opinionated, zero-infrastructure memory protocol for small-scale, local, file-based agent memory, a strict curation discipline plus a validator (tools/engramory_doctor.py), loaded as standing rules (CLAUDE.md / AGENTS.md / your host's rules file).

    1 skill1 hook195
    @tinqiao-oss@tinqiao-ossInstall Hook
  21. hjertefolger-cortex
    Hook

    hjertefolger-cortex

    Stores and recalls context across Claude Code sessions in local SQLite storage. Fires at session start and end, before compaction, and after tool use.

    3 skills+2173
    @hjertefolger@hjertefolgerInstall Hook
  22. primefoldtools-andon
    Hook

    primefoldtools-andon

    Stop fixing the same AI mistake twice. A Lean quality system for AI-assisted work, operators turn recurring defects into countermeasures. Built by a manufacturing operator, for people who actually ship.

    5 agents+2167
    @primefoldtools@primefoldtoolsInstall Hook
  23. severity1-claude-code-auto-memory
    Hook

    severity1-claude-code-…

    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.

    2 skills+3158
    @severity1@severity1Install Hook
  24. summerliuuu-no-no-debug
    Hook

    summerliuuu-no-no-debu…

    Reviews your skill files on a schedule to flag stale or contradictory rules and suggests edits. Fires when you ask to audit or refresh your Claude skills or check their drift.

    1 skill3 hooks151
    @summerliuuu@summerliuuuInstall Hook
  25. guhcostan-claude-mega-brain
    Hook

    guhcostan-claude-mega-…

    Loads the knowledge. Skips the search. 100% accuracy · 0 tool calls · −66% tokens vs Obsidian+MCP Real agentic sessions. Benchmark →

    4 skills2 hooks128
    @guhcostan@guhcostanInstall Hook
  26. ekadetov-llm-wiki
    Hook

    ekadetov-llm-wiki

    A Claude Code plugin that builds persistent, compounding knowledge bases inside Obsidian using the Karpathy LLM Wiki pattern. Ingest sources, query synthesized knowledge, lint for gaps, all from your Claude Code session.

    1 skill+2112
    @ekadetov@ekadetovInstall Hook
  27. kaimingwan-oh-my-kiro
    Hook

    kaimingwan-oh-my-kiro

    Runs persistent memory, self-reflection, and workflow planning across 15 skills and 15 commands for coding. Fires when you plan, debug, review, research, or ask it to recall prior context.

    15 skills+3107
    @kaimingwan@kaimingwanInstall Hook

Questions

What is the best Agent Memory hook for Claude Code?

By GitHub stars (Flowy does not rate quality), the best Agent Memory plugin with hooks for Claude Code is milla-jovovich-mempalace (59,737 stars), ahead of mempalace-mempalace (59,727 stars) and mksglu-claude-context-mode (32,573 stars).

How many Agent Memory plugins with hooks are there?

Flowy lists 28 plugins that ship hooks for Agent Memory, and this page draws all 28 Agent Memory plugins with hooks.

How to install a hook