codex-history

Installation
SKILL.md

Codex History

Resume work started in OpenAI Codex CLI by reading its conversation history.

Data Locations

There are two history.jsonl files and, depending on Codex version, session files or SQLite state:

Source Path Content
Global prompt index ~/.codex/history.jsonl User prompts with session_id links
Per-project prompt index <project-root>/.codex/history.jsonl Same format, scoped to one repo
Session logs (legacy) ~/.codex/sessions/YYYY/MM/DD/rollout-<timestamp>-<uuid>.jsonl Full conversations
SQLite state ~/.codex/state_5.sqlite Newer storage, may contain thread data

Session files may not exist in newer versions, so prefer history.jsonl first and treat session JSONL as an optional richer source.

Workflow

Installs
12
First Seen
May 17, 2026
codex-history — arthurzakirov/agentdesk