Share work memory across Claude Code, Codex and Pi

Nimrod reads each agent’s local session files into one SQLite log, injects a project brief at session start and answers queries over MCP.

by /u/danilofs20 Sep 2026

Prompt for your agent

Goal: Stop re-explaining the same project to every new agent session.
Setup: agents used in source: Claude, Codex, OpenCode; tools/MCPs stated: Nimrod, SQLite, MCP, fastembed.
Steps:
1. Read each agent’s own session store (JSONL or SQLite on disk) without writing to it.
2. Extract what was asked, files touched, commands run and how it ended into one local SQLite database; no model writes to the log.
3. Inject a short project brief at the start of each session.
4. Expose search, recent sessions, timeline and session detail through MCP (FTS5 plus local embeddings).
Rules: ask me before anything irreversible (sending, posting, paying, deleting); don’t invent data, results or tools I haven’t given you; tell me what you couldn’t verify.
Based on: /u/danilofs — https://www.reddit.com/r/PiAgent/comments/1wlixcy/crossagent_work_memory_for_claude_code_codex/

Steps are from the source. Includes a “Based on” credit line.

I tried this

Tell the next builder. One anonymous answer each; click again to undo.

Agents, models and tools only what the source states

Agents
Claude Codex OpenCode
Tools
  • Nimrod
  • SQLite
  • MCP
  • fastembed

Sources & credit