swarmskills

swarmskills

A CLI and MCP server for managing skills across ~45 code CLI agents, with 18 tools for discovering, installing, enabling, and syncing skills in mid-session.

Category
访问服务器

README

swarmskills

npm version npm downloads license CI

A CLI and MCP server for managing skills across ~45 code CLI agents.

  • Multi-agent: Claude Code, Cursor, Codex, Goose, Gemini CLI, OpenCode, GitHub Copilot, Windsurf, OpenHands, Qwen Code, Cline, Continue, Crush, iFlow, Junie, Kiro, Kode, Roo Code, Kilo Code, Antigravity, Amp, Droid, Firebender, Replit, Warp, Augment, Bob, CodeBuddy, Command Code, Cortex Code, Deep Agents, Kimi, MCPJam, Mistral Vibe, OpenClaw, TRAE, TRAE CN, Mux, Neovate, Pi, Pochi, Qoder, Zencoder, AdaL, Hermes — plus user-defined custom tools.
  • CLI: list, show, search, sync skills across tools; manage Claude Code plugins and marketplaces.
  • MCP server: 18 tools that let Claude (or any MCP client) discover, install, enable, and sync skills mid-session.

All agents use the same SKILL.md + YAML-frontmatter format; swarmskills knows where each one looks for them.

Install

npm install -g swarmskills

Requires Node.js 20+.

CLI usage

Multi-agent

# See every supported tool and which ones are detected on this machine
swarmskills tools list
swarmskills tools list --detected
swarmskills tools detect cursor

# List skills for a specific tool
swarmskills list --tool=cursor
swarmskills list --tool=goose

# List skills across every detected tool
swarmskills list --skills --all-tools

# Search across every detected tool
swarmskills search "test driven" --tool=all

# Show a skill's content from a non-Claude tool
swarmskills show my-skill --tool=cursor

# Register a custom tool
swarmskills tools add-custom myagent /abs/path/to/skills --name "My Agent"
swarmskills tools remove-custom myagent

Set a default tool

Tired of typing --tool=cursor every time? Pick a default and list, show, search (without --tool) will use it.

# Interactive picker — shows every detected tool, you choose one
swarmskills tools set-default

# Or pass the key directly
swarmskills tools set-default cursor
swarmskills tools set-default all              # default to cross-tool discovery

swarmskills tools get-default                  # show effective default + sources
swarmskills tools clear-default                # revert to claude-code

Resolution precedence (highest first):

  1. Explicit --tool=<key> flag on the command
  2. SWARMSKILLS_DEFAULT_TOOL environment variable
  3. defaults.tool in ~/.config/swarmskills/config.json
  4. claude-code

Sync skills across tools

# Mirror a skill from Claude Code into Cursor + Goose (symlink by default)
swarmskills sync my-skill --from claude-code --to cursor,goose

# Mirror every skill from one tool to another
swarmskills sync --all --from claude-code --to cursor

# Force overwrite, copy instead of symlinking
swarmskills sync my-skill --from claude-code --to cursor --copy --force

Claude Code plugins (Claude-only)

swarmskills list                                # plugins + skills for Claude Code
swarmskills enable superpowers@claude-plugins-official
swarmskills disable superpowers@claude-plugins-official
swarmskills install superpowers@claude-plugins-official
swarmskills marketplace list
swarmskills marketplace add my-marketplace owner/repo
swarmskills marketplace refresh claude-plugins-official

MCP server usage

Add to your MCP config (~/.claude.json or project .mcp.json or any other MCP-aware client):

{
  "mcpServers": {
    "swarmskills": {
      "command": "npx",
      "args": ["-y", "swarmskills-mcp"]
    }
  }
}

The server exposes 18 tools:

Tool Purpose
list_skills Enumerate skills for a tool, or across all detected tools
show_skill Read a skill's full SKILL.md
search_skills Fuzzy-search skills, plugins, and marketplace catalogs
list_tools Registry of supported CLI agents with detected/installed flags
detect_tool Probe a single tool key
add_custom_tool / remove_custom_tool Register/unregister user-defined CLI agents
get_default_tool / set_default_tool / clear_default_tool Manage the default tool used when no tool is passed
sync_skill Symlink/copy a skill from one tool to others
list_plugins List installed Claude Code plugins
enable_plugin / disable_plugin Toggle a Claude Code plugin
install_plugin / uninstall_plugin Manage Claude Code plugins
list_marketplaces List Claude Code marketplaces
list_marketplace_catalog Show plugins offered by a marketplace
add_marketplace / remove_marketplace Manage Claude Code marketplaces
refresh_marketplace git pull a marketplace clone

Restart caveat: Most CLI agents read their skill state at session start. Mutating tools (enable, install, sync) return requiresRestart: true — restart the affected agent for changes to take effect.

For HTTP transport instead of stdio:

swarmskills-mcp-http --port 4100

Supported tools (built-in)

Key Display name Default skills dir
claude-code Claude Code ~/.claude/skills (+ plugin cache)
cursor Cursor ~/.cursor/skills
codex Codex ~/.codex/skills
goose Goose ~/.config/goose/skills
gemini-cli Gemini CLI ~/.gemini/skills
github-copilot GitHub Copilot ~/.copilot/skills
windsurf Windsurf ~/.codeium/windsurf/skills
opencode OpenCode ~/.config/opencode/skills
openhands OpenHands ~/.openhands/skills
qwen-code Qwen Code ~/.qwen/skills
cline Cline ~/.agents/skills
continue Continue ~/.continue/skills
crush Crush ~/.config/crush/skills
iflow iFlow CLI ~/.iflow/skills
junie Junie ~/.junie/skills
kiro Kiro CLI ~/.kiro/skills
kode Kode ~/.kode/skills
roo-code Roo Code ~/.roo/skills
kilo-code Kilo Code ~/.kilocode/skills
antigravity Antigravity ~/.gemini/antigravity/skills
amp Amp ~/.config/agents/skills
droid Droid ~/.factory/skills
firebender Firebender ~/.firebender/skills
replit Replit ~/.config/agents/skills
warp Warp ~/.agents/skills
augment Augment ~/.augment/skills
bob IBM Bob ~/.bob/skills
codebuddy CodeBuddy ~/.codebuddy/skills
command-code Command Code ~/.commandcode/skills
cortex Cortex Code ~/.snowflake/cortex/skills
deepagents Deep Agents ~/.deepagents/agent/skills
kimi Kimi Code CLI ~/.config/agents/skills
mcpjam MCPJam ~/.mcpjam/skills
mistral-vibe Mistral Vibe ~/.vibe/skills
mux Mux ~/.mux/skills
neovate Neovate ~/.neovate/skills
openclaw OpenClaw ~/.openclaw/skills
pi Pi ~/.pi/agent/skills
pochi Pochi ~/.pochi/skills
qoder Qoder ~/.qoder/skills
trae TRAE IDE ~/.trae/skills
trae-cn TRAE CN ~/.trae-cn/skills
zencoder Zencoder ~/.zencoder/skills
adal AdaL ~/.adal/skills
hermes Hermes Agent ~/.hermes/skills (recursive)

Path list cribbed from xingkongliang/skills-manager — credit where due.

.config/... paths also honour XDG_CONFIG_HOME when set. Need a tool that's not on this list? swarmskills tools add-custom <key> <skillsDir>.

How it works

For each tool, swarmskills resolves the on-disk skills directory and parses the YAML frontmatter from each SKILL.md. Claude Code additionally has plugin-bundled skills under ~/.claude/plugins/cache/<marketplace>/<plugin>/skills/, surfaced via the same list_skills API.

State managed:

  • ~/.claude/skills/ — Claude Code standalone skills
  • ~/.claude/plugins/installed_plugins.json — Claude plugin registry
  • ~/.claude/plugins/known_marketplaces.json — Claude marketplace registry
  • ~/.claude/settings.json enabledPlugins — Claude per-plugin enabled flags
  • ~/.config/swarmskills/config.json — swarmskills's own config (custom tools, defaults)

All writes are atomic (write to .tmp then rename).

To run against a non-default home for testing:

SWARMSKILLS_HOME=/path/to/fake-home swarmskills tools list

Development

pnpm install
pnpm test
pnpm build

License

MIT © SwarmClaw AI

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选