Skip to content
Back to skills

Sync References

ASecurity

Pull latest changes from origin for all git repos under a directory. Use when asked to update, sync, or pull reference projects.

  • 52 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 27, 2026
data-aibashgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add LeeJuOh/claude-code-zero --skill sync-references --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sync References?

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

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

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-references
disable-model-invocation: true
description: Pull latest changes from origin for all git repos under a directory. Use when asked to update, sync, or pull reference projects.
allowed-tools: Bash, AskUserQuestion
argument-hint: "[path]"
---

# Sync References

Pull latest from origin for all git repos under a target directory.

## Setup

Config: `${CLAUDE_PLUGIN_DATA}/config.json`

```bash
# Read config
cat "${CLAUDE_PLUGIN_DATA}/config.json" 2>/dev/null

# Write/update config
mkdir -p "${CLAUDE_PLUGIN_DATA}"
echo '{"default_path": "<path>"}' > "${CLAUDE_PLUGIN_DATA}/config.json"
```

On first run, if no config exists and no `$ARGUMENTS` path is given, ask the user which directory to sync and save it to config.

## Execution

Resolve the target path in this order:
1. `$ARGUMENTS` if provided
2. `default_path` from config.json
3. If neither exists, ask the user and save to config

Then run:

```bash
bash "${CLAUDE_SKILL_DIR}/scripts/sync.sh" <resolved-path>
```

Output the result as-is. If any repos failed, briefly note what went wrong.

Files in this skill

  • SKILL.md1 KB
  • scripts/sync.sh1.5 KB

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.