shanliuling/skills-link 预览 preview

shanliuling/skills-link

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

项目介绍Project Overview

Skills-Link 是 DSH 自动化类插件,通过 skills-link 命令将本地 skills 目录以符号链接(Windows 用 Junction)方式统一指向 ~/AISkills 主目录,一次编辑即可在 41+ AI 编码代理中同步生效。适用于同时使用 Claude Code、Cursor、Windsurf 等多端工具并希望维护单一技能源的开发者,支持 addsynclist 等子命令以及通过 GitHub 跨设备同步。需注意:要求 Node.js 18+ 环境,且每款应用的 skills 路径将被覆盖为链接。

Skills-Link is a DSH automation plugin that unifies scattered skill folders across 41+ AI coding agents into one master directory using symlinks (or Windows Junctions). A single skills-link command makes every supported app read from ~/AISkills, so edits propagate instantly. Subcommands include add, sync, and list, with optional GitHub-based cross-device sync. Use it when juggling multiple agents like Claude Code, Cursor, or Windsurf and wanting one source of truth. Caveat: requires Node.js 18+ and overwrites each app's existing skills path with a link.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add github:shanliuling/skills-link

shanliuling/skills-link 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

Skills-Link

Skills-Link Banner

One skills folder, every AI app.

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

Also supports rules sync: rules-link

npm version License: MIT GitHub stars

English | 中文


How it works

  Claude Code ──┐
  Cursor ───────┤
  Windsurf ─────┤
  Cline ────────┼──▶  ~/AISkills/  ◀──▶  GitHub
  Gemini CLI ───┤        ▲
  Trae ─────────┤        │
  Roo Code ─────┘   Master Directory
                    (single source of truth)

Every app's ~/.xxx/skills becomes a symlink pointing to one master directory. Add or edit a skill once — every app sees it instantly.


Install

npm i -g skills-link

Quick start

skills-link

That's it. First run walks you through everything — detect apps, import skills, create links.

Run it again anytime to sync changes and check health.


Commands

Command Description
skills-link Main command — sync skills to all apps
skills-link add <repo> Install skill from GitHub
skills-link list List local skills
skills-link sync Push changes to GitHub
skills-link app Manage enabled apps
rules-link Sync rules

Install skill from GitHub

# Install all skills from a repo (choose one)
skills-link add vercel-labs/agent-skills

# Install specific skill
skills-link add vercel-labs/agent-skills -s web-design-guidelines

Supported agents

41+ agents out of the box:

AdaL Amp Antigravity Augment
Claude Code Cline CodeBuddy Codex
Command Code Continue Cortex Code Crush
Cursor Droid Gemini CLI GitHub Copilot
Goose iFlow CLI Junie Kilo Code
Kimi Code CLI Kiro CLI Kode MCPJam
Mistral Vibe Mux Neovate OpenClaw
OpenCode OpenHands Pi Pochi
Qoder Qwen Code Replit Roo Code
Trae Trae CN Windsurf Zencoder

Plus a universal fallback for any agent not listed. Add new agents with one line of code.


Cross-device sync

# Machine A — push skills to GitHub
skills-link sync

# Machine B — clone and link
skills-link  # automatically pulls from remote

Config

~/AISkills/config.yaml:

masterDir: ~/AISkills

git:
  enabled: true
  remote: https://github.com/you/skills.git
  autoPush: true

apps:
  - name: Claude Code
    skillsPath: ~/.claude/skills
    enabled: true

Language

skills-link --lang zh     # CLI flag
# or set language: zh in config.yaml

Requirements

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

Windows uses Junction links — no admin rights needed. macOS / Linux uses native symlinks.


License

MIT


⭐ Star History

If skills-link helped you, give it a star — it helps others find it too!

Star History Chart

上一个 Prev awesome-deepseek-harness-plugins 下一个 Next oh-story-dsh