Claude Code session
Session Migrate
Migrate coding agent sessions across 18 harnesses (Claude Code, Codex, Pi, OpenCode, Copilot, Antigravity, Vibe, Muse, Qwen, Kimi, Cursor, etc.)
Install
uv tool install session-migrateFound in the project README. Check it for setup steps after installing.
git clone https://github.com/xhluca/session-migrate.gitFrom the README
Migrate your sessions to any harness.
Move coding agent sessions among Claude Code,
Codex, Pi, Oh My Pi,
OpenCode,
GitHub Copilot CLI, Antigravity CLI,
Cursor Agent, Mistral Vibe,
Muse Code, Qwen Code, and
Kimi Code, Grok,
Kilo Code, OpenHands,
Hermes Agent, MastraCode, and
Devin.
Install
Or install with uv:
pipx install session-migrate works too. Python 3.11+ and Linux are currently
supported. The full command is session-migrate; smigrate is the shorthand.
Already installed? Run uv tool upgrade session-migrate.
Quick start
Inspect any native transcript without printing its conversation:
Move a Claude session into Codex and resume it from the same project directory:
Or find an older session by its native title/name first:
Search is case-insensitive and every word must match, in any order. It searches
native titles, names, and IDs—not conversation bodies. A few useful patterns:
catalog refresh is exhaustive inside the default, environment-selected,
registered, and explicitly discovered roots. It does not crawl your whole disk.
Give it to your coding agent
Choose the route on the project website,
or replace the three bracketed values yourself:
Follow https://session-migrate.github.io/llms.txt to migrate a session from
[SOURCE] to [TARGET]. Session: [UUID OR TITLE]
The linked procedure is sandbox-tested with both Claude Code and Codex. See the
agent workflow and verification.
Compatibility
Claude Code
Codex
Pi
Oh My Pi
OpenCode
Copilot
Antigravity
Mistral Vibe
Muse Code
Qwen Code
Kimi Code
Grok
Kilo Code
OpenHands
Hermes Agent
MastraCode
Devin
Cursor*
Every listed format can be a source or target: 324 ordered routes, including
same-format portable rewrites. Cursor…Details
- Repository
- xhluca/session-migrate
- Website
- session-migrate.github.io
- Language
- Python
- License
- MIT
- Last updated
- 19 October 2026
- Topics
- ai-agentsantigravityclaude-codecodex-clicoding-agentscopilot-clicursor-agentkimi-codemistral-vibemuse-codeopencodepi-coding-agent
FAQ
What is Session Migrate?
Migrate coding agent sessions across 18 harnesses (Claude Code, Codex, Pi, OpenCode, Copilot, Antigravity, Vibe, Muse, Qwen, Kimi, Cursor, etc.) It is a session for Claude Code, from xhluca/session-migrate on GitHub.
How do I install Session Migrate?
Run uv tool install session-migrate, then follow the setup in the README.
Is Session Migrate popular?
xhluca/session-migrate has 169 GitHub stars and 22 forks. It was last updated on 19 October 2026.
More sessions & history
Cchistory
140eckardt/cchistory
Like the shell history command but for your Claude Code sessions.
Cortex
173hjertefolger/cortex
Persistent local memory for Claude Code. Longer sessions. Cross-session recall. Zero cloud.
MemoSync
206SLEEPYBQ/MemoSync
Co-manage memory with your coding agent across sessions. A local workbench for Claude Code, Codex and Pi.
GUI Anything
217YurunChen/GUI-Anything
GUI-Anything is a dual-pane Flow Observer for Claude Code. It watches live JSONL sessions, visualizes exploration as timelines and flowcharts, and curates on-demand project wiki knowledge without interrupting the coding flow.
Dsh Rewind
237SiriLee/dsh-rewind
DSH 插件:便捷无感的同窗口内对话回退,从不新建分支;自带轻量工作区备份,可一并还原文件(Claude Code /rewind 语义)。 · DSH plugin: effortless in-window conversation rewind — never forking a new session; ships a lightweight workspace backup that restores files together with the rewind (Claude Code /rewind semantics).
M5 Paper Buddy
164op7418/m5-paper-buddy
Claude Code physical companion on M5Paper V1.1 e-ink. Multi-session dashboard, hardware approval (buttons + touch), AskUserQuestion option cards, CJK, USB/BLE, installable as a Claude Code plugin. / Claude Code 实体搭档,把 M5Paper 变成 Claude Code 的多会话看板 + 硬件审批面板。
Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.