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.)

169 stars 22 forksSessions & history Source

Install

Install
uv tool install session-migrate

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/xhluca/session-migrate.git

From 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…
Read the full README on GitHub

Details

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

Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.