Preserving Context When Moving from ChatGPT to Codex CLI A developer built chatgpt2codex, a CLI tool that imports shared ChatGPT conversations into local Codex CLI sessions. The tool preserves context from ChatGPT discussions, allowing developers to resume work in Codex CLI without manually copying content. It writes session files and indexes threads in Codex's local SQLite database for seamless integration. A lot of useful technical work starts as a conversation. Maybe you are exploring an architecture decision in ChatGPT. Maybe you are debugging an idea before touching the codebase. Maybe you are asking broad questions first, then moving into a local development workflow once the direction is clear. That handoff is often awkward. The context starts in ChatGPT, but the implementation happens somewhere else: a terminal, an editor, a local agent, or a repo-specific workflow. For me, that "somewhere else" is often Codex CLI. So I built a small bridge: npx chatgpt2codex https://chatgpt.com/share/