
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
claude-code-config-sync
Advanced tools
Sync your Claude Code configuration across all machines with Git and templates. Inspired by chezmoi.
Sync your Claude Code configuration across all your machines using Git
Sync your Claude Code configuration across all machines automatically.
Syncs 7 essential config types:
Intelligently handles conflicts when configs differ between machines with grouped analysis and detailed review options.
Auto-excludes sensitive files: *.local.md, *.local.json, credentials, API keys, logs, history
Quick Install:
npm install -g claude-code-config-sync
claude mcp add claude-code-config-sync claude-code-config-sync --scope user
Then restart Claude Code to activate the MCP tools.
Upgrade:
npm install -g claude-code-config-sync@latest
claude mcp remove claude-code-config-sync --scope user
claude mcp add claude-code-config-sync claude-code-config-sync --scope user
Then restart Claude Code.
Step 1: Install the package
npm install -g claude-code-config-sync
Step 2: Add to ~/.claude.json
Add the following to the mcpServers section:
{
"mcpServers": {
"claude-code-config-sync": {
"type": "stdio",
"command": "claude-code-config-sync",
"args": [],
"env": {}
}
}
}
Step 3: Restart Claude Code
Via Claude Code MCP tools:
sync_init # Connect to your Git repo (auto-creates if needed)
sync_push # Push local changes
sync_pull # Pull remote changes
sync_status # Check sync status
sync_init(
repoUrl: "claude-config", // Auto-detects SSH or HTTPS
autoCreate: true // Creates private repo if missing
)
// Or use full URL: "git@github.com:you/claude-config.git"
// Or use HTTPS: "https://github.com/you/claude-config.git"
Note: The tool automatically detects SSH availability and falls back to HTTPS when SSH keys are not configured.
Simple case (no local config):
sync_init(repoUrl: "claude-config")
// Automatically pulls existing config
// Uses SSH if available, HTTPS otherwise
With existing local config (Intelligent Merge):
// Step 1: High-level analysis (grouped by type)
sync_init(repoUrl: "claude-config")
// Returns:
// 🔄 Merge Conflict Analysis
// Your local and remote configurations have differences that need resolution:
// 6 items differ across 2 configuration types.
//
// 📝 CLAUDE.md
// 1 different between local and remote, 3 only on this device, 1 only in remote
// → Will merge all unique items from both configs
//
// 📂 Commands
// 2 different between local and remote, 8 only on this device, 2 only in remote
// → Will create duplicate files (2 local + 2 remote versions)
//
// 🎯 Resolution Options:
// 1. Quick merge: Accept all recommendations
// sync_init(confirmMerge: true)
// 2. Detailed review: See specific conflicts
// sync_init(detailedReview: true)
// Step 2 (Optional): View detailed conflicts with side-by-side comparison
sync_init(repoUrl: "claude-config", detailedReview: true)
// Shows side-by-side content comparison for each conflict
// Step 3: Apply intelligent merge
sync_init(repoUrl: "claude-config", confirmMerge: true)
// ✓ Backed up original to ~/.claude-backup-2025-10-12
// ✓ Merged configurations intelligently
// ✓ Ready to sync
Daily workflow:
// Make changes to your CLAUDE.md or commands/
sync_push() // Pushes to remote (auto-pulls if needed)
On another machine:
sync_pull() // Gets latest changes
Check what's changed:
sync_status() // Shows uncommitted files and sync state
Merge conflict resolution:
// If sync_init shows conflicts:
sync_init(detailedReview: true) // See what's different
sync_init(confirmMerge: true) // Accept and merge
See USAGE.md for detailed guide.
When local and remote configs both exist, you get:
gh CLI.gitignore for Claude Code configs~/.claude with smart .gitignore, analyses any existing local/remote configs✅ Uses your existing Git SSH keys ✅ Auto-excludes sensitive files ✅ Never syncs credentials or API keys ✅ Private repos recommended
git clone https://github.com/jesse-windebank/claude-code-config-sync
cd claude-code-config-sync
npm install
npm run build
npm test
MIT - Made for the Claude Code community
Inspired by chezmoi
FAQs
Sync your Claude Code configuration across all machines with Git and templates. Inspired by chezmoi.
The npm package claude-code-config-sync receives a total of 7 weekly downloads. As such, claude-code-config-sync popularity was classified as not popular.
We found that claude-code-config-sync demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.