You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add chat export support using existing Codex logs #5781
Codex CLI already saves full chat logs in ~/.codex, but they’re stored as verbose JSON with a lot of internal data.
This proposal is to make those chats exportable in a readable format (Markdown or plain text) that includes only user and model messages.
Why is this useful?
Lets users export a finished chat and continue it in another session, keeping context across resets.
Complements issue Session chaining #5348 (Session Chaining) — not the preferred long-term solution, but a practical interim step that supports the manual workaround discussed in its comments.
Uses existing saved data, requiring only a simple export layer.
Improves usability and reproducibility for long-running projects.
Additional information
This would be a low-risk enhancement that only exposes readable exports of logs Codex already stores locally.
Activity
github-actions commentedon Oct 26, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
etraut-openai commentedon Oct 26, 2025
Thanks for the suggestion. I think this may be a duplicate of #4232. If so, let's close this one and consolidate any details into the previous one.
etraut-openai commentedon Nov 11, 2025
Closing in favor of #2880
timothydillan commentedon Apr 7, 2026
For anyone landing here, I built harness-recall (https://github.com/timothydillan/harness-recall), which tackles this across multiple tools in one CLI. It reads sessions from Codex, Claude Code, and Cursor, indexes them, and exports to Markdown, HTML, or JSON (your choice).
A few things beyond what's been shared in this thread:
Install using: pip install harness-recall
Hope it helps!
ezyyeah commentedon May 30, 2026
Hey, I have built a tool for exporting entire codex session logs / conversations, with options: https://github.com/ezyyeah/codex-export