sync-skills SKILL.md skillA
sync-skills from madnpc/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add madnpc/skills/sync-skills@git:20260702.eb2c7d7Pins git:20260702.eb2c7d7 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- madnpc/skills
- Path
.claude/skills/sync-skills/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260702.eb2c7d7, committed Jul 2, 2026
- Size
- 5,987 bytes
- Repository stars
- 3
- License
- none declared
适用于本仓库(npc404-skills)同步上游技能:运行 scripts/sync-skills.mjs 检测上游变化,逐个研判 diff 是否为有效更新(实质内容变化,还是排版、笔误等噪音),给出本地化建议,处理完成后推进版本记录。Use in the npc404-skills repo whenever the user wants to check or sync upstream skill sources, review upstream diffs, decide whether an upstream change is worth localizing, or advance skill versions with accept — even if they just say "看看上游有没有更新". 中文关键词:同步技能、技能同步、上游更新、检查上游、上游 diff、有效更新、本地化更新、推进版本、sync skills、accept。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Sync Skills(上游技能同步) 把 `scripts/sync-skills.mjs` 的检测结果变成一次有判断的同步:检测上游变化 → 研判每个 diff 是否为有效更新 → 报告并等用户确认 → 本地化或直接推进版本。 脚本本身只做版本比对和 diff 暂存,不判断内容价值;这个技能的核心工作是替用户读 diff、下判断。 ## 适用范围 只在 npc404-skills 仓库内使用:先确认仓库根存在 `scripts/sync-skills.mjs`,找不到就说明不在本仓库,告知用户后停止。需要 Node 18+ 和网络访问 GitHub。 写入范围只限仓库内:本地化只改 `skills/<skill>/`(外加 `scripts/sync.config.json`、README 等仓库文件)。`~/.claude/skills/`、`~/.cc-switch/skills/` 等仓库外的安装/分发副本一律不写不删——那些由用户自行更新。同步完成后至多提示一句"分发副本可能滞后",何时更新由用户决定。 用户只想看当前状态(不查上游)时,运行 `node scripts/sync-skills.mjs status` 即可,不要发起 check。 ## 流程 ### 1. 检测上游 ```bash node scripts/sync-skills.mjs check # 全部技能 node scripts/sync-skills.mjs check <skill> # 只查一个 ``` 逐技能看状态行并分流: - `✓ 已是最新` —— 无事发生。 - `✗ 查询 commit 失败 403 …限流` —— 脚本已自动尝试 `GITHUB_TOKEN` 和 `gh auth token`,仍限流说明本机没有可用凭据(gh 未登录或未安装)。按报错里给出的重置时间告知用户稍后再试,或请用户 `gh auth login` / 提供 token。有 ✗ 行时该技能上游状态未知,不要当成"已是最新"。 - `∅ 无版本记录` —— 新增技能还没建基线。提示运行 `node scripts/sync-skills.mjs init <skill>`(init 把当前上游 HEAD 记为已同步基线,不产生 diff,之后的变化才会被 check 捕捉)。 - `● <old> → <new>` —— 上游有变化,材料已暂存:`scripts/.skill-sync/diffs/<skill>.diff` 是新旧版本的逐文件 diff,`scripts/.skill-sync/incoming/<skill>/` 是上游最新原文。进入下一步。 ### 2. 研判是否有效更新(核心) …
Read the whole file at its exact version.
How to install
mdr add madnpc/skills/sync-skills@sha256:527a4f94c758636fThe line at the top of this page pins the label git:20260702.eb2c7d7, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_rrjiq2cqzvzqjt6p)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jul 2, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5987 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
madnpc/skills · 3 stars · license none declared · pushed 2026-09-29 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_rrjiq2cqzvzqjt6p GET https://markdownregistry.com/api/v1/resolve?ref=madnpc/skills/sync-skills GET https://markdownregistry.com/api/v1/blob/527a4f94c758636f960e9b0a1859f7dd10d71dbf716b4b297f107eeb31eced96
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.