codex-mem — Claude Code plugin for session memory
codex-mem carries compressed project context into later sessions. Use it when you need to pick up work after a session ends or reconnects.
AGPL-3.0 ★ 1,596 updated 2026-10-29
/plugin marketplace add hashgraph-online/awesome-codex-plugins
/plugin install codex-mem@awesome-codex-pluginsWhat codex-mem does
The plugin records tool-use observations, turns them into semantic summaries, and makes those summaries available to later sessions. That gives Codex a way to retain project context after a session ends. The mem-search skill can search project history.
Codex is the primary runtime; Claude Code is supported as a compatibility host. Installing through npm requires Node.js 18 or later. Run npm install -g @2kdarki/codex-mem, configure transcript watching with codex-mem codex init, then start the watcher using codex-mem codex watch.
What it helps with
- carry project context into a later session
- preserve observations after a session ends
- search earlier project activity with
mem-search - resume work after reconnecting to a session
Example prompts for the agent
- Keep tool-use observations available to later sessions.
- Use
mem-searchto find details of earlier work on this project. - Restore the context from my previous session so I can continue this project.
How to install codex-mem
Plugin marketplace
/plugin marketplace add hashgraph-online/awesome-codex-plugins/plugin install codex-mem@awesome-codex-pluginsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about codex-mem
How do I install codex-mem in Claude Code?
Run /plugin marketplace add hashgraph-online/awesome-codex-plugins, then run /plugin install codex-mem@awesome-codex-plugins.
What does codex-mem do?
It records tool-use observations, condenses them into semantic summaries, and supplies that context to future sessions.
Which Node.js version does codex-mem require?
Installing it with npm requires Node.js 18 or later.