Cable first
Uses the USB-C or Thunderbolt link when it is plugged in, then LAN, then Tailscale.
For Claude Code · Open source
Sync sessions, memory, skills and settings between your Macs, and hand long work to a Mac mini. Plain SSH and rsync, no cloud in the middle.
npm i -g @crafter/twinNewer file wins. Nothing is ever deleted on the other side.
Every day
twin pairFinds the other Mac and trusts it once.twin setupMakes it match this Mac and turns on auto sync.twin syncTwo-way, with backups kept for 14 days.twin run "fix the tests"Runs headless Claude Code on the mini.twin logs -fWatches the job live.twin fetchBrings its changes and its session back.What syncs
Never synced: credentials. Each Mac signs in on its own.
Uses the USB-C or Thunderbolt link when it is plugged in, then LAN, then Tailscale.
The mini keeps working under caffeinate. Pick the session up later with claude --resume.
Home folders do not need to match. twin translates paths on every copy.
Every command speaks --json, and twin skill teaches Claude when to delegate.