read-codex-session

Installation
SKILL.md

Read Codex Session

Export a Codex thread to clean Markdown containing user prompts and agent text. Omit reasoning, tool calls, tool output, injected context (AGENTS.md, environment, skills), and token accounting by default.

Locate the session

Use the bundled exporter:

python3 <skill-dir>/scripts/session_export.py --list
python3 <skill-dir>/scripts/session_export.py <thread-id-or-prefix> -o <output.md>
python3 <skill-dir>/scripts/session_export.py --latest -o <output.md>

The exporter also accepts a codex://threads/<id> link in place of the ID. --list and --latest cover sessions whose working directory is the current directory or below it. Use these overrides when needed:

# Resolve a different source project
python3 <skill-dir>/scripts/session_export.py --project /path/to/project --list
Installs
1
Repository
pionxzh/skills
First Seen
10 days ago