Misty-Star

Agent Session Migrator — Development skill for Claude Code

Development community

Read Claude Code, Codex, and Grok sessions and hand them off to another agent.

How to install Agent Session Migrator

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Misty-Star/agent-session-migrator and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agent Session Migrator does

Read Claude Code, Codex, and Grok sessions and hand them off to another agent.

Alternatives in Development

  • Create Handoff — You are tasked with writing a handoff document to hand off your work to another agent in a new session 10k ★
  • Harness Remote — Native-session control plane for Codex, Claude Code, OpenCode, OMP and PI 356 ★
  • Mobius — Agent Session Hub: search, cite, resume and hand off local Claude Code, Codex, OpenCode, Pi, Grok and OMP sess 58 ★

README

agent-session-migrator

Read your local Claude Code, Codex, and Grok sessions and hand one off to a different agent — read-only, offline, no transcript uploads.

![Node](https://img.shields.io/badge/node-%3E%3D20-3c873a) ![TypeScript](https://img.shields.io/badge/TypeScript-5.7-3178c6) ![Version](https://img.shields.io/badge/version-0.4.0-blue)

[English](README.md) | [简体中文](docs/README.zh-CN.md)

![agent-session-migrator](docs/images/hero.jpg)

You hit a wall in one coding agent and want to continue in another. The context lives in a JSONL transcript on your disk, but pasting it by hand loses the goal, the files, and the last thing you asked for. `asm` reads those transcripts, normalizes them into one shape, and produces a handoff prompt you can copy, save, or pipe straight into the other agent's CLI.

$ asm list
claude   764c9b37-d923-4748-bcf8-f4d19da2a1b6   Fix flaky retry test    2026-09-02T09:58:28.922Z
grok     01a05c58-159f-7330-8641-326d77e47489   Restyle web frontend    2026-09-02T09:53:20.247Z

$ asm migrate "Fix flaky retry" --to codex
/tmp/asm-handoff-1788343763053.md   Fix flaky retry test

Features

  • Three sources, one shape. Claude Code, Codex, and Grok transcripts parse into a single session IR — same fields, same tool-call model, regardless of origin.
  • Read-only by construction. Native session stores are never written. Target agents get a fresh process and a prompt, never a patched JSONL row.
  • Handoff modes that fit a prompt. brief distills goal, last request, environment, files split by whether they were written or only read, and failed tool calls. recent adds the last N turns. full dumps everything to a file.
  • Direct spawn. --to claude|codex|grok launches the target CLI with the handoff on stdin, and refuses anything over 32 KiB instead of truncating silently.
  • Localhost web browser. asm web serves a two-column session reader on 127.0.0.1 behind a per-run random token.
  • **Resolve sessions t