migrate

migrate is a skill for Claude Code, Codex from langchain-ai/open-swe. It costs 72 tokens per session (821 once invoked), scanned A, original, MIT.

A workflow for moving Claude Code or Codex conversations, personal instructions, and skills from a local computer into Robin. It checks the available files first and imports only the agreed scope.

In plain words
What is it for?
Use it to migrate past agent conversations, project memories, standing instructions, and personal skills into Robin from the desktop app or command-line interface.
Why use it?
It avoids losing useful session history and preferences when changing coding-agent tools, while preventing duplicate or unrelated sessions from being imported.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Good fit Use it to migrate past agent conversations, project memories, standing instructions, and personal skills into Robin from the desktop app or command-line interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/langchain-ai/open-swe/migrate
About the project

Open SWE is an open-source software factory that gives coding tasks to an asynchronous agent, which investigates repositories, changes code, validates the results, and delivers pull requests. Engineering teams use it to automate code changes, reviews, CI follow-up, and related repository work from dashboards and connected tools.

langchain-ai/open-swe · 11,272 stars · on GitHub · langchain.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add langchain-ai/open-swe --skill migrate
Clone the repo
git clone --depth 1 https://github.com/langchain-ai/open-swe

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrate

README.md
[![agentmods](https://agentmods.dev/badge/skills/langchain-ai/open-swe/migrate/github.svg)](https://agentmods.dev/skills/langchain-ai/open-swe/migrate)
Your own site
<a href="https://agentmods.dev/skills/langchain-ai/open-swe/migrate"><img src="https://agentmods.dev/badge/skills/langchain-ai/open-swe/migrate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for migrate

Your own site · 80×15
<a href="https://agentmods.dev/skills/langchain-ai/open-swe/migrate"><img src="https://agentmods.dev/badge/skills/langchain-ai/open-swe/migrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 821 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.00821
Opus 5.5 $0.00029 $0.00328
Sonnet 5.5 $0.00014 $0.00164
Haiku 4.5 $0.00007 $0.00082

Measured 10d ago against content hash 96cc8d9a28f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

migrate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

mda/skills/migrate/SKILL.md · 51 lines

How it starts

The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrate to Robin

Everything to migrate lives on the person's machine, so this needs a run on it: a thread started from the Robin desktop app or the robin CLI. upload_session is offered only there. If it is not among your tools, tell the person to start a thread from the desktop app or CLI and ask again there; do not try to reach their machine another way.

1. Take stock, then agree a scope

Look before importing, and report what you found in a few lines: counts per agent, date range and the projects (working directories) involved.

  • Claude Code sessions: ~/.claude/projects/<project>/<session id>.jsonl. Only files directly in a project folder are sessions; skip anything under a subagents/ folder.
  • Codex sessions: ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl. The first line is session_meta, whose payload.id is the session id and payload.cwd its project. A resumed session writes a new rollout that replays the old one: keep only the newest rollout of each session id.
  • Memories and instructions: ~/.claude/CLAUDE.md, ~/.claude/projects/*/memory/*.md, ~/.codex/AGENTS.md, and any memory files under ~/.codex/. A repository's own CLAUDE.md or AGENTS.md stays in the repository, where Robin already reads it.
  • Skills: ~/.claude/skills/*/SKILL.md and ~/.codex/skills/*/SKILL.md.

Ask which sessions to import (everything, some projects, or a recent window) before uploading more than a handful. Skip sessions with no prompt the person typed.

2. Import sessions

Import in bulk: call upload_session once per agent with type (claude or codex) and no repo, branch or pr_url, then run the one loop its next_step gives over every agreed transcript of that type, on the machine. Never print an upload_token. Imports are private by default; pass visibility="workspace" only if the person asks.

A session that was already imported is skipped, so rerunning a migration adds only what is missing. A 422 means the file held no conversation; note it and move on. If the token expires partway, call upload_session again and rerun the loop. Retry other failures once, then report them by path.

Read the full file on GitHub · 51 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 51 lines · 72 tokens per session scan A 96cc8d9a28f4

Subscribe to this mod's changes

migrate is a skill published in the GitHub repository langchain-ai/open-swe (11,272 stars, last pushed today), licensed MIT. It adds 72 tokens to every session and 821 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-20.

Related

migrate compared with skills from other repositories

migrate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
migratelangchain-ai/open-sweSkill11ktodayMITA72Claude Code, Codex
google-workspacegraniet/kheishSkill20922d agoApache-2.0A40Claude Code, Codex
apple-remindersgraniet/kheishSkill20922d agoApache-2.0A17Claude Code, Codex
herdr-namespetekp/claude-code-setupSkill504d agoMITA167Codex
fetch-llm-appskimtth/azure-openai-llm-notesSkill4233d agononeA64Claude Code, Codex
activity-recordqqqqqf-q/ArkloopSkill3818d agononeA55Claude Code, Codex
himalayagraniet/kheishSkill20922d agoApache-2.0A48Claude Code, Codex