All of these are in codex-cli 0.163.0:
| Command | What it does |
|---|---|
codex resume | Opens a picker of sessions started in the current directory. |
codex resume --all | The same picker across every directory, with a CWD column. |
codex resume --last | Continues the most recent session without showing the picker. |
codex resume <SESSION_ID> | Continues one session by UUID or by session name. |
/resume | Inside a running Codex TUI, opens the saved-session picker. |
codex exec resume --last "..." | Continues a session non-interactively, for scripts and CI. |
codex fork | Copies a past session into a new one and continues the copy. |
Every form takes an optional prompt after the id, so you can resume and send the next message in one line:
codex resume --last "now add tests for the parser"