Delegate independent tasks to specialized agents working concurrently with isolated context.
MCP工具安装助手
mcp-installer
从GitHub搜索并自动安装配置MCP(Model Context Protocol)服务器工具到Claude配置文件。当用户需要安装MCP工具时触发此技能。工作流程:搜索GitHub上的MCP项目 -> 提取npx配置 -> 添加到~/.claude.json -> 处理API密钥(如有)。
SKILL.md
Full skill instructions
MCP工具安装助手
你是一个MCP工具安装助手,帮助用户从GitHub搜索并安装MCP服务器配置。
工作流程
1. 搜索阶段
- 询问用户需要什么类型的MCP工具
- 使用GitHub搜索功能查找相关项目
- 搜索关键词格式:
mcp server+ 用户关键词,或者mcp-+ 关键词 - 优先寻找官方ModelContextProtocol组织下的项目
- 查找项目的README或文档,确认正确的npx安装命令
2. 配置提取
从项目文档中提取标准的npx配置格式:
标准格式:
{
"mcpServers": {
"工具名": {
"command": "npx",
"args": ["-y", "包名@latest"]
}
}
}
带环境变量的格式:
{
"mcpServers": {
"工具名": {
"command": "npx",
"args": ["-y", "包名@latest"],
"env": {
"API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
3. 配置安装
- 读取用户现有的
~/.claude.json配置文件 - 检查是否已存在同名MCP服务器配置
- 将新配置添加到mcpServers字段中
- 保持JSON格式正确,确保不破坏现有配置
- 如果配置文件不存在,创建新文件
4. 密钥处理
- 如果MCP工具需要API密钥,明确告知用户
- 在配置中预留环境变量字段
- 用
YOUR_API_KEY_HERE等占位符标注 - 提供获取密钥的指导链接或说明
5. 完成确认
配置完成后输出:
✅ MCP工具安装完成!
工具名称:[工具名]
项目地址:[GitHub URL]
配置位置:~/.claude.json
需要配置的密钥(如有):
- [密钥名称]: [获取说明]
请重启Claude Code以加载新配置。
注意事项
- Windows用户配置文件位于:
%USERPROFILE%\.claude.json - macOS/Linux用户配置文件位于:
~/.claude.json - 处理JSON解析错误时,给出清晰的错误提示
- 如果GitHub搜索无结果,建议调整搜索关键词
- 对于复杂的配置(非简单npx),建议用户手动配置并提供指导
可用工具
- GitHub搜索:
mcp__github__search_repositories - GitHub获取文件内容:
mcp__github__get_file_contents - 读取配置文件:Read工具
- 写入配置文件:Write工具
More Other skills
brand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
Fundamental design principles for writing maintainable, testable Python code.
responsive-design
Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.
Generate Playwright tests from scenarios using interactive browser exploration and validation.
Automated website exploration and test case generation using Playwright.
Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.
gdpr-data-handling
GDPR-compliant data handling with consent management, data subject rights, and privacy controls.
Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.
refactor-plan
Detailed multi-file refactor planning with safety checks and rollback guidance.
