| name | codex-chat-history |
|---|---|
| description | Backup, search, and inspect Codex CLI session rollout JSONL under $CODEX_HOME/sessions (date-partitioned tree). Use for mirroring rollouts to sync storage (e.g. iCloud), listing or bounding sessions by time, profiling large JSONL before reading, or extracting user-authored messages with jq or the bundled helper script. |
Codex stores each session as append-only rollout JSONL files. The on-disk layout is stable and predictable: