claumport
v0.3.4
Published
Safely share local Claude Code sessions between Claude Desktop accounts
Readme
Claumport
Claumport moves local Claude Code sessions between Claude Desktop accounts and computers.
It exports selected projects and sessions into one portable .claumport bundle. Import restores selected sessions into the current Claude Desktop account with fresh identities, so existing sessions and project files are not overwritten.
Install
From npm
Requirements: Node.js 18 or newer.
npm install --global claumport
claumportOr with pnpm:
pnpm add --global claumport
claumportTo update later:
npm install --global claumport@latestFrom source
Requirements: Node.js 18 or newer, pnpm, Claude Desktop, and Claude Code local sessions.
git clone https://github.com/aybinv7/claumport.git
cd claumport
pnpm install
pnpm build
pnpm link --global
claumportTo update a source installation later:
git pull
pnpm install
pnpm buildStart
Run Claumport with no arguments for keyboard navigation:
claumportUse arrow keys to move, Space to toggle batch selections, Enter to continue, and type to filter longer lists.
Main areas:
- Accounts: inspect local account partitions and give them friendly names.
- Sessions: browse projects, export one bundle, import a bundle, or inspect saved archives.
- Archive library: view portable bundles kept by Claumport.
Direct commands and flags remain available for scripts.
First-time account names
Claude Desktop stores session partitions with opaque UUIDs. Claumport does not depend on private browser/auth storage to recover email addresses. Name each local account once instead:
claumport accounts labelExamples: Work — [email protected], Personal.
Labels are saved locally in C:\Users\<you>\.claumport\accounts.json and appear in Claumport selectors and lists.
Export sessions
claumport sessions exportFlow:
- Choose source account and Claude workspace.
- Select one or more projects.
- Select one or more sessions inside each project, or choose all.
- Claumport creates one
.claumportbundle for everything selected. - Copy, upload, or send that one bundle.
Exported bundles are stored in:
C:\Users\<you>\.claumport\exportsClaumport prints a clickable bundle path where terminal links are supported. Choose the Explorer prompt, or use --reveal, to open its location:
claumport sessions export --all --revealIf a bundle filename already exists, Claumport asks whether to replace it. Choosing No creates a numbered new filename. Use --overwrite only when replacement is intended.
Useful export flags:
claumport sessions export --all
claumport sessions export --session <id> --session <id>
claumport sessions export --output .\team-handoff.claumport
claumport sessions export --output .\team-handoff.claumport --overwriteImport sessions
Put a received .claumport bundle in C:\Users\<you>\.claumport\exports, then run:
claumport sessions importFlow:
- Claumport reads the active Claude Desktop account automatically.
- Choose a saved archive, or drag and drop a received
.claumportfile into the terminal. - Files selected from another location are copied into the local archive library.
- Choose one or more source projects and sessions. One bundle can import many sessions.
- Choose a destination. Importing a single project asks for that project's local folder (and offers the recorded source path when it still exists on this device). Importing multiple projects asks once for a root folder, then creates one subfolder per source project underneath it.
- Review the session count and destination mapping, then confirm.
You can import a bundle directly from another location too:
claumport sessions import "C:\Users\<you>\Downloads\friend-handoff.claumport"For one known destination project:
claumport sessions import .\team-handoff.claumport --target "C:\code\recipient-project" --yesImports create fresh Claude session/message IDs and rewrite transcript working directories to selected destination folders. Existing project files are untouched.
Switching accounts on one computer
Local Claude Code transcripts usually remain after logout. Claumport lists local account partitions even when another account is active:
claumport sessions listYou do not need to export before logout if sessions remain locally available. Export a bundle whenever you want a portable backup or need sessions to appear in another account/device.
New bundles record their source account. During interactive import, bundles from the currently active account are disabled to prevent pointless self-imports. Log into Account B, then import an export created while using Account A.
Archive library
claumport sessions archivesThe guided Archive library menu can import saved sessions, add a received file, or browse bundle details. The command above prints saved bundles grouped by file. Archive library location:
C:\Users\<you>\.claumport\exportsCompleted imports are recorded locally in:
C:\Users\<you>\.claumport\operationsReimporting a session already recorded for the same account and destination folder does not fail the batch. Claumport asks, per session: override (import again with the same title), import with a new name, or skip. Pass --allow-duplicate to pre-approve every duplicate in the batch without being asked.
Safety and privacy
- Bundles are versioned and include per-session SHA-256 checksums.
- Export and import stream transcript data; large sessions are not loaded fully into memory.
- Import verifies transcript checksums before publishing sessions.
- Destination metadata is written last and atomically.
- Claumport never exports authentication, cookies, Claude account settings, or remote Cowork data.
- Bundles can contain prompts, source code, terminal output, file contents, and secrets. Treat every
.claumportfile as sensitive data.
Scope
Claumport supports local Claude Code sessions surfaced by Claude Desktop. Remote Cowork sessions remain account-scoped on Anthropic services. Legacy local Cowork VM sessions use another format and are excluded.
Development
pnpm install
pnpm testDo not use npm in this project.
