Skip to content
Back to skills

Sync Push

ASecurity

Use when the user wants to back up, save, or push their current Claude Code config to GitHub.

  • 2,688 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 29, 2026
ai-agentsbashgit

Works with

  • claude code
  • mcp

Security analysis

A100/100

Scanned May 29, 2026

npx -y skills add jeremylongshore/claude-code-plugins-plus-skills --skill sync-push --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sync Push?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sync Push
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jeremylongshore-sync-push/badge)](https://www.skillsdirectory.com/skills/jeremylongshore-sync-push)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sync-push
description: Use when the user wants to back up, save, or push their current Claude Code config to GitHub.
argument-hint: "[--profile NAME] [--force] [--dry-run] [--include-global]"
user-invocable: true
allowed-tools: Bash(bash "${CLAUDE_PLUGIN_ROOT}/scripts/*"), Bash(gh *), Bash(git *), Read
version: 0.2.0
author: Rohit Hazra
license: MIT
---

# 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
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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…