Skills Explorer Add Skills

read-codex-history

An agent skill by daymade, from daymade/claude-code-skills. Tags: analysis, documentation, history, local-workflow, search.

What it does

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.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add daymade/claude-code-skills --skill read-codex-history

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/daymade/claude-code-skills
cp -r claude-code-skills/daymade-claude-code/read-codex-history ~/.claude/skills/read-codex-history

Safety box score

Grade C, moderate risk: 37 of 100 risk points, rated 2026-10-19. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill is a read-only local-history tool for Claude Code, Codex, and Kimi stores, with a strong focus on exact verbatim inputs, session lineage, and rollback/evidence reconstruction. The main risks are broad access to private local history stores and the fact that several key implementation files were not readable in this review.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution2 (moderate)It is designed to run bundled local scripts and SQLite queries, e.g. `python scripts/reconcile_codex_inputs.py --session <exact-id> --format json` and the `scripts/prompt_cursor.py` CLI.
Network access0 (none)I found no network fetches or remote posts; the reviewed files only read local history stores and local SQLite databases.
Filesystem reach2 (moderate)It reads outside the project into home-scoped stores such as `~/.codex/history.jsonl`, `~/.claude/history-sources.json`, `~/.kimi-code/`, and `~/.claude-flow-viewer/search.sqlite`.
Secrets & credentials2 (moderate)The skill intentionally exposes exact prompt-history and session evidence; `references/storage_and_portability.md` says verbatim Codex input mode may contain "credentials or private business context."
Privilege & persistence0 (none)No sudo, services, global installs, shell startup edits, or other privilege-changing actions appeared in the reviewed files.
Instruction hijack surface1 (low)The reviewed text is highly directive, but I did not find explicit attempts to bypass confirmations, ignore higher-priority instructions, or fetch external instructions to follow.
Irreversible actions0 (none)It is read-only by design and does not send messages, deploy, publish, delete, or otherwise act on behalf of the user.
Transparency2 (moderate)Several core files could not be read, including `scripts/read_codex_session.py`, `scripts/analyze_sessions.py`, `scripts/list_local_history.py`, `scripts/reconcile_codex_inputs.py`, and `scripts/_core/text.py`, so key behavior is only partially inspectable.

Before installing

Rated 2026-10-19 by an automated review of 22 files from the skill's repository.

Source

Repository
daymade/claude-code-skills (all skills from this repository)
Path
daymade-claude-code/read-codex-history/SKILL.md
Branch
main
Updated
2026-09-20