Handing Off Claude Code / Codex Sessions Between Two Macs: Syncthing + session-index-viewer
2026-06-19T10:00:00+09:00
Background
The pain point is straightforward: I have two MacBooks (A and B), and I heavily use both Claude Code and Codex for work and side projects on both machines. I wanted to switch seamlessly between them and resume previous sessions at any time.
Since their actual session data is stored locally as indexable session files (while state is also tracked upstream), as long as the session files on both sides are synchronized, I can resume right where I left off from either computer. Solving the synchronization problem was the first step.
@
CheerChen
7 minute read