Import Claude Code and Codex history
Open a project's menu, choose Import Claude Code and Codex history, tick the conversations you want and press Import. Each one arrives as a quiet session holding its text. Nothing is spent until you send one of them a message.
On this page
What it is
The import lists the conversations you had in Claude Code or Codex in that project's folder. Each one you tick becomes a quiet session in the project, holding the text of the conversation.
Where to find it
- Switch it on: Settings → Lab → Import Claude Code and Codex history (off by default while it is in development).
- Start an import: right-click a project (or open its ⋯ menu) → Import Claude Code and Codex history. Only projects with their own folder on this computer show the item.
- Only on this computer. The phone, the web dashboard and agents cannot start an import.
How it behaves
What it reads, and what it never reads
- Claude Code: only the conversation files in Claude Code's
projectsfolder (including a relocated Claude folder). Never the sign-in file, settings or anything else in the Claude folder. - Codex: only the dated conversation files in Codex's
sessionsfolder (orCODEX_HOME). Neverauth.jsonorconfig.toml. - Only this project's folder: a conversation is listed only when its own records say it was started in exactly that folder, not a sub-folder or a worktree.
- Your files are never changed. The import only reads them.
What comes in
- Who said what, and when, for each turn. Tool calls, tool results, command output, images and hidden reasoning stay out, and pasted keys are scrubbed the same way as any message in the app.
- Very long conversations keep the opening request and the most recent turns; the list says how many earlier turns were left out. The full conversation stays in its original tool.
- Each imported session is named after the tool's own title, or "Claude Code conversation, date" or "Codex conversation, date". It shows an Imported from Claude Code / Codex chip and opens with a note saying where it came from and how it will continue.
- Importing the same conversation twice brings in nothing new. A session you delete shows as You deleted this next time and comes back only if you tick it again.
What it costs
Nothing. An import makes no model calls and starts no engine. An imported session waits, quietly, until you send it a message from this computer; nothing else can start it, whichever engine it is on: not Restart (from the app or a script), not Continue on a paused one, not an automatic continue, an agent's message, a scheduled send, an aside, the phone or a compaction. Those are turned away with a plain sentence and leave nothing in the imported conversation. Switching its engine before your first message keeps the imported text framed as an import.
How a conversation continues
- Claude Code: your first message carries on the original conversation on a branch, from the project folder, so Claude keeps its full memory of it. The original in Claude Code is left exactly as it was, so you can still continue it in a terminal.
- Codex: your first message starts a new Codex conversation that is handed the imported text as reference. Codex does not remember the original tool work.
- If the original is gone: if Claude Code no longer has the conversation, the session says so and continues the Codex way, from the imported text. If the project folder is missing, the session says so and does not run until you recreate the folder or point the project at it.
Limits
- Only conversations started in exactly the project's folder are listed.
- One import per project at a time; you can stop the search or the import while it runs, and the end count says how many a stop left out.
- Projects in a shared workspace do not offer an import.
- The search looks at Codex's newest 5,000 conversation files at most and says when it stopped there.
- Very large files, unreadable files and Codex helper threads are skipped and counted.
- Import records stay on the machine that made them: after restoring a backup on another computer, Codex conversations and deleted imports may be offered again.
Related
- Session goal, for what a session is working toward once you continue an imported one.
- Switching providers, for moving a session between engines (an imported session's engine can be switched before your first message).
Last verified 2026-10-26