Who it is forA developer who remembers the topic of an older agent conversation but not its ID, and wants to continue it in Pi.
The problemNative clients list sessions by ID or picker entry, so finding one from months ago means scanning many files by hand.
The outcomeThe matching session is found by keywords and copied into Pi as a new resumable session.
What you need first
- 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
Steps
- Install the CLI with
uv tool install session-migrate. - Build the index with
smigrate catalog refresh. - Search with
smigrate catalog search "oauth refresh" --format claude, replacing the keywords with your own. - Transfer the match with
smigrate transfer --title "oauth refresh" --from claude --to pi. - Open the migrated session in Pi from its session list.
Prompt for your agent
Use the xhluca/session-migrate repo to run `catalog refresh`, then search for the keywords <TITLE KEYWORDS> in Claude Code sessions and transfer the best match to <TARGET> (pi). Report the matched title and the new session identifier. Verify that the search matched only native titles, names, or IDs and that the transfer output lists the new Pi session.
Caveat. The README says search covers native titles, names, and IDs but not conversation bodies, and that catalog refresh does not crawl the whole disk, so sessions outside the default or registered roots will not appear.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for xhluca/session-migrate and "Find an old session by title and move it to Pi"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer