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
I’m currently working with Codex CLI and noticed that while .codex/history files are being recorded locally, there are no built-in commands to manage or resume chat sessions—unlike tools like Claude, which support -c -r to continue conversations.
Even though I’ve configured the history section in ~/.codex/config.json like this part:
…there’s still no way to list saved sessions or resume a previous chat. This severely limits usability and session continuity in real projects.
Strongly urge adding support for features such as:
• /chat list (or codex chat list) — to display saved session tags or session IDs
• /chat resume — to reload a previous conversation context
• Or even a global option like --resume-session or --load-history to reopen the last session
Such session persistence would allow smooth continuation across restarts, recover from crashes, and improve workflows—especially for long-running tasks or when working across multiple project sessions. Without this functionality, the history files exist but are practically unusable.
Hope this feature can be prioritized—thanks for considering!
Reacted by Mark Wylde, James, Bailey Chittle, Ivan Zaitsev, Alexander Moiseev, Ryan, Maksim Veynberg, Anıl Zeybek, Pavle Dujkic, Karl Skidmore and 97 more
+1 for this issue. I use -c and -r all the time in claude code and was disappointed that I couldn't find it for codex.
Reacted by Maksim Veynberg, Micah, Tahir Fayyaz, MirzaBicer, George Lydakis, Kyeong Jun (Eric) Lee , Max, ykarapazar, Ofer, Mark Robert Miller and 35 more
@and-rewsmith, while that works in my case, the problem is inability to resume some chat. Claude Code has --resume flag, which is insanely powerful. If you worked on a feature, but want to resume some days after, you can by just resuming that chat, while Codex just is inferior at the moment
I often have the issue that my session is invalidated after I have locked my computer. I have to restart Codex to continue working.
I noticed that a session history is stored in ~/.codex/session but it seems that Codex is unable to access it.
I thought it had switched to some other method to retrieve past history. The fact that it doesn’t even provide this feature is just outrageous.
Outrageous? Womp womp 😭 It's open source buddy, get to work to add the features you want instead of getting "outraged" by an open source, generous, product. :3c
Reacted by Benjamin and iMithrellas
Reacted by Eli Smith, ArcherWang, gitanon112, mekoco, Justin Bishop, Andrew Pynch, devtools-mlv, Artem Udovyk, Tiago de Paula and Yudhiesh Ravindranath
We hear you! This is coming soon (both for the CLI and extension)
Reacted by Daniel Felix, Adam Smaka, David K, Santiago Petrone, Kevin Bluer, JulianPinzaru, Justin Bishop, Oscar Bennich-Björkman, Ashfaqur Rahaman, shtirlitsDva and 1 more
I thought it had switched to some other method to retrieve past history. The fact that it doesn’t even provide this feature is just outrageous.
Outrageous? Womp womp 😭 It's open source buddy, get to work to add the features you want instead of getting "outraged" by an open source, generous, product. :3c
I thought it had switched to some other method to retrieve past history. The fact that it doesn’t even provide this feature is just outrageous.
Outrageous? Womp womp 😭 It's open source buddy, get to work to add the features you want instead of getting "outraged" by an open source, generous, product. :3c
silence dweeb
Reacted by Benjamin
Reacted by iMithrellas, Iyan Nazarian and Tiago de Paula
I thought it had switched to some other method to retrieve past history. The fact that it doesn’t even provide this feature is just outrageous.
Outrageous? Womp womp 😭 It's open source buddy, get to work to add the features you want instead of getting "outraged" by an open source, generous, product. :3c
It is not open source as you expect people to think. This is a very mean and ignorant comment. Using this product is not free. So open source or not, the man has the right to be outraged because he is absolutely right. Without resume functionality using Codex in a coding session requires careful coordination and planning to keep context fresh. Comments like this are really not helpful and childish.
I can't believe they would ship without the ability to resume sessions. Frankly, irresponsible. I don't know why anyone would use Codex CLI with the risk of losing sessions. If I had known I never would have fired it up in the first place.
Resume has been in for a few months now.
Just type codex resume
Activity
bachittle commentedon Aug 10, 2025
+1 for this issue. I use -c and -r all the time in claude code and was disappointed that I couldn't find it for codex.
helLf1nGer commentedon Aug 24, 2025
I pressed Ctrl-Z by mistake, and couldn't resume the session, a disappointment
MMZOX commentedon Aug 25, 2025
+1 for this.
and-rewsmith commentedon Aug 26, 2025
@helLf1nGer https://www.man7.org/linux/man-pages/man1/fg.1p.html
you can just bring it back with
fgreneric commentedon Aug 27, 2025
insane to not have a resume flag
helLf1nGer commentedon Sep 1, 2025
@and-rewsmith, while that works in my case, the problem is inability to resume some chat. Claude Code has --resume flag, which is insanely powerful. If you worked on a feature, but want to resume some days after, you can by just resuming that chat, while Codex just is inferior at the moment
vladislavdonchev commentedon Sep 1, 2025
I just figured out this was missing because there is also no /login feature to change your key mid-work... So I ended up losing the entire chat.
sbaechler commentedon Sep 1, 2025
I often have the issue that my session is invalidated after I have locked my computer. I have to restart Codex to continue working.
I noticed that a session history is stored in ~/.codex/session but it seems that Codex is unable to access it.
CzsGit commentedon Sep 2, 2025
I thought it had switched to some other method to retrieve past history. The fact that it doesn’t even provide this feature is just outrageous.
eduhsuhn commentedon Sep 2, 2025
Outrageous? Womp womp 😭 It's open source buddy, get to work to add the features you want instead of getting "outraged" by an open source, generous, product. :3c
gpeal commentedon Sep 3, 2025
Duplicate of #1991
We hear you! This is coming soon (both for the CLI and extension)
Andrew-Pynch commentedon Oct 2, 2025
silence dweeb
eduhsuhn commentedon Oct 2, 2025
simone-coelho commentedon Oct 15, 2025
It is not open source as you expect people to think. This is a very mean and ignorant comment. Using this product is not free. So open source or not, the man has the right to be outraged because he is absolutely right. Without resume functionality using Codex in a coding session requires careful coordination and planning to keep context fresh. Comments like this are really not helpful and childish.
helLf1nGer commentedon Nov 9, 2025
Resume has been in for a few months now.
Just type
codex resume