skill-sync
Skill1 starsChanged 2 months agoApache-2.0View on GitHub
检查本项目中外部 skill 引用是否为最新。扫描所有 install_reference.md 文件,从 GitHub 获取最新状态,与本地记录对比,并可选地更新本地记录。适用于检查 skill 更新、查看外部 skill 仓库的变化,或同步本地引用。
- Deletes or force-pushes
13 other projects use a version of this.
Adopted by
Most recently taken up by
- tomwangowa/agent-skillstheir own version, first seen Sep 30, 2026
- Ramillax/claude-code-control-roomtheir own version, first seen Sep 28, 2026
- light-merlin-dark/skill-synctheir own version, first seen Sep 26, 2026
- lintangknitto/agent-skillstheir own version, first seen Sep 23, 2026
- BUTFL/claude-skillstheir own version, first seen Sep 14, 2026
- tarrragon/claude-skillstheir own version, first seen Sep 1, 2026
Used with
Projects with it also use brainstorming.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillbrainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Also in 3 projects that use this
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- ShawhinT/non-coding-skills★ 40same name
- joabgonzalez/ai-agents-skills★ 9same name
- Ramillax/claude-code-control-room★ 8same name
- catalystsystemslab/codex-skill-sync★ 2same name
- jackonedev/agent_skills★ 2same name
- light-merlin-dark/skill-sync★ 2same name
- tomwangowa/agent-skills★ 2same name
- andyshen1121/skills★ 1same name
- tarrragon/claude-skills★ 1same name
- thorwhalen/skill★ 1same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- Agents.mdAGENTS.md
- agent-configSkill
- skill-installerSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 68
If gh CLI is not available or returns an error, automatically fall back to shallow clone.
- Distinctive: line 86
Keep the existing Chinese text when the upstream meaning has not changed
- Distinctive: line 87
Write new or meaningfully changed descriptions in Simplified Chinese
- Distinctive: line 88
Never replace a localized Chinese description with raw upstream English
- Distinctive: line 109
If no diffs found, report: "All skill references are up-to-date."
- Distinctive: line 113
If diffs exist, ask:
- Distinctive: line 134
If shallow clone was used, ensure temp directory is removed:
- Distinctive: line 142
Always preserve the "已集成" (❌/✅) status when updating — this is manually maintained by the user
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Sync
Overview
Scan all referenced skill repositories in this project, check for updates on GitHub, show diffs, and optionally update local install_reference.md files.
Trigger
"检查 skill 更新", "看看外部 skill 有没有变化", "sync skills", "check skill updates"
Process
1. Scan All install_reference.md Files
Find every install_reference.md in the project:
find ./github ./skills -name "install_reference.md" -type fThis covers both:
github/<user>/<repo>/install_reference.md— external repos not yet integrated into workspaceskills/<category>/<skill>/install_reference.md— referenced skills already under management
2. Parse Source Repo URL
For each install_reference.md, extract the source repo URL from the **来源** or **Source** line:
grep -E '\*\*来源\*\*|\*\*Source\*\*' install_reference.mdExample output: https://github.com/mattpocock/skills
Convert to owner/repo format: mattpocock/skills
3. Fetch Latest State from GitHub
Primary method: gh CLI
# Get repo default branch
gh repo view <owner/repo> --json defaultBranchRef -q '.defaultBranchRef.name'
# Get directory listing of skills folder
gh api repos/<owner/repo>/contents/skills --jq '.[].name'
# Get each skill's SKILL.md frontmatter for name and description
gh api repos/<owner/repo>/contents/skills/<skill-name>/SKILL.md --jq '.content' | base64 -d | head -10Fallback: shallow clone
TMPDIR="/tmp/skill-sync-$(date +%s)"
git clone --depth 1 https://github.com/<owner/repo>.git "$TMPDIR"
# Read skill directories and SKILL.md files from $TMPDIR
rm -rf "$TMPDIR"If gh CLI is not available or returns an error, automatically fall back to shallow clone.
4. Compare Local vs Remote
Parse the local install_reference.md skill list (the tables under each category heading).
For each remote skill, compare against local records:
- 🆕 New: Skill exists in remote but not in local
install_reference.md - 📝 Changed: Skill exists in both but description differs
- ❌ Removed: Skill exists in local but not in remote
- ✅ Unchanged: Skill exists in both and description matches
Description Localization
Preserve the language already used by each local skill table. For a table whose descriptions are in Simplified Chinese, such as github/mattpocock/skills/install_reference.md:
- Translate upstream descriptions into Simplified Chinese before comparison
- Compare the translated description with the local Chinese description; do not flag a change solely because the upstream source is English
- Keep the existing Chinese text when the upstream meaning has not changed
- Write new or meaningfully changed descriptions in Simplified Chinese
- Never replace a localized Chinese description with raw upstream English
5. Display Diff
Show results grouped by source repo:
## github/mattpocock/skills
🆕 New skills:
- new-skill: Description of the new skill
📝 Changed:
- tdd: "old desc" → "new desc"
❌ Removed:
- deprecated-skill
✅ 15 skills unchangedIf no diffs found, report: "All skill references are up-to-date."
6. Ask User Whether to Update
If diffs exist, ask:
发现以上差异,是否更新本地的 install_reference.md?
- 全部更新
- 选择性更新
- 跳过
For selective update, let user pick which changes to apply.
7. Update install_reference.md
Rewrite the install_reference.md file with updated skill list, preserving the "已集成" column status (❌/✅ values must not change for existing skills). New skills default to ❌.
Preserve the table's existing description language. Translate new or changed upstream descriptions into that language before writing them.
Maintain the original format:
- Category headings (
### engineering, etc.) - Tables with columns: Skill | Description | 已集成
8. Cleanup
If shallow clone was used, ensure temp directory is removed:
rm -rf /tmp/skill-sync-*Important Notes
- Always preserve the "已集成" (❌/✅) status when updating — this is manually maintained by the user
- New skills added from remote default to ❌ (not integrated)
- For collection repos (like mattpocock/skills with sub-categories), maintain the same category structure as the remote repo
- Handle rate limiting: if
ghCLI returns 403/429, fall back to shallow clone
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

