Nirusan

sync-config

6
1
# Install this skill:
npx skills add Nirusan/claude-config --skill "sync-config"

Install specific skill from multi-skill repository

# Description

Sync local Claude config to GitHub repo. Use to backup or share your Claude configuration (CLAUDE.md, settings, commands, agents, skills).

# SKILL.md


name: sync-config
description: Sync local Claude config to GitHub repo. Use to backup or share your Claude configuration (CLAUDE.md, settings, commands, agents, skills).
allowed-tools: Bash(*)
user-invocable: true
disable-model-invocation: true


Sync Claude Configuration

Sync your local ~/.claude/ config to the GitHub repo.

Steps

  1. Run the sync script:
cd ~/Sites/claudeCode && ./sync.sh
  1. Review changes:
cd ~/Sites/claudeCode && git status && git diff
  1. If changes look good, commit and push:
cd ~/Sites/claudeCode && git add -A && git commit -m "sync: update config" && git push

Notes

  • This syncs: CLAUDE.md, settings.json, commands, agents, skills
  • The sync-config skill itself is NOT synced (local only)
  • Review changes before pushing to avoid accidents

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.