AgentStack
SKILL verified MIT Self-run

Claude Sync

skill-samterces-claude-sync-claude-sync · by SamTerces

>

No reviews yet
0 installs
14 views
0.0% view→install

Install

$ agentstack add skill-samterces-claude-sync-claude-sync

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Claude Sync? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

claude-sync

Sync the user's Claude brain across machines and teammates. Read skills/claude-sync/REFERENCE.md before running any command — it contains the full protocol for each operation including safety rules, conflict resolution policy, and the secrets-scrubbing contract.

What a "brain" contains

| Layer | Path (global) | Path (project) | |------------|---------------------------|-----------------------| | Memory | ~/.claude/memory/ | .claude/memory/ | | Skills | ~/.claude/skills/ | .claude/skills/ | | Agents | ~/.claude/agents/ | .claude/agents/ | | Rules | ~/.claude/CLAUDE.md | ./CLAUDE.md | | Settings | ~/.claude/settings.json | — |

Settings are scrubbed before sync. Only permissions, hooks, theme, and model travel. API keys, tokens, and .env files never leave the machine.

Determine intent, then act

Before running anything, identify which operation the user wants:

  • First time / new machineinit
  • "push", "share", "upload my context"push
  • "pull", "get latest", "download team context"pull
  • "what changed", "diff", "compare"diff
  • "merge alice", "absorb bob's learnings"merge
  • "auto-sync", "watch", "sync automatically"watch
  • "status", "am I up to date"status

If intent is ambiguous, ask one clarifying question before proceeding.

Running commands

All operations delegate to skills/claude-sync/scripts/sync.sh:

~/.claude/skills/claude-sync/scripts/sync.sh  [args]

If the script is not yet installed (first run on a machine), guide the user through init first, which sets up the sync repo and installs the script.

Output contract

Every operation must end with a structured summary. Use this exact format — fill in real values, never placeholders:

┌─────────────────────────────────────────────┐
│  claude-sync —  complete         │
├─────────────────────────────────────────────┤
│  Memory files  :                         │
│  Skills        :                         │
│  Agents        :                         │
│  Branch        : brain/           │
│  Remote        :                      │
│  Timestamp     :                  │
└─────────────────────────────────────────────┘

Before modifying anything

  1. Show the user what will change (diff preview).
  2. Ask for confirmation if the operation overwrites existing files.
  3. Never silently delete or overwrite. Local data is authoritative unless the user explicitly

says otherwise.

Error handling

| Condition | What to do | |-------------------------|---------------------------------------------------------------| | Remote unreachable | Show the configured remote URL, suggest checking network | | git not installed | Link to https://git-scm.com and stop | | Merge conflict | Show conflicting files, apply local-wins policy, explain why | | jq missing | Warn that settings merge will be skipped, proceed without it | | Lock file exists | Show the PID, explain how to remove /tmp/claude-sync.lock | | Empty remote | Normal on first push — explain and continue |

Reference documents

  • skills/claude-sync/REFERENCE.md — full protocol specification
  • skills/claude-sync/EXAMPLES.md — concrete walkthroughs
  • skills/claude-sync/references/merge-strategy.md — how memory and skill merges work
  • skills/claude-sync/references/conflict-resolution.md — conflict policy and edge cases
  • skills/claude-sync/references/security.md — what gets scrubbed and why

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.