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
Off the top of my head, this might make sense to have as part of the Ctrl+T transcript viewer, since I believe it already has the ability to select older messages.
Are you interested in implementing this feature?
Unfortunately I don't have the capacity nor familiarity with rust to do so at the moment.
Reacted by Vri6500, Uday, Will Crawford, Jayesh K. Gupta, David Crespo, Jo Liss, xianghongai, Ángel Cervera Claudio, Saahitya Edamadaka, matssk and 68 more
You can tell it to do that, e.g. keep a summary of changes in a separate directory per change, auto commit and push and close corresponding issues etc. Also add comments to issues etc. It does it very well
My "question" was:
I wish you could save the summary (or after task complete report, what I see you respond here explaining what you've done) of what you'd done in a special directory "changes" with a dedicated file per summary.
Reacted by Glenn 'devalias' Grant and Uday
Reacted by Andrew Grigorev, Darkfeast, Divanshu Chauhan, Nur Fajar Trihantoro, Hanging Space, Sefer Demirci and Gili Tzabari
@dlukt Sure; but my need is not a systemic 'keep a running log of things' so much as it is a "oh, that is useful and I want to go and manually keep that fragment somewhere for future reference"; and it feels somewhat inefficient to burn tokens/LLM inference cycles on that when a comparatively 'cheap' / efficient 'copy as markdown' could be implemented in the TUI / similar.
Reacted by Darko Luketic, jaggedShrapnel, Uday, Jon Salem, wren, David Christle, WarrenS, charles and shuhung
Thanks for opening this — I’d love to see an “export transcript” option. Being able to quickly save sessions as Markdown or plain text (or download JSONL) would make it much easier to share examples, create docs, and debug with teammates.
I’d love to see an “export transcript” option. Being able to quickly save sessions as Markdown or plain text (or download JSONL) would make it much easier to share examples, create docs, and debug with teammates.
@udaykumar1997 While I agree that something built in for that sort of thing could be a better UX; we can achieve a fair bit of those features currently by finding the appropriate .jsonl file and then processing it with jq or similar.
I've got some tooling that I was iterating on the other week for this, but haven't yet actually finalised and committed it to my dotfiles:
⇒ codex-chat --help
usage: codex-chat [-h] [--list [COUNT]] [--latest] [--search SEARCH]
[--prompt-count PROMPT_COUNT] [--include-empty]
[--view {messages,transcript}] [--transcript] [--show-noise] [--no-pager]
[--utc] [--color {auto,always,never}] [--no-color] [--root ROOT]
[session]
List and view Codex session transcripts.
Positional Arguments:
session Index, substring, or path to open.
Optional Arguments:
-h, --help show this help message and exit
Session Selection:
--list [COUNT] List recent sessions and exit (default COUNT=15; use 0 for all).
--latest Open the most recent session.
--search SEARCH Only include sessions whose contents match this ripgrep pattern.
--prompt-count PROMPT_COUNT
Number of recent sessions to show when prompting interactively
(default: all).
--include-empty Include setup-only sessions in listings and pickers.
Viewing Options:
--view {messages,transcript}
Interactive view mode (default: per-message browser).
--transcript Alias for --view transcript.
--show-noise Include system instruction messages instead of summarising them.
Output Formatting:
--no-pager Do not invoke $PAGER; print directly.
--utc Display timestamps in UTC.
--color {auto,always,never}
Color output mode (default: auto).
--no-color Disable color output (equivalent to --color=never).
Configuration:
--root ROOT Codex sessions directory (default: ~/.codex/sessions).
That said, while I haven't personally used this next tool, I saw it mentioned on another issue recently, and in many ways seems to have similar features to what the tool I was building has as well:
Fast TUI to browse Codex logs and jump straight into any session.
Codexer is a Textual-based terminal UI for browsing and searching coding-assistant session logs (Codex/Claude/other JSONL transcripts). It lets you filter by keywords, restrict to a specific working directory, and jump through sessions with a colorful, keyboard-friendly interface.
I think ultimately something built directly into codex itself that solves the sort of thing that my tool or codexer are doing would be ideal; but for now at least there are some workarounds.
Another adjacent (and narrow) use case I'd love is "export to github gist". I often use github gists to share code snippets with team members and find myself doing the same with codex sessions (ie. copy codex session text from terminal -> paste it into github gist -> share link). I'd love if codex could do this E2E with a slash command (ie. create a github gist with the gh cli and just give me the link to share).
For a full-session alternative while this is tracked: I'm the author of Clean My Agent, which reads Codex session files and exports complete conversations to Markdown — not just individual messages.
Export to file is fast but problematic for headless environments
My take on this is that ultimately the Transcript functionality is underpowered (slow, impossible to search) but ultimately the right place for this functionality. So it should be fixed/improved.
Same here, I was searching something like ctrl+o followed by v in Claude Code. I'd appreciate most if the transcript mode opened by ctrl+t would allow pressing ctrl+g from there, and then sends everything as it's already available in the TUI pager to $VISUAL and $EDITOR by temp file or similar.
@etraut-openai I tested this feature in codex-cli 0.148.0-alpha.22. I resumed a long session and ran /export from the main thread. The filename selection worked but as soon as I hit ENTER codex just sat there for ~4 minutes while it exported a ~200MB file.
The /export command help says it export[s] the conversation as markdown but in fact it exports the entire session, across multiple conversations (compactions). The process either needs to get faster or we need a follow-up option to export only the past X conversations.
Codex needs a visual indicator for long processes to differentiate hangs from long waits. Providing an ETA or percent-done indicator would be best. It doesn't have to be perfect; we just need to know if the wait is closer to 2 minutes or 20 minutes...
I just checked, the session is 6 days old and contains 124 compactions.
Activity
dlukt commentedon Aug 29, 2025
You can tell it to do that, e.g. keep a summary of changes in a separate directory per change, auto commit and push and close corresponding issues etc. Also add comments to issues etc. It does it very well
My "question" was:
0xdevalias commentedon Aug 30, 2025
@dlukt Sure; but my need is not a systemic 'keep a running log of things' so much as it is a "oh, that is useful and I want to go and manually keep that fragment somewhere for future reference"; and it feels somewhat inefficient to burn tokens/LLM inference cycles on that when a comparatively 'cheap' / efficient 'copy as markdown' could be implemented in the TUI / similar.
udaykumar1997 commentedon Sep 18, 2025
Thanks for opening this — I’d love to see an “export transcript” option. Being able to quickly save sessions as Markdown or plain text (or download JSONL) would make it much easier to share examples, create docs, and debug with teammates.
0xdevalias commentedon Oct 3, 2025
@udaykumar1997 While I agree that something built in for that sort of thing could be a better UX; we can achieve a fair bit of those features currently by finding the appropriate
.jsonlfile and then processing it withjqor similar.I've got some tooling that I was iterating on the other week for this, but haven't yet actually finalised and committed it to my dotfiles:
⇒ codex-chat --help usage: codex-chat [-h] [--list [COUNT]] [--latest] [--search SEARCH] [--prompt-count PROMPT_COUNT] [--include-empty] [--view {messages,transcript}] [--transcript] [--show-noise] [--no-pager] [--utc] [--color {auto,always,never}] [--no-color] [--root ROOT] [session] List and view Codex session transcripts. Positional Arguments: session Index, substring, or path to open. Optional Arguments: -h, --help show this help message and exit Session Selection: --list [COUNT] List recent sessions and exit (default COUNT=15; use 0 for all). --latest Open the most recent session. --search SEARCH Only include sessions whose contents match this ripgrep pattern. --prompt-count PROMPT_COUNT Number of recent sessions to show when prompting interactively (default: all). --include-empty Include setup-only sessions in listings and pickers. Viewing Options: --view {messages,transcript} Interactive view mode (default: per-message browser). --transcript Alias for --view transcript. --show-noise Include system instruction messages instead of summarising them. Output Formatting: --no-pager Do not invoke $PAGER; print directly. --utc Display timestamps in UTC. --color {auto,always,never} Color output mode (default: auto). --no-color Disable color output (equivalent to --color=never). Configuration: --root ROOT Codex sessions directory (default: ~/.codex/sessions).That said, while I haven't personally used this next tool, I saw it mentioned on another issue recently, and in many ways seems to have similar features to what the tool I was building has as well:
I think ultimately something built directly into
codexitself that solves the sort of thing that my tool orcodexerare doing would be ideal; but for now at least there are some workarounds.tsingyu42 commentedon Oct 12, 2025
Yep, it would be great if there were something like
/exportin Claude Codesaahityaedams commentedon Nov 26, 2025
Another adjacent (and narrow) use case I'd love is "export to github gist". I often use github gists to share code snippets with team members and find myself doing the same with codex sessions (ie. copy codex session text from terminal -> paste it into github gist -> share link). I'd love if codex could do this E2E with a slash command (ie. create a github gist with the gh cli and just give me the link to share).
Damecek commentedon Nov 26, 2025
afaik you should be able to do this once the thread is saved in file via
gh gist create ~/.codex/sessions/2025-22-11.mdshayne-snap commentedon Dec 31, 2025
@Damecek @saahityaedams @0xdevalias @udaykumar1997 you can give
wayloga try.repo:https://github.com/shayne-snap/waylog-cli?tab=readme-ov-file#-installation
15 remaining items
KernelBypass commentedon May 31, 2026
Github Copilot has both "Copy" (single message) and "Copy All" (Entire thread copied to clipboard as markdown).
It works great!
Please implement that. It's such an essential feature.
blain3white commentedon Jun 9, 2026
For a full-session alternative while this is tracked: I'm the author of Clean My Agent, which reads Codex session files and exports complete conversations to Markdown — not just individual messages.
cowwoc commentedon Jun 10, 2026
My take on this is that ultimately the Transcript functionality is underpowered (slow, impossible to search) but ultimately the right place for this functionality. So it should be fixed/improved.
feat(tui): add raw scrollback mode (openai#20819)
fcnjd commentedon Jun 30, 2026
Same here, I was searching something like ctrl+o followed by v in Claude Code. I'd appreciate most if the transcript mode opened by ctrl+t would allow pressing ctrl+g from there, and then sends everything as it's already available in the TUI pager to $VISUAL and $EDITOR by temp file or similar.
yosun commentedon Jul 15, 2026
sorta surprised even codex cloud doesn't have a share link
deepakmodidev commentedon Jul 26, 2026
any update on this, maintainers !
etraut-openai commentedon Aug 6, 2026
/copyand a configurable copy shortcut copy the latest response as Markdown.etraut-openai commentedon Aug 7, 2026
A new
/exportcommand will be included in the next release.StephenCarboni commentedon Aug 15, 2026
What happened to this? I've got no
/exportcommand.etraut-openai commentedon Aug 15, 2026
It will be included in 0.148.0. If you want to try it now, you can install 0.148.0-alpha.19.
cowwoc commentedon Aug 18, 2026
@etraut-openai I tested this feature in codex-cli 0.148.0-alpha.22. I resumed a long session and ran
/exportfrom the main thread. The filename selection worked but as soon as I hit ENTER codex just sat there for ~4 minutes while it exported a ~200MB file./exportcommand help says itexport[s] the conversation as markdownbut in fact it exports the entire session, across multiple conversations (compactions). The process either needs to get faster or we need a follow-up option to export only the past X conversations.I just checked, the session is 6 days old and contains 124 compactions.