{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "xhluca-session-migrate--find-old-session-by-title-and-move-to-pi",
 "repo": "xhluca/session-migrate",
 "repo_url": "https://github.com/xhluca/session-migrate",
 "repo_slug": "xhluca-session-migrate",
 "title": "Find an old session by title and move it to Pi",
 "page_title": "How to find an old session by title and move it to Pi with Session Migrate",
 "summary": "Search the session catalog by title or name, then transfer the match into Pi.",
 "who": "A developer who remembers the topic of an older agent conversation but not its ID, and wants to continue it in Pi.",
 "problem": "Native clients list sessions by ID or picker entry, so finding one from months ago means scanning many files by hand.",
 "outcome": "The matching session is found by keywords and copied into Pi as a new resumable 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."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "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": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/xhluca-session-migrate/find-old-session-by-title-and-move-to-pi/",
 "md": "https://dedupedai.com/use-cases/xhluca-session-migrate/find-old-session-by-title-and-move-to-pi/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--find-old-session-by-title-and-move-to-pi.json",
 "api_version": "v1"
}
