返回目录

skills-link

维护状态: 维护中

shanliuling/skills-link

一条命令在 41+ 个 AI 编码智能体之间同步你的本地技能。

安装
$ npm i -g skills-link

189

星标

7

Fork

TypeScript

语言

MIT

许可证

2026-04-12

创建于

2026-05-14

最近推送

MIT 协议的 CLI 工具:把单一技能主目录符号链接到 41+ 个 AI 编码代理的技能目录,支持基于 GitHub 的跨设备同步;README 未提及 DeepSeek Harness,dsh 只能走 universal 兜底配置。

DSH 适配

生态相关

作者声明

安全审计

未审计

最后核验

2026-08-21

许可证

MIT

01它能帮你完成什么?

  • Maintain a single local skills library shared by every AI coding agent you use

    Every enabled app's `~/.xxx/skills` becomes a symlink to one master directory (`~/AISkills`); add or edit a skill once and every app sees it instantly

    Developers who run multiple AI coding agents (Claude Code, Cursor, Cline, Codex and 37 more) and don't want duplicated skills folders

  • Share the same skills library across machines via GitHub

    `skills-link sync` pushes changes to GitHub on one machine; running `skills-link` on another machine automatically pulls from remote and re-links

    Developers working across multiple machines who want their agent skills to follow them

  • Install community skills straight from GitHub repos

    Skills imported into the master directory via `skills-link add <repo>` — a whole repo or a single skill with `-s`

    Users adopting shared skill repositories such as vercel-labs/agent-skills

02如何接入 DeepSeek Harness?

前置条件

  • Node.js 18+ on Windows / macOS / Linux

安装步骤

  1. 01

    Install globally from npm: `npm i -g skills-link`

    $ npm i -g skills-link

  2. 02

    Run `skills-link` — the first run walks you through everything: detect apps, import skills, create links

验证接入成功

作者未说明

03DSH 适配与能力边界

DSH 适配生态相关

Ecosystem-level CLI that symlinks one master skills folder into 41+ AI coding agents' skills directories; the README does not mention DeepSeek Harness/dsh — unlisted agents can only connect via the `universal` fallback profile

  • Symlink-based skills sync across 41+ agents

    one master directory (`~/AISkills`) configured via `config.yaml`every enabled app's skills folder becomes a symlink to the master directory; one edit is visible in all apps instantly

    creates/replaces each enabled app's skills directory (e.g. `~/.claude/skills`) with a symlink — native symlinks on macOS / Linux, Junction links (no admin rights) on Windows
  • Install skills from GitHub

    a GitHub repo — all skills, or one skill via `-s <name>`skill files imported into the master directory and linked to every enabled app

    downloads skill content from GitHub
  • Cross-device sync via git

    a git remote configured under `git:` in `~/AISkills/config.yaml``skills-link sync` pushes changes to GitHub; another machine's `skills-link` automatically pulls from remote and links

    pushes your skills to the configured git remote (`autoPush: true` option)
  • Rules sync & app management

    `rules-link` command; `skills-link app` / `skills-link list`agent rules synced alongside skills; enabled apps and local skills managed from the CLI

04适合谁?何时不该用?

适合

  • Developers who run multiple AI coding agents (Claude Code, Cursor, Cline, Codex and 37 more) and don't want duplicated skills folders
  • Developers working across multiple machines who want their agent skills to follow them
  • Users adopting shared skill repositories such as vercel-labs/agent-skills

不适合

  • DeepSeek Harness (dsh) is not mentioned in the README and is not among the 41+ preconfigured agents; wiring it up would require the `universal` fallback profile or a custom one-line entry in src/core/path-detect.ts, neither of which is documented for dsh.
  • Linking redirects every enabled agent's skills directory to the shared master directory, so all linked apps share one copy — a bad edit or deletion in the master directory affects every app at once.

05兼容性、维护与安全提示

  • DeepSeek Harness (dsh) is not mentioned in the README and is not among the 41+ preconfigured agents; wiring it up would require the `universal` fallback profile or a custom one-line entry in src/core/path-detect.ts, neither of which is documented for dsh.
  • Linking redirects every enabled agent's skills directory to the shared master directory, so all linked apps share one copy — a bad edit or deletion in the master directory affects every app at once.
  • Requires Node.js 18+ and a global npm install (`npm i -g skills-link`); Windows relies on Junction links while macOS / Linux use native symlinks.
2026-04-122026-05-14v1.3.0

MIT · actively maintained (latest release v1.3.0, 2026-04-26)

06常见问题

Skills-Link 支持 DeepSeek Harness(dsh)吗?

README 未提及 DeepSeek Harness。它预置了 41+ 个代理——Claude Code、Cursor、Windsurf、Cline、Codex、Gemini CLI、Qoder 等——并为未列出的代理提供 universal 兜底配置;还可以在 src/core/path-detect.ts 中用一行代码添加新代理。

如何安装和初始化?

执行 `npm i -g skills-link`(需要 Node.js 18+),然后运行 `skills-link`。首次运行会引导完成全部流程:检测应用、导入技能、创建链接;之后随时重跑即可同步变更并做健康检查。

同步的原理是什么?

每个应用的 `~/.xxx/skills` 都会变成指向同一主目录(`~/AISkills`)的符号链接。Windows 使用 Junction 链接、无需管理员权限;macOS / Linux 使用原生符号链接。

能在多台设备之间共享技能吗?

可以。在 `~/AISkills/config.yaml` 中启用 git 后,在一台机器上执行 `skills-link sync` 推送到 GitHub;在另一台机器上运行 `skills-link`,会自动从远程拉取并建立链接。

我的数据会流向哪里?

技能保存在本地主目录中。只有在从 GitHub 安装技能(`skills-link add`)或向你配置的 git 远程仓库推送/拉取时才会联网。

08数据与来源

  • 作者声明github.com26487aee4948…

    Sync your local `skills` across 41+ AI coding agents with a single command.

  • 作者声明github.com26487aee4948…

    Plus a `universal` fallback for any agent not listed. [Add new agents with one line of code.](src/core/path-detect.ts)

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-08-21。发现错误?提交更正。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。