Export any Codex session (~/.codex/sessions/*/.jsonl) to a clean Markdown file.
# List recent sessions (pick by number or copy the ID)
python3 scripts/export.py --list
# Export by session ID
python3 scripts/export.py <session-id> output.md
# Brief mode: user + assistant only, no tool calls
python3 scripts/export.py <session-id> output.md --brief
source=vscode) and Codex CLI (source=cli/exec)~/.codex/state_5.sqlite or the rollout filename blocks are filtered automatically--brief to strip them共 1 个版本