skills-link
开发工具 活跃维护

skills-link

shanliuling/skills-link

支持将本地自定义AI编程技能同步至41款以上主流AI编程代理,无需逐一手动配置,单条命令即可完成全平台技能更新,简化开发者技能管理流程。

189
Stars 标星
7
Forks 分支
189
Watchers 关注
1
Open Issues
TypeScript
主要语言
MIT
开源协议
9.9 MB
仓库大小
4 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:shanliuling/skills-link
git clone https://github.com/shanliuling/skills-link.git
git clone git@github.com:shanliuling/skills-link.git
README.md main
# 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](https://cdnimage-cache.doubi.ren/?url=https://badge.fury.io/js/skills-link.svg)](https://badge.fury.io/js/skills-link) [![License: MIT](https://cdnimage-cache.doubi.ren/?url=https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![GitHub stars](https://cdnimage-cache.doubi.ren/?url=https://img.shields.io/github/stars/shanliuling/skills-link?style=social)](https://github.com/shanliuling/skills-link) English | [中文](https://github.com/shanliuling/skills-link/blob/main/README.zh.md)

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