ashiqfardus

Claude Sessions Sync — Development skill for Claude Code

Development community

Back up Claude Code conversations to Google Drive, OneDrive or Dropbox and resume them on another computer: Windows, macOS or Linux, even when the project lives at a different path.

How to install Claude Sessions Sync

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ashiqfardus/claude-sessions-sync and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Sessions Sync does

Back up Claude Code conversations to Google Drive, OneDrive or Dropbox and resume them on another computer: Windows, macOS or Linux, even when the project lives at a different path. Keeps the sessions Claude Code deletes.

Alternatives in Development

README

claude-sessions-sync

[![Release](https://img.shields.io/github/v/release/ashiqfardus/claude-sessions-sync)](https://github.com/ashiqfardus/claude-sessions-sync/releases/latest) [![CI](https://github.com/ashiqfardus/claude-sessions-sync/actions/workflows/ci.yml/badge.svg)](https://github.com/ashiqfardus/claude-sessions-sync/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE)

Back up your [Claude Code](https://claude.com/claude-code) conversations to any synced folder, read them as web pages, and carry on with them on another computer, even when the project lives at a different path there.

brew install --cask ashiqfardus/tap/claude-sessions   # macOS or Linux

Windows uses [Scoop](#step-1-install-the-tool) or a download. Then follow the [Quick start](#quick-start).


Why you need this

Claude Code keeps every conversation as a file on your computer:

~/.claude/projects//.jsonl

Three things go wrong with that:

  1. They exist only on that one computer. No cloud copy, nothing on your phone.
  2. They get deleted. Claude Code removes transcripts after cleanupPeriodDays, which defaults to 30 days.
  3. They are tied to a folder path. The same project at D:\work\api on one computer and ~/dev/api on another counts as two projects, so claude --resume on one cannot see the other's conversations, even if you copy the files by hand.

**Status: tested on Windows, macOS and Linux.** CI runs the full test suite on all three, and on each does a real install, a hooked push, a push with the archive unreachable, and an uninstall that must leave every other setting alone. It also reports, without failing the build, whether the scheduled sweep registered on that runner. What CI cannot tell is whether the sweep survives a logout or a reboot on a real desktop, so [reports from real macOS and Linux machines](.github/ISSUE_TEMPLATE/platform_report.yml