Agent skill
sync-push
Use when the user wants to back up, save, or push their current Claude Code config to GitHub.
Install this agent skill to your Project
npx add-skill https://github.com/rohithzr/claudebase/tree/main/skills/sync-push
SKILL.md
Config Sync Push
Push your current local Claude Code configuration to the GitHub backup repo.
What gets pushed
All syncable files from the current project and global config:
.mcp.json,.claude/settings.json.claude/agents/,.claude/commands/,.claude/skills/.claude/hooks/(scripts, config, sounds).claude/rules/,.claude/agent-memory/.auto-memory/(memory files)~/.claude/settings.json(global settings, opt-in via--include-global)
Files that are never pushed: CLAUDE.md (version-controlled with project), settings.local.json, hooks-config.local.json, conversations, sessions.
Instructions
Parse user arguments and run the push script:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/sync-push.sh" [OPTIONS]
Options:
--profile NAME— Push to a specific profile (default: active profile)--force— Skip multi-machine safety check and secret warnings--dry-run— Show what would be pushed without actually pushing--include-global— Also push~/.claude/settings.json(global settings are opt-in)
Multi-machine warning
If the script warns about another machine having pushed more recently, advise the user to pull first (/sync-pull) or use --force if they're sure.
Secret detection
If the script warns about potential secrets, tell the user which files were flagged and suggest reviewing them before using --force.
User Arguments
$ARGUMENTS
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
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-setup
Use when the user wants to set up config sync for the first time, connect to GitHub, or re-initialize the backup repo.
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?