Session context
SessionStart injects compact memories and preferences.
Codex CLI memory
remem connects to Codex CLI with SessionStart and Stop hooks, then exposes project memory through MCP tools and CLI search.
$ remem install --target codex
ok Codex MCP server registered
ok Codex hooks configured
$ remem search "review threads"
decision green CI alone is not enough
preference separate remote truth from local state
auditable recall available mid-session
How it helps Codex
The same local store powers automatic session injection, MCP search, manual saves, workstreams, and timelines.
SessionStart injects compact memories and preferences.
Stop hooks summarize durable lessons in the background.
Codex can call `search`, `save_memory`, `timeline`, and workstream tools.
`remem why`, status, and usage commands make recall inspectable.
Install
Install the binary, configure Codex hooks and MCP, then restart Codex.
brew install majiayu000/tap/remem
remem install --target codex
remem doctor
remem search "last decision"FAQ
Memory is project-scoped so unrelated repositories do not leak into recall.
Codex can retrieve memories mid-session through remem MCP tools.
Codex uses strict duplicate-injection gating to avoid repeated startup output.