Claude Code session
Claude Code Sync
Rust CLI tool for syncing Claude Code conversation history across machines using git repositories.
Install
brew install perfectra1n/claude-code-sync/claude-code-syncFound in the project README. Check it for setup steps after installing.
git clone https://github.com/perfectra1n/claude-code-sync.gitFrom the README
claude-code-sync A Rust CLI tool for syncing Claude Code conversation history across machines using git repositories. Documentation š View API Documentation - Complete API reference and code documentation To build and view documentation locally: Features Overview claude-code-sync helps you backup and synchronize your Claude Code conversation history by pushing it to a git repository. This enables: - Backup: Never lose your Claude Code conversations - Multi-machine sync: Keep conversation history consistent across multiple computers - Version control: Track changes to your conversations over time - Conflict resolution: Automatically handles divergent conversation histories How It Works Claude Code stores conversation history locally in ~/.claude/projects/ as JSONL (JSON Lines) files. Each project has its own directory, and each conversation is a separate .jsonl file. claude-code-sync: 1. Discovers all conversation files in your local Claude Code history 2. Copies them to a git repository (plus any enabled artifact categories ā see Artifact Sync) 3. Commits and optionally pushes to a remote 4. On pull, merges remote changes with local history 5. Detects conflicts (same session modified on different machines) 6. Resolves conflicts by keeping both versions with renamed files Artifact Sync Conversation history is only part of a Claude Code environment. Artifact sync carries the rest of ~/.claude across machines, per category: Enable categories per machine (all default off for existing configs; the first-run wizard pre-selects them for new setups, except hooks): hooks is only ever switched on by name, never by all or the wizard's defaults (see below): claude-code-sync config --enable-artifacts hooks. Of a file's permissions only the executable bit travels āā¦
Details
- Repository
- perfectra1n/claude-code-sync
- Language
- Rust
- License
- MIT
- Last updated
- 13 October 2026
- Topics
- claudeclaude-codecligitsyncterminalterminal-based
FAQ
What is Claude Code Sync?
Rust CLI tool for syncing Claude Code conversation history across machines using git repositories. It is a session for Claude Code, from perfectra1n/claude-code-sync on GitHub.
How do I install Claude Code Sync?
Run brew install perfectra1n/claude-code-sync/claude-code-sync, then follow the setup in the README.
Is Claude Code Sync popular?
perfectra1n/claude-code-sync has 101 GitHub stars and 21 forks. It was last updated on 13 October 2026.
More sessions & history
Claude Code Web
100vultuk/claude-code-web
Web-based interface for Claude Code CLI with multi-session support
Claude Notes
105vtemian/claude-notes
Transform Claude Code transcript JSONL files into readable terminal and HTML formats.
Synthteam
124nickwinder/synthteam
Consult distilled personas of colleagues ā build them from Slack history, get one colleague's take, or convene a deliberating panel. A plugin for Claude Code and Codex.
Prompt Sensei
109chengzhongwei/Prompt-sensei
Local-first prompt coach for Claude Code and Codex that improves prompts, observes prompting habits, and analyzes local history with explicit consent.
Claude Code Langfuse Template
108doneyli/claude-code-langfuse-template
Self-hosted Langfuse for Claude Code session observability
Base V1
95ChristopherKahler/base-v1
AI builder operating system. Turn Claude Code from a per-session tool into a workspace that remembers, maintains itself, and never goes stale. BASE = Builder's Automated State Engine.
Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.