mcpField
A
add-skill-installer

add-skill-installer

github.com/kevintsai1202Agent workflows2858 installsUpdated 41w ago
Repository

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

  1. 01Install skills from Git sources
  2. 02List skills available in a repository
  3. 03Select specific skills to install
  4. 04Target multiple supported agents
  5. 05Choose global or project installation

Use cases

  1. 01Browse a repository before choosing skills
  2. 02Install one skill into Cursor
  3. 03Set up skills across several agents
  4. 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-installer

After installing, type/add-skill-installerin Claude Code to confirm it loaded.

Bundled filesREADME.md

Details

From the project README

Add Skill Installer

透過 npx add-skill 從任何 Git 儲存庫安裝 Agent Skills。

支援的 Agents

Agent識別名稱全域技能目錄
Antigravityantigravity~/.gemini/antigravity/skills/
Claude Codeclaude-code~/.claude/skills/
Cursorcursor.cursor/skills/
Codexcodex.codex/skills/
OpenCodeopencode.opencode/skills/
GitHub Copilotgithub-copilot.github/copilot/skills/
Roo Coderoo.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

執行步驟

當用戶請求安裝技能時:

  1. 確認來源:詢問用戶想從哪個 Git 儲存庫安裝
  2. 列出技能:執行 npx add-skill <source> --list 顯示可用技能
  3. 確認範圍:詢問要安裝到全域 (-g) 或專案級
  4. 確認目標 Agent:詢問要安裝到哪些 Agent(可多選)
  5. 執行安裝:執行安裝命令並回報結果
  6. 驗證安裝:檢查技能目錄確認安裝成功

技能儲存庫推薦

來源說明
vercel-labs/agent-skillsVercel 官方技能集
skillsmp.comSkills Marketplace
agentskills.ioAgent Skills 社群

注意事項

  • 需要安裝 Node.js 18+ 和 npm
  • 首次執行會提示安裝 add-skill 套件
  • 全域技能安裝後會立即生效,無需重啟 Agent
  • 使用 -y 參數可跳過所有確認提示,適用於 CI/CD

Comments

Markdown supported