Type a word and get the exchange it came from.
Each hit shows your message and the reply, with project, date and your words marked. Click it to read the turns around it, or open the session again with Session resume.
Search · every session from Claude Code and Codex
The gateway saves each turn of your Claude Code and Codex sessions as it passes, and you search them in the console from any machine. Your agent searches the same store and reads archived tool output back byte for byte, with secrets and e-mail addresses masked.
Each hit shows your message and the reply, with project, date and your words marked. Click it to read the turns around it, or open the session again with Session resume.
One exception, for safety: secrets and e-mail addresses are masked before the output is stored.
When Context Saving folds a test run, a label with an archive id stays in the prompt.
The agent passes that id to context-mode-search and pages through the stored output. It never runs the command again.
Folding is safe because nothing is gone. On an npm test fix-and-rerun loop, the gateway folded the test output and the run cost 22% less on Claude Opus 5.5 (16 to 28%) over 16 paired runs, with no change in task success.
Compared
~/.claude/projects, on the machine that ran it.~/.codex/sessions, on the machine that ran it.Paired runs on Claude Opus 5.5, 2026-09-29. Every benchmark, with its method →
No. The history is kept at the gateway, so every connected machine sees it.
Yes, if it went through the gateway. Type a word and you get the exchange it came from.
Yes. Secrets and e-mail addresses are masked before storage.
npx @context-mode/cli points Claude Code and Codex at the gateway. Every turn is searchable from then on.