this is literally f**king insane
i found a 94K-star repo that gives claude code and codex persistent memory across sessions.
instead of re-explaining the project every time, it captures what the agent did, compresses it, and brings the useful context into the next session.
hereโs how to set it up in 3 mins:
โ npx claude-mem install
โ select claude code + codex
โ restart the agent and open a fresh session
for claude code:
โ /plugin marketplace add thedotmack/claude-mem
โ /plugin install claude-mem
now the same project context survives the session โ restart โ next task loop instead of disappearing every time you close the agent.
the interesting part isnโt more context.
itโs finally giving coding agents memory that survives the session.