About add-skill-installer
A CLI skill for installing Agent Skills from Git repositories into supported coding agents. It accepts repository URLs or skill paths and can target project or global skill directories.
Key features
- 01Install skills from Git sources
- 02List skills available in a repository
- 03Select specific skills to install
- 04Target multiple supported agents
- 05Choose global or project installation
Use cases
- 01Browse a repository before choosing skills
- 02Install one skill into Cursor
- 03Set up skills across several agents
- 04Install skills globally or for a project
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ kevintsai1202/ add-skill-installer --skill add-skill-installerAfter installing, type/add-skill-installerin Claude Code to confirm it loaded.
Bundled filesREADME.md
Details
From the project READMEAdd Skill Installer
透過 npx add-skill 從任何 Git 儲存庫安裝 Agent Skills。
支援的 Agents
| Agent | 識別名稱 | 全域技能目錄 |
|---|---|---|
| Antigravity | antigravity | ~/.gemini/antigravity/skills/ |
| Claude Code | claude-code | ~/.claude/skills/ |
| Cursor | cursor | .cursor/skills/ |
| Codex | codex | .codex/skills/ |
| OpenCode | opencode | .opencode/skills/ |
| GitHub Copilot | github-copilot | .github/copilot/skills/ |
| Roo Code | roo | .roo/skills/ |
CLI 完整用法
Usage: add-skill [options] <source>
Install skills onto coding agents
Arguments:
source Git repo URL, GitHub shorthand (owner/repo), or direct path to skill
Options:
-V, --version 輸出版本號
-g, --global 全域安裝(user-level)而非專案級
-a, --agent <agents...> 指定目標 Agent(可指定多個)
-s, --skill <skills...> 指定要安裝的技能名稱(可指定多個)
-l, --list 列出儲存庫中可用的技能(不安裝)
-y, --yes 跳過確認提示(非互動模式)
-h, --help 顯示說明
來源格式
# GitHub 簡寫
npx add-skill vercel-labs/agent-skills
# 完整 GitHub URL
npx add-skill https://github.com/vercel-labs/agent-skills
# 指定 Repo 中的特定路徑
npx add-skill https://github.com/vercel-labs/agent-skills/tree/main/skills/frontend-design
# GitLab URL
npx add-skill https://gitlab.com/org/repo
# SSH Git URL
npx add-skill [email protected]:vercel-labs/agent-skills.git
常用指令範例
列出可用技能
npx add-skill vercel-labs/agent-skills --list
安裝所有技能到 Antigravity 全域
npx add-skill vercel-labs/agent-skills -g -a antigravity -y
安裝到多個 Agents
npx add-skill vercel-labs/agent-skills -g -a antigravity claude-code cursor -y
安裝特定技能
npx add-skill vercel-labs/agent-skills --skill frontend-design -g -a antigravity -y
安裝多個特定技能
npx add-skill vercel-labs/agent-skills --skill frontend-design nextjs-expert -g -a antigravity -y
安裝到當前專案(非全域)
npx add-skill vercel-labs/agent-skills -a antigravity -y
互動式安裝(會提示選擇)
npx add-skill vercel-labs/agent-skills
執行步驟
當用戶請求安裝技能時:
- 確認來源:詢問用戶想從哪個 Git 儲存庫安裝
- 列出技能:執行
npx add-skill <source> --list顯示可用技能 - 確認範圍:詢問要安裝到全域 (
-g) 或專案級 - 確認目標 Agent:詢問要安裝到哪些 Agent(可多選)
- 執行安裝:執行安裝命令並回報結果
- 驗證安裝:檢查技能目錄確認安裝成功
技能儲存庫推薦
| 來源 | 說明 |
|---|---|
vercel-labs/agent-skills | Vercel 官方技能集 |
| skillsmp.com | Skills Marketplace |
| agentskills.io | Agent Skills 社群 |
注意事項
- 需要安裝 Node.js 18+ 和 npm
- 首次執行會提示安裝
add-skill套件 - 全域技能安裝後會立即生效,無需重啟 Agent
- 使用
-y參數可跳過所有確認提示,適用於 CI/CD
Comments
Markdown supported