Search and read local Codex session archives through the codex-threads CLI.
Use this when you need to find an old Codex thread, resolve the right session id, or read a cleaned thread without re-feeding raw archive noise.
command -v codex-threads
codex-threads --json doctor
codex-threads --json sync
codex-threads --json messages search "build a CLI" --limit 20
codex-threads --json threads resolve "tweet idea" --limit 20
threads recent when you want the latest work in one repo.codex-threads --json threads recent --limit 10 --project opensource
codex-threads --json threads read <session-id>
codex-threads --json events read <session-id> --limit 50
.jsonl files directly unless the CLI output is insufficient.threads resolve is exact; use the returned session_id with threads read.threads read --raw unless you actually want pasted skill blobs and large context blocks.--json.