Agent skill · daymade
read-codex-history
Reads, searches, and exports local OpenAI Codex history without continuing the old task. Lists recent Codex sessions, extracts exact prompt-ledger inputs by Session, locates a rollout by verified session_meta identity, reconstructs one chronological user/assistant timeline with fork and compaction lineage, and performs bounded keyword search across live and archived rollouts. Use whenever the user asks what they told Codex, wants recent original inputs, a Codex Session ID, full prior context, fork ancestry, or evidence of what a Codex run did. For Claude Code history use read-claude-code-history.
What it needs
About 8k tokens when loaded.
What this skill does
Read Codex History Read Codex evidence only. Do not continue the old task or change its project. If the user wants execution after the read is complete, pass the verified evidence to daymade-claude-code:continue-codex-work. Codex has three different history surfaces Surface Authority Use --- --- --- <codex-home>/history.jsonl What the user submitted, keyed by Session ID and internal epoch timestamp Exact recent user-input tables state.sqlite Inventory metadata such as cwd, title, update time, and rollout path Fast listing and candidate discovery sessions//rollout-.jsonl and archivedsessions/ Full user/assistant/tool/compaction/fork event stream Session evidence, lineage, behavior audit, and keyword search Do not substitute one surface for another. A prompt-ledger row proves what was submitted, not what the Agent answered. A state DB path is only a candidate until the rollout's sessionmeta.id matches. A rollout can exist without a prompt-ledger row, and a /fork prompt can exist without a child rollout. Read references/storageandportability.md for source discovery, timestamps, writer-lock semantics, legacy Kimi compatibility, and storage failures. Read references/codexrolloutformat.md before interpreting fork snapshots, compaction, event streams, or end reasons. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills daymade/read-codex-history