{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "xhluca-session-migrate--agent-runs-session-migration-from-procedure",
 "repo": "xhluca/session-migrate",
 "repo_url": "https://github.com/xhluca/session-migrate",
 "repo_slug": "xhluca-session-migrate",
 "title": "Have a coding agent run the migration for you",
 "page_title": "How to have a coding agent run the migration for you with Session Migrate",
 "summary": "Give the procedure link to your coding agent and let it move the session.",
 "who": "A developer working inside Claude Code or Codex who wants the agent to run the migration with a fixed, tested procedure.",
 "problem": "Writing the exact migration commands and checking their output by hand takes time and invites small mistakes.",
 "outcome": "The coding agent follows the published procedure, runs the transfer for the chosen session, and reports the new target session.",
 "steps": [
  "Pick the source client, the target client, and the session UUID or title.",
  "Open the project website at https://session-migrate.github.io/ to choose the route.",
  "Give your coding agent this instruction, replacing the bracketed values: \"Follow https://session-migrate.github.io/llms.txt to migrate a session from `[SOURCE]` to `[TARGET]`. Session: `[UUID OR TITLE]`\"",
  "Read the agent's report and confirm the new target session identifier.",
  "Resume the migrated session in the target client."
 ],
 "agent_prompt": "Follow https://session-migrate.github.io/llms.txt from the xhluca/session-migrate project to migrate the session <UUID OR TITLE> from <SOURCE> to <TARGET>. Report the new session identifier and the manifest summary. Verify that the report states the source session was not modified and lists any omitted data.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Beginner",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says the linked procedure is sandbox-tested with Claude Code and Codex only, so other agents may need closer supervision.",
 "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": [
  {
   "tag": "remote-script",
   "notice": "The agent fetches and follows a procedure from a remote URL, so review the linked steps before letting it run commands on your machine."
  }
 ],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/xhluca-session-migrate/agent-runs-session-migration-from-procedure/",
 "md": "https://dedupedai.com/use-cases/xhluca-session-migrate/agent-runs-session-migration-from-procedure/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--agent-runs-session-migration-from-procedure.json",
 "api_version": "v1"
}
