← Back to list

skills-sync
by midhunmonachan
Codex CLI skills with bootstrap tooling, auto-linking hooks, and a growing skill library that can also sync with your own skills repository.
⭐ 0🍴 0📅 Jan 9, 2026
SKILL.md
name: skills-sync description: Bootstrap or maintain a Codex skills repo with auto-sync to ~/.codex/skills; use when setting up a shared skills repository, onboarding new clones, or enabling autosync hooks for skills under skills/.
Skills Sync
Overview
Create a skills repository layout that auto-syncs each skill folder containing a SKILL.md into ~/.codex/skills by copying files. Run the setup scripts yourself and guide the user through an interactive flow; do not ask the user to run scripts manually.
Quick start
- Ask which mode the user wants:
- Full clone (default repo URL if not provided)
- Selective skills (install a subset without cloning)
- Fresh empty repo
- Existing repo setup
- Ask for the repo URL (if cloning) and target directory (optional).
- Ask for a skill list if the user chooses selective install.
- Run the scripts and installers yourself based on the chosen mode.
Workflow
- Confirm the desired mode and inputs (URL, path, skill list).
- Run the appropriate command(s) for that mode.
- Report what was created and where the repo or skills live.
- If selective skills were installed, remind the user to restart Codex.
Modes
Full clone (recommended)
- Run:
bash ~/.codex/skills/skills-sync/scripts/bootstrap_repo.sh --clone <repo-url>- Add
--dir <path>if the user specifies a destination.
Selective skills (no clone)
- Ask which skills to install. If they want a list, fetch it from the repo:
curl -s https://api.github.com/repos/<owner>/<repo>/contents/skills- Use
gh apifor private repos if needed.
- Install each skill:
$skill-installer --repo <owner>/<repo> --path skills/<skill-name>
- Remind the user to restart Codex.
Fresh empty repo
- Run:
bash ~/.codex/skills/skills-sync/scripts/bootstrap_repo.sh /path/to/repo
Existing repo setup
- Run one of:
/path/to/repo/scripts/setup.sh(preferred)bash ~/.codex/skills/skills-sync/scripts/enable_hooks.sh /path/to/repo
Diagnose repo
- Run:
/path/to/repo/scripts/doctor.sh
Repo layout created
skills/for skills tracked in the reposcripts/sync-skills.shto copy skills into~/.codex/skillsscripts/git-hooks/with hooks that runsync-skills.shscripts/setup.shonboarding script for clonesscripts/doctor.shdiagnostics for hooks, duplicates, and unsupported symlinks
Notes
- Hooks include
post-commit,post-merge,post-checkout, andpost-rewrite. - The sync script copies directories that contain a
SKILL.md. - If a name already exists in
~/.codex/skillsand is not managed by the sync script, it is skipped with a warning. - Set
CODEX_SKILLS_DIR(orCODEX_HOME) to sync into a different skills directory, or pass--dest. sync-skills.shsupports--dry-run,--verbose, and--destfor safe previews and overrides.- Do not instruct users to run scripts manually; run them on their behalf.
- This skill is standalone: you can install only this skill and bootstrap your own repo.
Resources
scripts/
bootstrap_repo.sh: creates repo layout, hooks, setup script, and runs sync.enable_hooks.sh: enables hooks and runs sync for existing repos.
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
3ヶ月以内に更新
+5
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon

