cc-sync: Sync history between Claude Code & Codex CLI
I’ve been using both Claude Code and Codex CLI and
wanted to resume each other’s sessions from either tool. So I built
cc-sync, a small CLI that syncs /resume history between
the two.
Claude Code stores JSONL files under ~/.claude/projects/<project-dir>/,
very straightforward.
Codex splits storage across three places: rollout JSONL files under
~/.codex/sessions/, a flat history.jsonl of user prompts, and a sqlite with
a threads table that indexes sessions for /resume.