ghsynclisted
Install: claude install-skill bjcoombs/ai-native-toolkit
# ghsync: mirror and sync every repo you can access
Onboarding into a new enterprise means finding and cloning dozens of repos by
hand, then drifting out of date. This skill does both halves: it **discovers**
everything you can reach and **keeps it in sync**.
- **First run** — clones every accessible repo into a worktree-friendly layout.
- **Every run after** — fast-forward updates repos already on their default
branch, updates their worktrees, and clones anything new. It never clobbers
local work: repos with uncommitted changes or on a non-default branch are
fetched but not pulled, and reported in the summary.
It is **org-agnostic** — point it at any GitHub org, GitHub Enterprise host, or
**personal account**. The script detects the account type itself: for an
organization it unions the teams you belong to with the org's repo list (so
direct-collaborator and public repos are included even with no team
membership); for a personal account it uses the account's repo list (private
repos included when it's your own account).
## How to run it
The script lives next to this file. Claude Code writes this skill's directory
into the script paths below when it loads the skill, so each path is already
absolute:
```bash
# Org is derived from the directory you run in. To mirror the "meridianhub"
# org, run from a directory named meridianhub:
cd ~/dev/github.com/meridianhub
bash "${CLAUDE_SKILL_DIR}/scripts/ghsync.sh"
```
The org defaults to the **basename of the directory you