/sync-claude-config:setupfrom sync-claude-config
Bootstrap cross-machine sync. Ask the user which mode, then run the appropriate flow.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /sync-claude-config:setup still runs it.
Bootstrap cross-machine sync. Ask the user which mode, then run the appropriate flow.
Ask: "Is this your FIRST machine setting up cross-machine sync (Primary), or a SECONDARY machine connecting to an existing setup?"
Then proceed to the matching section.
git installed (git --version)gh auth status — if not authenticated, prompt user to run gh auth logingit config --global user.email and user.name; prompt user to set them if missinggh is authenticated: gh repo create <name> --privatecd ~/.claude
git init -b main
git remote add origin <repo URL>
git add -A
git commit -m "chore: initial config"
git push -u origin main
mkdir -p ~/.claude/cross-machine && touch ~/.claude/cross-machine/.initialized/sync-claude-config:push from here on.Note: Do NOT use
mv ~/.claude. On Windows (and sometimes macOS) it fails with Permission denied because Claude Code holds session files open. Use the in-placegit initapproach below.
~/.claude/:
TS=$(date +%Y%m%d-%H%M%S)
mkdir -p ~/.claude-backup-$TS
cp -r ~/.claude/CLAUDE.md ~/.claude/settings.json \
~/.claude/skills ~/.claude/commands ~/.claude/rules \
~/.claude/agents ~/.claude/hooks ~/.claude/scripts \
~/.claude-backup-$TS/ 2>/dev/null || true
cd ~/.claude
git init -b main
git remote add origin <repo URL>
git fetch origin
git checkout -f -b main origin/main
mkdir -p ~/.claude/cross-machine && touch ~/.claude/cross-machine/.initialized/sync-claude-config:pull isn't visible, suggest restarting Claude Code./sync-claude-config:pull to scan for pending tasks.Confirm success and print the command list: /sync-claude-config:push, /sync-claude-config:pull, /sync-claude-config:setup.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Generated from the plugin's indexed repository (gggodlin/sync-claude-config) — no native marketplace selected
npx claudepluginhub p/gggodlin-sync-claude-config3 commands in this plugin
Other plugins' commands for the same job