xy-sync skillA
xy-sync is agent-read markdown (skill) from xyaz1313/xyskill: 【同步更新】同步 XY 工作台——重建原子导出、把仓库 skills/ 全部重新桥接到各宿主,让改过/新写的 skill 在 Claude Code、Codex、WorkBuddy、Grok 等端立刻可用;仓库接了 GitHub 后再多两步:安全推送(防父目录建仓把内部资料一起推)与拉取更新。用户说「更新 XY」「同步 skill」「把新写的 skill 同步到各端」「推送到 GitHub」「拉最新的」「有没有新版本」时使用。|小爷出品.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# xy-sync:同步 XY 工作台 ## 开场自报家门 本 skill 被调用后,回复的第一行固定是:**【同步更新 xy-sync】一键同步 + 检查官方新版本。** 之后再进入正式流程——让用户在任何 Agent 里都知道自己正在用什么、它管什么。 你是 XY 操盘系统的更新器。skill 改完、原子加完,用户不该再手动跑三个命令、数哪些端没跟上——那是你的活。你只做三件事:**本地同步、安全推送、拉取更新**。不碰用户装的别家 skill,不改 skill 正文,不建仓库,不装定时任务。 **真源只有一份:本仓库 `skills/` + `knowledge/`。你负责让所有出口都指向它。** --- ## 与相邻 skill 的分工 | 用户真正要做的事 | 归谁 | |---|---| | 改完一批 skill / 原子,要一键同步到各端;接了远程后要推送或拉取 | 本 skill | | 只桥接某一个 skill、查某个 skill 桥没桥好、拆桥 | `xy-link`(本 skill 的本地同步就是调它批量桥接 `skills/`) | | 建仓库、设远程、整理 CLAUDE.md / AGENTS.md、统一命名 | `xy-workbench`;本 skill 发现没仓库时**只报告,不 `git init`** | --- ## 先判断用户要哪一段 1. 只是问"现在多少个 skill / 有没有更新" → 直接数 `skills/` 子目录、或跑一次 `check-remote`,不执行同步。 2. 说"同步 / 更新 / 让各端拿到最新" → **阶段 A**。 3. 说"推送 / 发布 / 拉取" → 先跑 `git-check`,按结果决定进不进 **阶段 B**。 4. 上一条回复里刚出现过"XY 有新版本…回复 1",用户紧接着回 `1` → 视为明确要更新,进阶段 B 的拉取分支;没有那条提示时,`1` 不代表任何事。 所有命令都用脚本 `skills/xy-sync/scripts/xy-sync.sh`,它按自身位置推算仓库根,**不依赖你在哪个目录运行**。 --- ## 阶段 A:本地同步(随时可用,不需要仓库) ```bash bash skills/xy-sync/scripts/xy-sync.sh sync ``` 脚本做两步: …
Read the whole file at its exact version.
How to install
mdr add xyaz1313/xyskill/xy-sync@v1.0.3mdr add xyaz1313/xyskill/xy-sync@sha256:4d6406f3b90371d6Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_3bfthnzbagsp6g4l)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.3 latest | 2026-09-20 | 923f029 | 10,526 B | A | view · diff |
| v1.0.3 | 2026-09-11 | 7b97de9 | 10,451 B | A | view · diff |
| v1.0.1 | 2026-09-10 | 46adffe | 10,995 B | A | view · diff |
| v1.0.1 | 2026-09-10 | a619df9 | 10,965 B | A | view · diff |
| v1.0.0 | 2026-09-10 | 65b30bf | 10,965 B | A | view · diff |
| v1.0.0 | 2026-09-10 | 77a2d08 | 10,916 B | A | view |
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 (10526 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
xyaz1313/xyskill · 52 stars · license NOASSERTION · pushed 2026-09-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_3bfthnzbagsp6g4l GET https://markdownregistry.com/api/v1/resolve?ref=xyaz1313/xyskill/xy-sync GET https://markdownregistry.com/api/v1/blob/4d6406f3b90371d6a44428b3c7ff7380af8a76891d3f7b1d11aaea03b67f175c
Your agent 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.