自定义 Skill 生命周期管理器 — 基于 git + symlink 管理 AI coding agent skills
Project description
sync-skills
自建 Skill 的全生命周期管理器。
它不是一个“下载别人 Skill 的工具”,也不是一个 Skill 商店。
它解决的是另一类问题:你自己写出来的 Skill,怎么持续迭代、怎么给多个本地 Agent 使用、怎么放到 GitHub 做备份与分享、怎么在多台电脑之间同步。
一句话定位
sync-skills 是一个 author-first、Git-first、repo-first 的 Skill 管理工具。
author-first:先服务“我自己写 Skill、我自己维护 Skill”这件事Git-first:版本管理、备份、协作、跨设备同步都建立在 Git 之上repo-first:当前分发粒度是“整个个人 Skill 仓库”,不是单个 Skill 包
它打通了什么
一条完整主线:
- 创建一个新 Skill
- 在本地持续修改和迭代
- 让多个 Agent 同时可见
- 把整个 Skill 仓库推到 GitHub
- 在另一台电脑上继续拉取和使用
- 在不再需要时解绑、删除或下线
核心能力
- 创建与纳管:创建新 Skill,或把已有 Skill 纳入统一管理
- 本地分发:通过符号链接把同一个 Skill 暴露给多个 Agent
- 版本管理:基于 Git 做提交、推送、拉取和回滚
- 多机同步:通过远程仓库在多台设备之间保持一致
- 生命周期管理:支持 link、unlink、remove、doctor、status 等日常操作
工作模型
当前模型很明确:
- 你维护一个自己的 Skill 仓库
- 仓库里的 Skill 是事实源
- 各个 Agent 目录通过 symlink 使用这些 Skill
- GitHub 远程仓库用于备份、分享和跨设备同步
这意味着当前主线不是:
- 搜索别人发布的 Skill
- 像包管理器一样安装单个第三方 Skill
- 维护一个中心化 Skill registry
这些不是当前产品主线。
最小使用流程
sync-skills init
sync-skills new my-skill
sync-skills status
sync-skills commit
sync-skills push
如果你换了一台电脑,主线通常是:
sync-skills init
sync-skills pull
sync-skills doctor
当前命令
| 命令 | 作用 |
|---|---|
init |
初始化或接入个人 Skill 仓库 |
new |
创建新的 Skill |
link |
将已有 Skill 纳入管理并分发到 Agent |
unlink |
解除指定 Agent 侧的可见性 |
remove |
从管理体系中删除 Skill |
status |
查看当前 Skill、链接和状态 |
doctor |
诊断并修复本地状态问题 |
commit |
提交当前仓库改动 |
push |
推送整个 Skill 仓库到远程 |
pull |
从远程拉取整个 Skill 仓库 |
为什么现在不需要 publish / import / install-from-git
因为当前分发模型已经足够清晰:
init:建立本地管理基线push:把整个仓库放到远程pull:在别的设备继续使用同一个仓库
只有当产品将来要支持“单个 Skill 的独立发布、独立安装、独立引用”时,publish / import / install-from-git 才会变成必要能力。
在当前的 repo-first 模型下,它们不是主线需求。
文档
- 设计文档:docs/DESIGN.md
- 用户故事:docs/USER_STORIES.md
- 变更历史:CHANGELOG.md
sync-skills
The lifecycle manager for self-authored Skills.
This is not a tool for downloading other people's Skills, and it is not a Skill marketplace.
It solves a different problem: once you create your own Skill, how do you iterate on it, expose it to multiple local agents, back it up or share it through GitHub, and keep it synced across multiple machines?
Positioning
sync-skills is an author-first, Git-first, repo-first Skill manager.
author-first: built for people who create and maintain their own SkillsGit-first: versioning, backup, collaboration, and multi-device sync are all based on Gitrepo-first: the current distribution unit is the whole personal Skill repository, not an individual Skill package
What it covers
One complete path:
- Create a new Skill
- Keep iterating on it locally
- Make it visible to multiple agents
- Push the whole Skill repository to GitHub
- Pull and continue using it on another machine
- Unlink, remove, or retire it when it is no longer needed
Core capabilities
- Creation and adoption: create a new Skill or bring an existing one under management
- Local distribution: expose the same Skill to multiple agents through symlinks
- Version management: use Git for commit, push, pull, and history-based recovery
- Multi-device sync: keep the repository aligned across machines through a remote
- Lifecycle operations: manage daily operations through
link,unlink,remove,doctor, andstatus
Operating model
The current model is explicit:
- You maintain one personal Skill repository
- Skills inside that repository are the source of truth
- Agent directories consume those Skills through symlinks
- The GitHub remote is used for backup, sharing, and multi-device sync
This means the current product is not centered on:
- discovering Skills published by others
- installing a single third-party Skill like a package manager
- maintaining a centralized Skill registry
Those are not the mainline product goals today.
Minimal workflow
sync-skills init
sync-skills new my-skill
sync-skills status
sync-skills commit
sync-skills push
On another machine, the mainline usually looks like:
sync-skills init
sync-skills pull
sync-skills doctor
Current commands
| Command | Purpose |
|---|---|
init |
Initialize or attach to a personal Skill repository |
new |
Create a new Skill |
link |
Bring an existing Skill under management and expose it to agents |
unlink |
Remove visibility from a specific agent side |
remove |
Remove a Skill from the managed lifecycle |
status |
Inspect current Skills, links, and state |
doctor |
Diagnose and repair local state problems |
commit |
Commit current repository changes |
push |
Push the whole Skill repository to the remote |
pull |
Pull the whole Skill repository from the remote |
Why publish / import / install-from-git are not required yet
Because the current distribution model is already coherent:
init: establish local managementpush: send the whole repository to a remotepull: continue using the same repository on another device
publish, import, and install-from-git only become necessary if the product later moves to independent publishing, installation, or referencing at the single-Skill level.
Under the current repo-first model, they are not mainline requirements.
Documents
- Design: docs/DESIGN.md
- User stories: docs/USER_STORIES.md
- Changelog: CHANGELOG.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sync_skills-0.5.20260419.5.tar.gz.
File metadata
- Download URL: sync_skills-0.5.20260419.5.tar.gz
- Upload date:
- Size: 96.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9263f1e11b5f4fc82f499cbd86a42c9974e4b7c47d8fc75580dc873bf706aa0e
|
|
| MD5 |
8fae69024461e3d1f163579039c9a1d1
|
|
| BLAKE2b-256 |
c0f3da92c8e2e56a7fc6ae2df7cc905288abcc2bc538a548a0c3adf80c6c7ff1
|
Provenance
The following attestation bundles were made for sync_skills-0.5.20260419.5.tar.gz:
Publisher:
publish.yml on LuShan123888/sync-skills
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sync_skills-0.5.20260419.5.tar.gz -
Subject digest:
9263f1e11b5f4fc82f499cbd86a42c9974e4b7c47d8fc75580dc873bf706aa0e - Sigstore transparency entry: 1340529141
- Sigstore integration time:
-
Permalink:
LuShan123888/sync-skills@1240c273bd2941e3f91212aab2635ac9cc12da06 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/LuShan123888
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1240c273bd2941e3f91212aab2635ac9cc12da06 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sync_skills-0.5.20260419.5-py3-none-any.whl.
File metadata
- Download URL: sync_skills-0.5.20260419.5-py3-none-any.whl
- Upload date:
- Size: 49.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca5d7b4243bf1ca65b0a7268bc104cfc1b9a6e01f69f3b7f327f97f4ec28c75b
|
|
| MD5 |
e50c520ce366d4173418c776fce96268
|
|
| BLAKE2b-256 |
717e472e25aec75ad07424faac46a1e58cf915aabc5b663e2d9ddcab27b9ac9a
|
Provenance
The following attestation bundles were made for sync_skills-0.5.20260419.5-py3-none-any.whl:
Publisher:
publish.yml on LuShan123888/sync-skills
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sync_skills-0.5.20260419.5-py3-none-any.whl -
Subject digest:
ca5d7b4243bf1ca65b0a7268bc104cfc1b9a6e01f69f3b7f327f97f4ec28c75b - Sigstore transparency entry: 1340529142
- Sigstore integration time:
-
Permalink:
LuShan123888/sync-skills@1240c273bd2941e3f91212aab2635ac9cc12da06 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/LuShan123888
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1240c273bd2941e3f91212aab2635ac9cc12da06 -
Trigger Event:
push
-
Statement type: