Sync Push
Export sessions and settings to iCloud sync directory
Session Sync Push
Export Claude Code sessions and settings to the iCloud sync directory for cross-device access.
What Gets Synced
- Session summaries - Markdown exports with metadata and previews
- Global settings -
~/.claude/settings.json(permissions, model, plugins) - Installed plugins list - For reinstallation on other devices
Instructions
-
Determine the sync directory path based on OS:
- macOS:
~/Library/Mobile Documents/com~apple~CloudDocs/ClaudeSessions - Windows:
$env:USERPROFILE\iCloudDrive\ClaudeSessions
- macOS:
-
Run the sync script:
# macOS/Linux "${CLAUDE_PLUGIN_ROOT}/scripts/claude-sync.sh" push# Windows & "${env:CLAUDE_PLUGIN_ROOT}\scripts\claude-sync.ps1" push -
Report the results to the user, including:
- Number of sessions exported
- Settings synced
- Any git commit made (if the sync directory is a git repo)
First-Time Setup
If the sync directory doesn't exist, inform the user they need to run /sync-setup first.