claude-transplant CLI

claude-transplant moves Claude Code sessions between Claude Desktop accounts so the sidebar stays full after a switch.

  • 54 ★ on the repository
  • Last commit
  • MIT
CLI

Extended access

Why this level

  • It edits local Claude Desktop files and with `--cloud` archives Remote Control cloud copies.
  • The move touches several of your accounts and needs a Desktop restart.
All reasons and checks

vitaliyhayda/claude-transplant

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add cli/claude-transplant

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • It edits local Claude Desktop files and with `--cloud` archives Remote Control cloud copies.
  • The move touches several of your accounts and needs a Desktop restart.

This is third-party code. Review the repository files before installing.

What it does

claude-transplant solves one problem: after switching accounts in Claude Desktop the Code sidebar is empty although history is intact. Desktop stores each Claude Code session under the account and organization that created it. The utility moves local session records to the chosen account: transcripts stay on disk, ids are kept, nothing is copied and `undo` reverses the move. It runs as a menu bar app (`npx claude-transplant menubar`) or as a CLI. Sessions with a running Desktop worker wait for a restart approval. The `--cloud` flag also archives the source account's Remote Control copies after verification. macOS only.

Who it is for. Claude Desktop users with several accounts, such as work and personal, who need the same Claude Code sessions in one place.

Good fit when

  • After signing in to a personal account the Code sidebar is empty and the sessions stayed in the work one.
  • Old sessions from several accounts must be gathered into one.
  • A move was wrong and needs to be reversed.
  • You want to see in advance how many records will move and how many are already there.

Not a fit when

  • You work on Windows or Linux.
  • Only the CLI login must change, not the Desktop sidebar.
  • Working chats are open and Claude Desktop cannot restart.

Example request

Move my Claude Code sessions from the work account to the personal one and show the verification result.

Limitations

It works only on macOS and is unofficial: the project is not affiliated with Anthropic. Node.js 22 or newer is required, and the menu bar app also needs the Xcode command line tools (`xcode-select --install`). The utility edits local Claude Desktop files whose format may change with an app update. A move with `--cloud` touches Remote Control cloud copies, so make a backup and test `undo` first.

How to disable. Quit the menu bar app and remove the global package with `npm uninstall -g claude-transplant`. Move receipts live in `~/Library/Application Support/claude-transplant/`.

FAQ

How do I start it?

Run `npx claude-transplant menubar` for the menu bar app or `npx claude-transplant` for the CLI. Pick sources and a target account and click Move.

What happens to transcripts?

They stay on disk, session ids are kept and nothing is copied. Only Desktop records change.

Can a move be undone?

Yes, `undo` reverses the whole move, and a receipt with the result sits in `Application Support`.

What about open chats?

Sessions with a running worker wait for your restart approval or stay behind until you choose to move the rest.

What does the --cloud flag do?

After the local session verifies, it archives the source account's Remote Control cloud copies.

Discussion

No questions or reviews yet.

CLI tools

A macOS CLI that creates isolated Claude Desktop and Claude Code profiles, each with its own login, chats, settings and icon.

CLIExtended access199Repository stars
Needs a VPN

A Linux and macOS CLI that keeps a separate Claude Code profile per account and switches work, personal and SSO in one command

CLIExtended access79Repository stars

claude-sync encrypts and syncs Claude Code sessions between computers through R2, S3, GCS or WebDAV.

CLIExtended access324Repository stars

A Claude Code plugin that replaces auto-compact: it writes a handoff brief, clears the session and continues from it

PluginExtended access125Repository stars

A terminal UI to browse and bulk delete Claude Code sessions together with project memory notes.

CLIExtended access62Repository stars

A local dashboard over the .claude folder shows where Claude Code context goes and draws the chain of subagent calls over time.

CLIExtended access77Repository stars

README in short

A move comes with an inventory, a check that messages are unchanged and a receipt. Unlike copying, history follows you and each session belongs to one account.

README badge

Report a problem