Agent skill
sync-setup
Use when the user wants to set up config sync for the first time, connect to GitHub, or re-initialize the backup repo.
Install this agent skill to your Project
npx add-skill https://github.com/rohithzr/claudebase/tree/main/skills/sync-setup
SKILL.md
Config Sync Setup
Initialize Claude Config Sync by connecting to GitHub and creating the backup repository.
What this does
- Verifies
ghCLI is installed and authenticated - Creates a private GitHub repo for config storage (or connects to existing)
- Initializes the repo structure with a default profile
- Performs the first push of your current Claude Code config
Instructions
Run the setup script. Parse user arguments for custom repo name and profile:
- First argument (if provided): repo name (default:
claude-config) - Second argument (if provided): initial profile name (default:
default)
bash "${CLAUDE_PLUGIN_ROOT}/scripts/ensure-repo.sh" REPO_NAME PROFILE_NAME
Replace REPO_NAME and PROFILE_NAME with the user's values or defaults.
If gh is not installed
Guide the user to install it:
- macOS:
brew install gh - Linux:
sudo apt install ghorsudo dnf install gh - Windows:
winget install --id GitHub.cli
Then authenticate: gh auth login
After setup succeeds
Run the first push automatically:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/sync-push.sh" --profile PROFILE_NAME
Tell the user what was synced and show all available commands: /sync-push, /sync-pull, /sync-status, /sync-profiles, /sync-config.
User Arguments
$ARGUMENTS
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
sync-push
Use when the user wants to back up, save, or push their current Claude Code config to GitHub.
sync-config
Use when the user wants to view or change claudebase settings like global sync, agent skills sync, auto-push, or machine ID.
sync-pull
Use when the user wants to restore, download, or pull their Claude Code config from GitHub onto this machine.
sync-profiles
Use when the user wants to list, create, switch, delete, compare, or inspect config sync profiles.
sync-status
Use when the user wants to check what config has changed, see sync status, or compare local vs remote config.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?