扫描、分类(A/B/C/D)并同步 AI 代理 SKILL.md 文件跨工具链(Codex、Claude Code、WorkBuddy)。零依赖 Python CLI。
概览
——扫描、分类并同步跨工具链的AI代理技能(SKILL.md 文件)。 如果你使用多个AI编码代理(OpenAI Codex、Claude Code、WorkBuddy等),技能库会分散在不同的目录中,布局各异,有些是复制的,有些陈旧,有些需要你从未安装的依赖。SkillSync会自动把这些混乱变成一个正规的库存。 零依赖。纯Python,≥3.11标准库。 分类是启发式的、保守的——索引显示为什么某个技能会落入每个桶,以及哪些依赖缺失(用shutil.what / your [deps]表实时探查)。 * 绝不在无 --force 的情况下覆盖;强制更新先将旧副本移至 /.skillsync-backup/ ——任何内容都不会被删除。* .venv/、.env、node_modules//,/总是被排除在副本之外,因此秘密和 500 MB 虚拟 vs 从不悄无声地传输。* --预演打印了完全相同的计划,且不触及任何内容。
概述(AI 翻译)
skillsync — 扫描、分类并同步跨工具链的AI代理技能(SKILL.md文件)。
如果你使用多个AI编码代理(OpenAI Codex、Claude Code、WorkBuddy等),最终会得到
技能库散布在不同的目录中,布局各异,有些是复制的,有些是复制的
陈旧,有些需要你从未安装过的依赖。skillsync 把那烂摊子变成了一团糟
诚实的库存——自动的。
零依赖。纯Python,≥3.11标准库。
它的作用
A/B/C/D 迁徙分类法
| 类别 | 含义 | 动作 |
|---|---|---|
| ** A** | 可移植——无平台私有引用,所有引用命令都存在 | 复制并使用 |
| ** B** | 可移植但缺少外部 DEPS(CLI,MCP 服务器) | 安装 DEPS,然后复制 |
| ** C** | 引用其他代理的惯例(AGENTS.md、image_gen,…) |
为你的目标重写 |
| D | 绑定到源平台的私有运行时 | 不要迁移 |
分类是启发式的、保守的,每个决定都带有理由——
索引显示了为什么某个技能落入每个桶,以及哪些依赖缺失
(实时探测 shutil.which / 你的 [deps] 表)。
安装
用途
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
agent-skill-sync
skillsync — scan, classify and sync AI-agent skills (SKILL.md files) across toolchains.
If you use several AI coding agents (OpenAI Codex, Claude Code, WorkBuddy, …), you end up with
skill libraries scattered across different directories, in different layouts, some copied, some
stale, some requiring dependencies you never installed. skillsync turns that mess into one
honest inventory — automatically.
Zero dependencies. Pure Python ≥ 3.11 stdlib.
What it does
┌──────────────┐ ┌──────────────┐ ┌────────────────┐
│ ~/.codex/ │ │ marketplace │ │ ~/.claude/ │ … any number of
│ skills/ │ │ plugin cache │ │ skills/ │ source roots
└──────┬───────┘ └──────┬───────┘ └───────┬────────┘
└──────────────┬───┴───────────────────┘
▼
┌───────────────┐ classify every skill:
│ scan + parse │ A portable · B missing deps
│ frontmatter │ C rewrite needed · D platform-private
└───────┬───────┘
▼
┌───────────────┐ diff against target:
│ INDEX.md │ identical · drifted · missing
│ inventory.json│
└───────┬───────┘
▼
┌───────────────┐ optional, safe copy:
│ skillsync sync│ dry-run first, backups, never deletes,
└───────────────┘ skips .venv/.env/node_modules
The A/B/C/D migration taxonomy
| Category | Meaning | Action |
|---|---|---|
| A | Portable — no platform-private references, every referenced command exists | copy & use |
| B | Portable but missing external deps (a CLI, an MCP server) | install deps, then copy |
| C | References another agent’s conventions (AGENTS.md, image_gen, …) |
rewrite for your target |
| D | Bound to the source platform’s private runtime | don’t migrate |
Classification is heuristic, conservative, and every decision ships a reason —
the index shows why a skill landed in each bucket, and which dependencies are missing
(probed live with shutil.which / your [deps] table).
Install
pipx install agent-skill-sync # recommended: isolated CLI install
pip install agent-skill-sync # or into your environment
# from source, without installing:
git clone https://github.com/kina-cmd/agent-skill-sync && cd agent-skill-sync
python -m skillsync.cli --help
Usage
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add kina-cmd/agent-skill-sync