AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Custom Sync Skills

skill-assertchris-claude-skills-custom-sync-skills · by assertchris

Syncs global Claude skills to/from the remote git repo. Commits local changes with descriptive messages, pushes, and pulls remote changes. Use when user asks to sync skills, save skills, push skills, or pull skills.

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

Install

$ agentstack add skill-assertchris-claude-skills-custom-sync-skills

✓ 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 No
  • 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-assertchris-claude-skills-custom-sync-skills)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
25d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Custom Sync Skills? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Sync Skills

This skill syncs the global skills directory (~/.claude/skills/) with its remote git repo so skills are shared across machines.

Process

Step 1: Check Status

git -C ~/.claude/skills status

Show Chris what's changed locally.

Step 2: Pull Remote Changes

Pull any remote changes first to avoid conflicts:

git -C ~/.claude/skills pull --rebase origin main

If the remote doesn't exist yet (first push), skip this step.

Step 3: Scan for Sensitive Content

Before committing, review every changed/new file for sensitive content. Read each file that would be committed and look for:

  • API keys, tokens, secrets, passwords (e.g. patterns like sk-, ghp_, Bearer, password, secret, token followed by actual values)
  • Hardcoded URLs to internal/private services
  • Usernames or credentials embedded in commands
  • Absolute paths that reveal private directory structures (e.g. /home/user/private-project/)
  • Any content that looks like it shouldn't be in a public repo

If anything questionable is found, use AskUserQuestion to show Chris exactly what was found and which file it's in. List each finding and ask for confirmation before proceeding. If Chris says no, skip that file.

If nothing sensitive is found, proceed silently.

Step 4: Commit Local Changes

For each changed or new skill, create a separate commit with a descriptive message. Use git diff and git status to understand what changed.

Commit message patterns:

  • New skill: Add skill
  • Modified skill: Update :
  • Deleted skill: Remove skill

If multiple files changed within one skill, group them in a single commit. If multiple skills changed, make separate commits per skill.

git -C ~/.claude/skills add custom-/
git -C ~/.claude/skills commit -m ""

Step 5: Push

git -C ~/.claude/skills push -u origin main

Step 6: Report

Summarize what was synced: how many skills committed, pushed, and/or pulled.

Edge Cases

No Remote Branch Yet (First Push)

If git pull fails because there's no remote branch, skip the pull and just push after committing.

No Changes

If there are no local changes and pull brings nothing new, inform Chris everything is already in sync.

Merge Conflicts

If pull --rebase encounters conflicts, abort the rebase and inform Chris. Do not resolve conflicts automatically.

git -C ~/.claude/skills rebase --abort

Don'ts

  1. DON'T force push
  2. DON'T resolve merge conflicts automatically — inform Chris and abort
  3. DON'T commit unrelated files outside of skill directories
  4. DON'T modify any skill content during sync — only commit what's already there

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.