Codex Memory with SuperLocalMemory.
Connect SuperLocalMemory to Codex over MCP, with skills, sub-agents and lifecycle hooks, and keep one local memory shared with your other agents.
Install, connect, verify.
SuperLocalMemory gives Codex one memory it shares with your other agents. It is the same memory Claude Code and Cursor use, so a decision saved in one session can be recalled in another. The Claude Code memory guide explains the idea; SuperLocalMemory on Qualixar is the product overview.
Install and set up
Follow the install page, then run setup. Mode A keeps everything on your machine.
npm install -g superlocalmemory slm setup
Connect Codex
slm connect codex adds the MCP server to your Codex config. slm codex install then adds the skills, sub-agents and lifecycle hooks. Add --dry-run to either to preview what would be written.
slm connect codex slm codex install
Codex can also install it as a plugin from the same marketplace:
codex plugin marketplace add qualixar/superlocalmemory --ref main codex plugin add superlocalmemory-codex@qualixar
Verify
Restart Codex and review the new hooks with /hooks. Check what is installed with slm codex status, then run a remember and recall round trip.
slm codex status slm doctor
Memory, skills and hooks.
The memory tools
Remember, recall and the rest of SLM’s tools, in the Codex tool list. Where a client cannot load the MCP server, slm tool list reaches the same tools from a shell.
16 skills, 4 agents
The same skills and agents every host gets, plus /slm-loop, so Codex knows how to recall, remember and run bounded loops.
Lifecycle hooks
Hooks run at session start and around tool use. They fail open: a hook problem never blocks Codex. A per-prompt hook asks memory only when the prompt needs it.
What is stored, and where.
Memories live in a local database on your computer. Nothing about them is sent to a server unless you turn on an optional feature that says so. Credentials in saved text are replaced with a typed placeholder before storage, and each memory records which agent wrote it.
Your memories
Text you or an agent saves, with its agent, time and origin. slm why FACT_ID shows where one came from.
The MCP server entry
slm connect codex writes it; slm codex remove removes only what SLM installed.
The agent rules
The agent rules are not written for you. Append them to your own AGENTS.md if you want them.
Questions about Codex memory.
codex plugin marketplace upgrade qualixar, then run codex plugin add superlocalmemory-codex@qualixar. slm doctor prints these commands when the plugin is older than SLM.Install SuperLocalMemory, connect Codex with one command, then verify the memory round trip before relying on it.