{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "xhluca-session-migrate--move-claude-session-to-codex",
 "repo": "xhluca/session-migrate",
 "repo_url": "https://github.com/xhluca/session-migrate",
 "repo_slug": "xhluca-session-migrate",
 "title": "Continue a Claude Code session in Codex",
 "page_title": "How to continue a Claude Code session in Codex with Session Migrate",
 "summary": "Transfer a Claude Code session into Codex and resume it in the same project directory.",
 "who": "A developer who started a task in Claude Code and wants to continue it in Codex without re-explaining the context.",
 "problem": "Switching coding agents usually loses the conversation history and the work already done in the earlier session.",
 "outcome": "A new native Codex session with the earlier messages and tool results, which the developer can resume from the project folder.",
 "steps": [
  "Install the CLI with `uv tool install session-migrate`.",
  "Find the Claude Code session UUID you want to move.",
  "Run `smigrate transfer SESSION_UUID --from claude --to codex --cwd \"$PWD\"` from the project directory.",
  "Note the NEW_SESSION_UUID that the transfer prints.",
  "Resume the session with `codex resume NEW_SESSION_UUID`."
 ],
 "agent_prompt": "Use the xhluca/session-migrate repo to transfer the Claude Code session with UUID <SESSION_UUID> to <TARGET> (codex) using --cwd set to the current project directory. Report the new session UUID the command prints. Verify that the report includes a new target session ID and that the source Claude transcript was not modified.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says same-format or cross-format migration creates a new independent session, not a live sync, so later edits in one client will not appear in the other.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Linux with Python 3.11+ (the README lists these as the currently supported platform)",
  "uv or pipx to install the CLI",
  "A native session file from the source client, such as a Claude Code JSONL transcript",
  "The target client installed locally, for example Codex, to resume the migrated session"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The transcript is copied into a new session file; check that it holds no secrets you do not want in the Codex session store, since auth and config stay with the source client but conversation text moves."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/xhluca-session-migrate/move-claude-session-to-codex/",
 "md": "https://dedupedai.com/use-cases/xhluca-session-migrate/move-claude-session-to-codex/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/xhluca-session-migrate--move-claude-session-to-codex.json",
 "api_version": "v1"
}
