Skip to main content Switch to mobile version skillshuttle 1.1.0 Skillshuttle - cross-platform skill manager for 14 domestic AI agent products (command: skillshuttle, legacy alias: askill; formerly cn-skill-sync)
pip install skillshuttle Copy PIP instructions
v1.0.0 起三名统一为 skillshuttle:PyPI 包、GitHub 仓库、CLI 命令同名(askill 保留为永久别名)。此前包名为 cn-skill-sync(v0.31.0 及更早,已冻结)、仓库为 agent-skill-manager(旧链接自动 301 重定向)。
⚠️ 不要 pip install askill——PyPI 上的 askill 是另一个不相关的项目。本项目安装用 pip install skillshuttle,装完的命令叫 skillshuttle(askill 别名同时可用)。 📦 0.x 老用户升级到 1.x:完整指南见 docs/upgrade-to-1.0.md(TL;DR:pip uninstall cn-skill-sync → pip install skillshuttle,技能与配置零丢失)。
一次开发,14 端同步 — 跨平台统一管理国内 AI Agent 产品的 Skill 安装与同步
每个国产 AI Agent 产品都有自己独立的 skill 目录,开发一个 skill 要手动复制到每个产品:
~/.openclaw-autoclaw/skills/my-skill/ ← AutoClaw2 ~/.config/agents/skills/my-skill/ ← Kimi ~/.workbuddy/skills/my-skill/ ← WorkBuddy ~/.trae-cn/skills/my-skill/ ← Trae CN ~/.codebuddy/skills/my-skill/ ← CodeBuddy ~/.comate/skills/my-skill/ ← Comate ~/.qoder-cn/skills/my-skill/ ← Qoder CN ... 每改一次都要重复一遍 skillshuttle 用「中央仓库 + 一键分发」解决这个问题:改一处,全同步。
口径:14 = 声明式清单(src/config/products.py)里的产品数,skillshuttle products 可复现。
Linux 支持(v0.10.0):CLI 类产品(AutoClaw2、Kimi Code CLI、MiniMax Code、CodeBuddy、Comate、Qwen Code、ZCode)在 Linux 上走相同的 dotdir 约定 + 原生 symlink;DuMate 的 zip 打包全平台可用。暂无 Linux 版本的桌面/IDE 产品自动跳过(skillshuttle products 显示 N/A),产品发布 Linux 版后补充 linux_path 即可。
完整能力矩阵(v0.13.0):逐产品的路径 / 同步方式 / settings 开关 / frontmatter 要求 / 各命令支持状态盘点见 docs/product-matrix.md。
核心设计:中央仓库 ~/.agents/skills/ 作为唯一权威源,通过 symlink(macOS/Linux)或 junction(Windows)自动分发到各产品。对不支持文件系统的 DuMate,打包为 .zip 手动上传;QwenWork/豆包工作 同样支持 junction 同步。
Windows:使用 mklink /J 创建 junction,无需管理员权限
macOS / Linux:使用 ln -s 创建 symlink
冲突保护(v0.13.0):产品目录中已存在与中央仓库内容不同的同名真实目录时,sync 跳过并警告(--force 才覆盖),绝不静默清掉你手动维护的技能
PyPI 上另有名为 agent-skill-manager 的同类 CLI(命令 sm),面向 Claude Code / Cursor / Windsurf 等国际 agent。本项目从产品覆盖面到同步模型都不同:
完整竞品对标(8 个同类项目的机制拆解与借鉴结论)见 docs/competitive-research-2026-11.md。
一句话区别:同类工具的主场景是从 GitHub 发现、下载、部署 skill;skillshuttle 的主场景是本地中央仓库一处维护、14 个国产产品实时同步——从 GitHub 安装只是入口之一。
命名对照(包名 ≠ 仓库名 ≠ 命令名,PyPI 上还有同名干扰):
# 从 PyPI 安装(推荐) pip install skillshuttle # 开发模式安装 cd skillshuttle pip install -e . # 如果 pip 遇到 TLS 证书问题 python -m pip install -e . --no-build-isolation 安装后 skillshuttle 命令全局可用。
也可以通过 npx skills 生态安装官方技能仓库里的能力型技能:
# 可直接使用的技能(诊断 / 同步排障) npx skills add yxdwind/skills@skill-doctor npx skills add yxdwind/skills@sync-troubleshoot yxdwind/skillshuttle 仓库根的 SKILL.md 是本工具的自述元技能(告诉 agent 有这个工具), 不是日常要用的能力型技能。想让 agent 自己管理技能,装 askill-ops: skillshuttle install yxdwind/skills@askill-ops。
# 查看所有产品的 skill 安装状态(含安全评测评分列) skillshuttle status # 一键同步所有 skill 到所有产品 skillshuttle sync # 同步指定 skill skillshuttle sync my-skill # v0.13.0 冲突保护:产品目录里已有的同名"真实目录"(非链接)不会被静默覆盖, # sync 会跳过并提示;确认要覆盖时加 --force skillshuttle sync my-skill --force # v0.17.0 settings.json 占用提示:若目标产品 IDE 正在运行并锁住 settings.json # (Windows 常见,报 WinError 5 / 拒绝访问),sync 仍会建好链接,但会在末尾 # 聚合打印醒目的提示,列出「已链接但未启用」的产品与处理建议 # (关闭/重启该 IDE 后重跑 skillshuttle sync 即可让 skill 真正生效,不再静默白做) # 列出中央仓库中的所有 skill(含安全评测评分) skillshuttle list # 安装 skill(本地路径 / GitHub URL / skills.sh 生态简写) # v0.12.0 起:安装后默认自动跑 spec 检查 + 安全评测,risky/dangerous 高亮告警 # v0.13.0 起:还会检查各产品的 frontmatter 特殊要求(如 QwenWork 需要 description_zh) skillshuttle install /path/to/skill-folder skillshuttle install --sync /path/to/skill-folder # 安装后自动同步到所有产品 skillshuttle install --audit /path/to/skill-folder # 额外打印完整审计报告 skillshuttle install --no-audit /path/to/skill-folder # 跳过默认安全检查 skillshuttle install --sync --audit
1. skillshuttle watch ← 开启实时监听(推荐常驻) 2. 编辑 ~/.agents/skills/my-skill/SKILL.md ← 保存即自动同步 + 安全复检 3. skillshuttle update --check ← 想升级时看看哪些 skill 有新版本 创作与发布(v0.15.0)
1. skillshuttle new my-skill --target qwenwork ← 脚手架:frontmatter 按产品要求预填 2. skillshuttle publish my-skill --repo owner/name ← 门禁校验 + dry run(--push 实发) 发布后的技能即可被 skillshuttle install owner/repo@skill 和 npx skills add 安装,skills.sh 随安装量自动收录排行。实盘参考:官方技能仓库 yxdwind/skills(skill-doctor / sync-troubleshoot,可直接 skillshuttle install yxdwind/skills@skill-doctor 安装)。
skillshuttle/ ├── pyproject.toml # PEP 621 项目配置 ├── setup.py # setuptools 兼容入口 ├── docs/ │ ├── architecture.svg # 架构图 │ ├── demo.gif # 终端演示动图 │ ├── social-preview.png # 社交分享卡片图(GitHub social preview) │ ├── product-paths.md # 各产品详细路径参考 │ └── product-matrix.md # 产品能力矩阵盘点(v0.13.0 基线) ├── src/ # 包根(映射为 agent_skill_manager 包) │ ├── __init__.py / __main__.py │ ├── config/products.py # 14 个产品定义(路径/sync方式/settings/共享目录/ │ │ # 产品级 frontmatter 要求,全部声明式) │ ├── controllers/cli.py # CLI 命令(23 commands) │ ├── models/ # TypedDict 数据模型 │ ├── services/ # 业务逻辑(sync / audit / watch / sources │ │ # / registry / spec / welcome(首跑引导)) │ └── utils/ # filesystem.py(跨平台文件操作) │ # watcher.py(原生文件事件:inotify/kqueue/ReadDirectoryChangesW) ├── .github/ISSUE_TEMPLATE/ # 新产品支持请求模板(用户填报 → 一周内适配) └── tests/ # 532 个测试(38 个文件,下方为节选) ├── test_products.py ├── test_utils.py ├── test_core.py ├── test_adopt.py ├── test_security.py ├── test_cli.py ├── test_cli_flags.py ├── test_drift.py ├── test_new.py ├── test_publish.py ├── test_watch.py ├── test_watcher.py ├── test_welcome.py # 首跑引导(只出现一次 / quiet·json 静默) ├── test_registry.py ├── test_spec.py └── test_matrix.py # 跨产品一致性回归锁定(v0.13.0) 实时监听与升级(v0.8.0 / v0.10.0)
skillshuttle watch — 改完即同步(v0.10.0 升级为事件驱动)
skillshuttle watch 常驻监听中央仓库,默认挂起在操作系统原生文件事件上,零第三方依赖:
事件驱动:Linux 用 inotify、macOS 用 kqueue、Windows 用 ReadDirectoryChangesW(全部标准库 ctypes/select 实现);文件一保存即刻感知,实测延迟约 0.4 秒(含去抖),不再是固定 3 秒轮询
去抖合并:编辑器一次保存的多个 syscall 事件合并为一次同步,只重同步真正变化的 skill
产品侧自愈对账(v0.19.0):每 30 秒(随 --interval 放大)一次 sweep,把「中央仓库有、产品目录缺」的链接补回去——手动删掉的、同步失败丢了的、比 watch 启动更早存在的 skill 都会被补上;产品路径已有任何东西(真实目录 / 活链接 / 死 junction)则不动,你的手动副本归 skillshuttle sync --force 管
新增/修改 skill → 自动同步到全部产品,实时打印每个产品结果
冲突/打包提示(v0.13.0) → 产品目录有同名冲突时保留本地并提示处理方式;DuMate 等 pack 类产品会提示运行 skillshuttle pack 刷新压缩包
安全复检 → 每次同步后重跑 audit;安全评级从 safe 跌到 risky/dangerous 时高亮告警并列出主要问题
自动降级 → 原生事件不可用(受限内核等)或运行中失效时,自动退回轮询模式(--interval 可调,默认 3 秒),监听永不中断
skillshuttle update — 来源追踪与一键升级
通过 GitHub URL 安装的 skill 会自动记录来源(仓库/路径/分支/commit)到 ~/.agents/skills/.skillshuttle-sources.json:
skillshuttle update --check # 列出哪些 skill 远端有新版本 skillshuttle update # 检查并应用全部更新(更新后自动同步 + 复检) skillshuttle update my-skill # 只更新指定 skill 注意区分:update 升级的是技能;skillshuttle upgrade(v0.29.0)升级的是 skillshuttle 工具本身(对比 PyPI 后由 pip 执行,editable 开发装会被拒绝并提示 git pull)。
skillshuttle upgrade — 工具自升级(v0.29.0)
skillshuttle upgrade 升级 skillshuttle 本体:先对比 PyPI 最新版本(stdlib urllib,零依赖),再由 pip 在同一解释器里完成文件替换(python -m pip install --upgrade cn-skill-sync)——工具从不替换自己的文件。
skillshuttle upgrade --check # 只对比不升级(网络只读) skillshuttle upgrade # 有新版则升级,已最新则报告 skillshuttle upgrade --json # 机器可读(current / latest / upgrade_available / mode / action) 安装方式自适应(PEP 610 direct_url.json):
pip 安装:直接升级;升级后新开终端生效(当前进程仍是旧代码)
editable 开发装:拒绝执行并提示 git pull(源码 checkout 就是运行代码;--check 仍可用)
无 pip 的环境(uv tool venv):提示 uv tool upgrade skillshuttle
Windows 说明:运行中的 skillshuttle.exe 由 pip 的重命名机制替换(pip ≥ 21.1);万一报文件锁,关闭其他 skillshuttle 进程后重试。
skillshuttle uninstall — 卸载清理
skillshuttle uninstall 把 skillshuttle 在各产品目录留下的足迹收干净:逐个产品扫描,把能证明指向中央仓库的链接(symlink / junction)删掉,并关掉对应产品在 settings.json 里的技能开关。
skillshuttle uninstall --dry-run # 只打印计划,不动任何东西 skillshuttle uninstall # 打印计划 → 确认 → 执行 skillshuttle uninstall --yes # 跳过确认(脚本用) skillshuttle uninstall --json # 机器可读:--json 单独用只输出计划;配合 --yes 则执行并输出结果 两条硬规则:
中央仓库不动——~/.agents/skills 里是你自己的 skill,卸载不碰它。
CLI 本体由命令末尾给出的那条指令卸载(Windows 上运行中的 skillshuttle.exe 被占用,pip 卸自己常常失败,所以工具只负责清理并把命令交给你):
Removed 1648 link(s). Central repository kept: C:\Users\<你>\.agents\skills (127 skill(s)). To remove the CLI itself, run: pip uninstall skillshuttle editable 安装(源码 checkout)会改成提示「这个目录就是代码本身,请自行删除」;装的是改名前的 cn-skill-sync 0.x 时给出对应的那条卸载指令。
skills.sh 生态接入(v0.11.0)
skills.sh(Vercel Labs)是开放 Agent Skills 生态(agentskills.io 规范)的事实注册表。skillshuttle 三个方向接入,全程零依赖(标准库 urllib):
① 消费生态——装 skills.sh 上的任何技能,不再需要 Node:
skillshuttle search pdf # 搜索注册表(名称/来源/装机量) skillshuttle search pdf --install 1 # 直接安装第 N 条结果 skillshuttle install anthropics/skills@pdf # 简写安装,与 npx skills add 语法一致 skillshuttle install https://skills.sh/anthropics/skills/pdf # 粘贴 skills.sh 页面链接也行 ② 发布到生态——中央仓库 ~/.agents/skills/ 本身就是规范布局(每个技能一个含 SKILL.md 的目录),推到 GitHub 即可被 skills.sh 收录、被所有兼容 agent 读取:
skillshuttle verify # 按 agentskills.io 规范逐项检查(name/description/长度/目录匹配) skillshuttle verify my-skill # 只查一个;errors 阻断收录,warnings 仅建议(如正文超 500 行) v0.13.0 起还会追加按产品 frontmatter 要求检查(如 QwenWork 需要 name+version+description+description_zh),缺失字段会逐产品列出;skillshuttle install 后也会自动提示,避免"装完了产品却加载不出来"。
③ 双向桥接——用 npx skills add -g
npx skills add -g anthropics/skills # 先用 skills CLI 装到它支持的产品 skillshuttle adopt all # 扫描全部产品目录,收编 + 分发到 14 个国产产品 安全评测(audit)
skillshuttle audit 对 skill 做零依赖静态分析,从 100 分起扣,按严重级别加权(危险/高危每类封顶 40 分,良性 low 每类封顶 10 分):
评分与结论:A ≥ 90(safe)· B ≥ 80(safe)· C ≥ 70(caution)· D ≥ 60(risky)· F < 60(dangerous)
良性噪声封顶:URL、.env 引用、child_process 这类 low 级良性命中,每类单独封顶(_MINOR_CAP=10),不再刷满分类上限把无害的大 skill 误评成 F。
开发/测试路径降权:test/ tests/ bin/ scripts/ dev/ examples/ fixtures/ node_modules/ dist/ build/ docs/ 等路径里的发现会被降权并标注 (dev/test path - verify),保留供人工复核但不拉低评分。可用环境变量 ASKILL_AUDIT_DEV_MODE 切换:downweight(默认)/ skip(完全跳过)/ off(恢复旧行为,全量计入)。
收紧误报正则:regex.exec() 不再误判为「动态代码执行」(child_process.exec 仍由既有的中危规则覆盖);移除凭据检测中对裸词 credentials 的匹配后,防御性「拒绝携带凭据的 URL」代码不再被误判为「读取敏感凭据文件」。
skillshuttle list 和 skillshuttle status 的输出中也会直接带上每个 skill 的评分(score/grade/结论)。v0.12.0 起,每次 skillshuttle install 都默认运行 spec 检查 + 安全评测(v0.13.0 起还包含按产品 frontmatter 要求检查):干净时只打印一行 [check] 摘要,risky/dangerous 在任何模式下高亮告警;--audit 打印完整报告,--no-audit 跳过:
skillshuttle install --sync --audit https://github.com/user/repo/tree/main/my-skill # 同步 + 完整审计报告 skillshuttle install --no-audit https://github.com/user/repo/tree/main/my-skill # 跳过默认检查 二次开发
编辑 src/config/products.py,在 PRODUCTS 列表中添加:
{ "name": "新产品名称", "short": "short-name", "macos_path": HOME / ".newproduct" / "skills", "windows_path": HOME / ".newproduct" / "skills", "linux_path": HOME / ".newproduct" / "skills", # 无 Linux 版则省略(或 None) "sync_method": "symlink", # symlink | native | pack "note": "说明信息", "extra_dirs_macos": [], "extra_dirs_windows": [], "extra_dirs_linux": [], # v0.13.0 起的可选声明,按产品实际情况填写: # "settings_file": HOME / ".newproduct" / "settings.json", # "settings_mode": "skills-switch", # settings.json 含 {"skills": {name: bool}} # "required_frontmatter": ["name", "version"], # 产品额外要求的 SKILL.md 字段 } 声明到位后,sync/status/watch 的行为、frontmatter 校验和 tests/test_matrix.py 的一致性断言都会自动覆盖新产品,无需改其他代码。
完整适配流程(含各平台实测清单与发布步骤)见 docs/onboarding-new-product.md —— 目标:新产品发布后一周内支持。用户也可以直接提 新产品支持请求。
pip install pytest pytest tests/ -v Shell 智能补全(v0.13.0)
自带 bash / zsh / fish 补全脚本,零依赖。补全脚本有两种获取方式:
从源码(git clone):直接用仓库根目录的 completion/: # bash source completion/skillshuttle.bash # zsh — 拷贝到 $fpath 下任一目录后 compinit 即可 cp completion/_skillshuttle ${fpath[1]}/_skillshuttle # fish cp completion/skillshuttle.fish ~/.config/fish/completions/
从 PyPI 安装(v0.18.1+):wheel 已内置补全脚本,先定位安装位置再 source: # 找到补全脚本所在目录(Windows 把 / 换成 \) COMPLETION_DIR="$(python -c 'import agent_skill_manager,os;print(os.path.join(os.path.dirname(agent_skill_manager.__file__),"completion"))')" source "$COMPLETION_DIR/skillshuttle.bash"
补全会从 skillshuttle list --quiet / skillshuttle products --json 实时拉取 skill 名 与产品短名,所以新装的 skill 也会立刻出现在 Tab 候选里。
请阅读 CONTRIBUTING.md — 项目使用 Conventional Commits (commitizen 强制),提交前本地跑 ruff check src tests + mypy src + pytest tests -q 三件套,CI 与本地必须同绿。
yxdwind/skills — 官方技能发布仓库(skill-doctor / sync-troubleshoot,skillshuttle install yxdwind/skills@
manage-my-skills — 跨平台 Skills 管理工具,支持 20+ 国际产品
awesome-agent-skills — Agent Skills 终极指南
skills CLI — npm 上的 agent skills 包管理器
skill-creator — Skill 编写规范参考
@GLM-5.2 — AI 协作开发(智谱 GLM-5.2)
安全政策(SECURITY.md) — 漏洞报告指引与安全建议
隐私政策(PRIVACY.md) — 数据本地处理说明
sync 与 settings.json 占用:Windows 上若目标产品的 IDE 正在运行并锁住其 settings.json(报 WinError 5 / 拒绝访问),sync 仍会建好技能链接,但无法在该产品内启用该 skill。此时 sync 末尾会聚合打印醒目提示,列出「已链接但未启用」的产品及处理建议——关闭 / 重启该 IDE 后重跑 skillshuttle sync 即可让 skill 真正生效,请勿误以为已同步成功。
watch 在受限 / 容器环境:watch 优先使用原生文件系统事件(Linux inotify / macOS kqueue / Windows ReadDirectoryChangesW),不可用时回退为轮询。在部分沙箱 / 容器里事件可能不下发,会表现为「看起来没反应」,但轮询兜底仍在持续监听;原生终端下可正常运行。
drift 跨产品目录扫描:drift 会读取家目录下的各产品目录,在权限受限的环境(如某些沙箱)可能被安全策略中断,需在授予权限的常规终端中运行。
publish 门禁:默认检查全部声明了额外 frontmatter 要求的产品;若你只发布到部分产品,请用 skillshuttle publish
安全评测的误报:audit 会对开发 / 测试路径(如 test/、bin/)里的代码降权处理,但仍是静态启发式分析,存在误报可能;高危结论请结合源码人工复核。
Released: Dec 5, 2026
Both files in this release have provenance metadata.
View provenance details
skillshuttle askill agent agent-skills skill sync autoclaw kimi minimax workbuddy trae dumate codebuddy comate qoder qwenwork qwencode doubaowork zcode cli security-audit skills-sh linux inotify fs-events
Development Status 4 - Beta
Intended Audience Developers
License OSI Approved :: MIT License
Operating System MacOS :: MacOS X
Microsoft :: Windows
Programming Language Python :: 3
Topic Software Development :: Libraries :: Python Modules
Release files for skillshuttle 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 350.0 kB
Release files / skillshuttle-1.1.0.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.
Release files / skillshuttle-1.1.0-py3-none-any.whl
Security for skillshuttle 1.1.0
Both files in this release have been uploaded with provenance metadata.
With provenance skillshuttle-1.1.0.tar.gz Dec 5, 2026
With provenance skillshuttle-1.1.0-py3-none-any.whl Dec 5, 2026
Attestation for skillshuttle-1.1.0.tar.gz
Attestation for skillshuttle-1.1.0-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 5, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 4d99e05











