claude-mem
by Alex Newman · ★ 121,145 · updated 2 days ago
Persistent memory for AI coding agents: the next session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and more.
Install
git clone https://github.com/thedotmack/claude-memclaude --plugin-dir ./claude-mem/pluginThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startsession.appendturn.startturn.completesession.endclassic.SessionStartui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.run$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.process.hookEnv$.prompt.submit$.session.append$.session.id$.session.surfaces$.session.usage$.session.version$.ui.invalidate$.ui.log$.ui.place$.ui.resolve- Draws
Placed- Can see
classic hooks- Reach
- level 2 of 3 writes filesdrives Claudereads filesreads env varspersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/thedotmack/claude-mem
- Path in repo
plugin- Source commit
8fad27ethe exact code the scan read- Author
- Alex Newman @thedotmack
- License
- Apache-2.0
- First published
- Last pushed
- First listed here
- On X
- Mentioned in 1 post on X
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
Posts about this repo
CEO of Anthropic, Dario Amodei: "I have engineers at Anthropic who say: I don't write any code anymore". Reality is changing for everyone You need to adapt Turn a $0 open-source Claude code stack into an AI development team: 1. claude code > https://github.com/anthropics/claude-code 2. ruflo > https://github.com/ruvnet/ruflo 3. superclaude framework > https://github.com/superclaude-org/superclaude_framework 4. claude code router > https://github.com/musistudio/claude-code-router 5. ccusage > https://github.com/ccusage/ccusage 6. claude-mem > https://github.com/thedotmack/claude-mem 7. task master > https://github.com/eyaltoledano/claude-task-master 8. awesome claude code subagents > https://github.com/voltagent/awesome-claude-code-subagents 9. agentic plugin marketplace > https://github.com/wshobson/agents 10. agency agents > https://github.com/msitarzewski/agency-agents Real skill is building the operating system around the model Watch today. Then find any lecture that interests you thanks to the article below ⭣
Related mods
Other mods in Automation, close to this one by stars.