Skip to main content

自定义 Skill 生命周期管理器 — 基于 git + symlink 管理 AI coding agent skills

Project description

sync-skills

自建 Skill 的全生命周期管理器。

它不是一个“下载别人 Skill 的工具”,也不是一个 Skill 商店。
它解决的是另一类问题:你自己写出来的 Skill,怎么持续迭代、怎么给多个本地 Agent 使用、怎么放到 GitHub 做备份与分享、怎么在多台电脑之间同步。

一句话定位

sync-skills 是一个 author-firstGit-firstrepo-first 的 Skill 管理工具。

  • author-first:先服务“我自己写 Skill、我自己维护 Skill”这件事
  • Git-first:版本管理、备份、协作、跨设备同步都建立在 Git 之上
  • repo-first:当前分发粒度是“整个个人 Skill 仓库”,不是单个 Skill 包

它打通了什么

一条完整主线:

  1. 创建一个新 Skill
  2. 在本地持续修改和迭代
  3. 让多个 Agent 同时可见
  4. 把整个 Skill 仓库推到 GitHub
  5. 在另一台电脑上继续拉取和使用
  6. 在不再需要时解绑、删除或下线

核心能力

  • 创建与纳管:创建新 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 模型下,它们不是主线需求。

文档


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 Skills
  • Git-first: versioning, backup, collaboration, and multi-device sync are all based on Git
  • repo-first: the current distribution unit is the whole personal Skill repository, not an individual Skill package

What it covers

One complete path:

  1. Create a new Skill
  2. Keep iterating on it locally
  3. Make it visible to multiple agents
  4. Push the whole Skill repository to GitHub
  5. Pull and continue using it on another machine
  6. 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, and status

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 management
  • push: send the whole repository to a remote
  • pull: 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sync_skills-0.5.20260419.6.tar.gz (97.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sync_skills-0.5.20260419.6-py3-none-any.whl (50.3 kB view details)

Uploaded Python 3

File details

Details for the file sync_skills-0.5.20260419.6.tar.gz.

File metadata

  • Download URL: sync_skills-0.5.20260419.6.tar.gz
  • Upload date:
  • Size: 97.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sync_skills-0.5.20260419.6.tar.gz
Algorithm Hash digest
SHA256 8426f477477f3642089b6beab22d016816cc9cebf2088048578b0902362de1c3
MD5 cfab73876caabc7fbc83984cc6c07d4e
BLAKE2b-256 39a7b310fa35b3672ba93c10d46116d050025d07e9b9fd21210585f2562e8f63

See more details on using hashes here.

Provenance

The following attestation bundles were made for sync_skills-0.5.20260419.6.tar.gz:

Publisher: publish.yml on LuShan123888/sync-skills

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sync_skills-0.5.20260419.6-py3-none-any.whl.

File metadata

File hashes

Hashes for sync_skills-0.5.20260419.6-py3-none-any.whl
Algorithm Hash digest
SHA256 faeffd900f7e5bcac1bf55fb81c34595b99870186fc4d53c44d2de812910ba55
MD5 848f890ec17268b96a739856a1d71b8e
BLAKE2b-256 89e023d994c9379ab3110ba98303d3686b81fdab7d28f602333ab636fd310242

See more details on using hashes here.

Provenance

The following attestation bundles were made for sync_skills-0.5.20260419.6-py3-none-any.whl:

Publisher: publish.yml on LuShan123888/sync-skills

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page