Cowork locks the model for the life of a session. cowork2code moves the whole session — conversation, files, and MCP servers — into Claude Code, where the model is just a flag. Pick the thread back up on any model you want.
One line, the CLI's on your PATH. Want the MCP server too? git clone … && ./install.sh
The essential idea
A Cowork session is a working environment, not just a chat log. cowork2code carries all of it into Claude Code — and never touches the original.
Re-homed as a native Claude Code session you resume with claude --resume on any model.
The session's outputs/ and memory/ are copied into your target directory.
Written to a ready-to-use .mcp.json so Claude Code reconnects them automatically.
Already shared with Claude Code on your machine — available the moment you resume. The sidecar records which the session used.
How it works
It isn't a converter. A Cowork session already stores its transcript in Claude Code's own format — cowork2code re-homes it, rewrites the paths, and hands you the resume command.
Two ways to drive it
For you. List your sessions, then re-home one into a working directory.
For an agent. Ask Claude Code in plain language; it does the migration for you.