global-setup-sync

Sync the ~/.claude/ directory from Mac to ai-slave via rsync with validation and backups.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/aiguy611/cc-tools --skill global-setup-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: global-setup-sync
Source: https://github.com/aiguy611/cc-tools/tree/main/.github/skills/global-setup-sync
Command: npx skills add https://github.com/aiguy611/cc-tools --skill global-setup-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Sync Claude configuration and skills across machines in a safe, one-way manner to ensure consistent setups while preventing accidental overwrites.

Core Features & Use Cases

  • One-way sync from Mac to ai-slave to avoid overwrites of remote changes
  • Selective sync with categories (skills, settings, mcp, claude-md, hooks, templates)
  • Validation and dry-run options with rollback backups
  • Incremental sync with backup before applying changes
  • Conflict detection and resolution

Quick Start

Run the global-setup-sync workflow on your Mac to mirror your ~/.claude/ directory to the ai-slave, with pre/post validations and a dry-run option first.

Frequently Asked Questions about global-setup-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync Claude configuration and skills across multiple machines?

Sync Claude configuration and skills across machines using one-way replication from your Mac to a remote host, preserving settings, skills, and MCP configurations. This process uses rsync-based transfer to mirror the ~/.claude/ directory while preventing accidental overwrites of remote changes.

Can I selectively sync specific Claude settings like hooks and templates?

Yes, you can selectively sync specific Claude settings by choosing categories such as skills, settings, mcp, claude-md, hooks, and templates. This selective category syncing allows you to target only the configuration areas you want to replicate to the remote machine.

What's the best way to preview configuration changes before applying a remote sync?

The best way to preview configuration changes before a remote sync is to use a dry-run option. This generates a manifest and validates the transfer plan beforehand, allowing you to review exactly what will be mirrored without applying any actual changes to the target machine.

Does syncing the Claude directory create backups before overwriting remote files?

Syncing the Claude directory creates automatic backups before applying changes to ensure safety. This backup mechanism, combined with conflict detection and resolution, guarantees that your previous remote configuration can be rolled back if the incremental sync produces unexpected results.

Why does one-way sync prevent overwriting remote Claude configuration changes?

One-way sync prevents overwriting remote Claude configuration changes because data flows strictly from the Mac to the ai-slave. This directional replication ensures that any modifications made directly on the remote machine are protected from being overwritten by the source machine's state.

When should I not use one-way replication for Claude setup backup?

You should not use one-way replication for Claude setup backup when you need bidirectional synchronization or actively edit configuration on the remote machine. Since replication only mirrors the source state, any remote changes not present on the Mac will be lost during the sync process.