modem7

Claude Config Sync — Development skill for Claude Code

Development community

Sync tool for Claude Code global config (CLAUDE.md, settings, skills) across machines.

How to install Claude Config Sync

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

What Claude Config Sync does

Sync tool for Claude Code global config (CLAUDE.md, settings, skills) across machines.

Alternatives in Development

  • Claude Config — Built-in /config command to manage settings interactively 81.1k ★
  • Dotenv Vault — Sync environment variables across machines for consistent Claude Code behavior 1.2k ★
  • Harness Remote — Native-session control plane for Codex, Claude Code, OpenCode, OMP and PI 356 ★

README

claude-config-sync

**Keep Claude Code's settings, skills, agents, hooks and memory the same on every machine.**

![Python 3.12+](https://img.shields.io/badge/python-3.12%2B-blue) ![Linux](https://img.shields.io/badge/Linux-supported-success) ![Windows](https://img.shields.io/badge/Windows-supported-success) ![macOS](https://img.shields.io/badge/macOS-untested-lightgrey) ![Dependencies](https://img.shields.io/badge/dependencies-none-lightgrey) [![Built with Claude](https://img.shields.io/badge/built%20with-Claude-D97757?logo=claude&logoColor=white)](https://claude.com/claude-code)

[Prerequisites](#prerequisites) • [Quick start](#quick-start) • [Remote sessions](#claude-code-on-the-web-remote-sessions) • [Make it work](#make-it-work) • [Commands](#commands) • [What syncs](#what-syncs) • [Per-machine tweaks](#per-machine-tweaks) • [Troubleshooting](#troubleshooting)


What is this?

Claude Code keeps your personal setup in `~/.claude/` (instructions, settings, agents, hooks) and `~/.agents/` (skills). Use Claude on a laptop, a desktop and a server and you end up with three slightly different setups.

This tool fixes that. A **private GitHub repo** holds the one true copy. A small Python program copies changes between that repo and each machine, and every change goes out as a **pull request** you review and merge. Nothing is ever pushed straight to your default branch.

flowchart LR
    A["Machine A
~/.claude"] -- "sync (PR)" --> R[("Your private repo")] B["Machine B
%USERPROFILE%\.claude"] -- "sync (PR)" --> R R -- "pull after merge" --> A R -- "pull after merge" --> B

Features

  • Linux and Windows, with macOS expected to work. Same commands everywhere (.sh shims on Linux and macOS, .cmd shims on Windows). CI runs on Linux and Windows only.
  • Pull-request based. Each machine gets its own sync/ branch and PR. You merge; other machines pick it up on their next sync.