tooluniverse-install-skills by mims-harvard/tooluniverse
npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-install-skills检查 ToolUniverse 专业技能是否已安装,如果未安装则自动安装。
使用 Shell 工具在所有常见客户端位置检查标记文件:
ls .cursor/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .agents/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .windsurf/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .gemini/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .claude/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .opencode/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .trae/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| echo "NOT_INSTALLED"
NOT_INSTALLED → 继续执行安装。# 1. Download skills from GitHub (shallow, sparse — only skills/ folder)
git clone --depth 1 --filter=blob:none --sparse \
https://github.com/mims-harvard/ToolUniverse.git /tmp/tu-skills
cd /tmp/tu-skills && git sparse-checkout set skills
# 2. Copy to the correct directory for the detected client:
mkdir -p .cursor/skills && cp -r /tmp/tu-skills/skills/* .cursor/skills/ # Cursor
# mkdir -p .agents/skills && cp -r /tmp/tu-skills/skills/* .agents/skills/ # Codex/OpenAI
# mkdir -p .windsurf/skills && cp -r /tmp/tu-skills/skills/* .windsurf/skills/ # Windsurf
# mkdir -p .gemini/skills && cp -r /tmp/tu-skills/skills/* .gemini/skills/ # Gemini CLI
# mkdir -p .claude/skills && cp -r /tmp/tu-skills/skills/* .claude/skills/ # Claude Code
# mkdir -p .opencode/skills && cp -r /tmp/tu-skills/skills/* .opencode/skills/ # OpenCode
# mkdir -p .trae/skills && cp -r /tmp/tu-skills/skills/* .trae/skills/ # Trae
# mkdir -p .skills && cp -r /tmp/tu-skills/skills/* .skills/ # Cline/VS Code
# 3. Clean up
rm -rf /tmp/tu-skills
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
如果无法自动检测到客户端,请在运行步骤 2 之前询问用户使用哪个客户端。
根据配置文件的存在情况检测客户端:
| 存在的配置文件 | 客户端 |
|---|---|
.cursor/ | Cursor |
.agents/ | Codex / OpenAI |
.windsurf/ | Windsurf |
.gemini/ | Gemini CLI |
.claude/ | Claude Code |
.opencode/ | OpenCode |
.trae/ | Trae |
| 以上均无 | 询问用户 |
确认安装成功:
ls .cursor/skills/tooluniverse-drug-research/SKILL.md
告知用户:"ToolUniverse 技能已成功安装。您现在可以访问 50 多个专业研究工作流程。"
每周安装次数
109
代码仓库
GitHub 星标数
1.2K
首次出现
2026年2月22日
安全审计
安装于
codex107
opencode107
kimi-cli105
amp105
github-copilot105
cursor105
Checks whether the ToolUniverse specialized skills are installed and installs them automatically if not.
Use the Shell tool to check for the canary file across all common client locations:
ls .cursor/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .agents/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .windsurf/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .gemini/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .claude/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .opencode/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .trae/skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| ls .skills/tooluniverse-drug-research/SKILL.md 2>/dev/null \
|| echo "NOT_INSTALLED"
NOT_INSTALLED → proceed to installation.# 1. Download skills from GitHub (shallow, sparse — only skills/ folder)
git clone --depth 1 --filter=blob:none --sparse \
https://github.com/mims-harvard/ToolUniverse.git /tmp/tu-skills
cd /tmp/tu-skills && git sparse-checkout set skills
# 2. Copy to the correct directory for the detected client:
mkdir -p .cursor/skills && cp -r /tmp/tu-skills/skills/* .cursor/skills/ # Cursor
# mkdir -p .agents/skills && cp -r /tmp/tu-skills/skills/* .agents/skills/ # Codex/OpenAI
# mkdir -p .windsurf/skills && cp -r /tmp/tu-skills/skills/* .windsurf/skills/ # Windsurf
# mkdir -p .gemini/skills && cp -r /tmp/tu-skills/skills/* .gemini/skills/ # Gemini CLI
# mkdir -p .claude/skills && cp -r /tmp/tu-skills/skills/* .claude/skills/ # Claude Code
# mkdir -p .opencode/skills && cp -r /tmp/tu-skills/skills/* .opencode/skills/ # OpenCode
# mkdir -p .trae/skills && cp -r /tmp/tu-skills/skills/* .trae/skills/ # Trae
# mkdir -p .skills && cp -r /tmp/tu-skills/skills/* .skills/ # Cline/VS Code
# 3. Clean up
rm -rf /tmp/tu-skills
If the client cannot be detected automatically, ask the user which one they use before running step 2.
Detect the client from the presence of config files:
| Config file present | Client |
|---|---|
.cursor/ | Cursor |
.agents/ | Codex / OpenAI |
.windsurf/ | Windsurf |
.gemini/ | Gemini CLI |
.claude/ | Claude Code |
.opencode/ | OpenCode |
Confirm success:
ls .cursor/skills/tooluniverse-drug-research/SKILL.md
Tell the user: "ToolUniverse skills installed successfully. You now have access to 50+ specialized research workflows."
Weekly Installs
109
Repository
GitHub Stars
1.2K
First Seen
Feb 22, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykWarn
Installed on
codex107
opencode107
kimi-cli105
amp105
github-copilot105
cursor105
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
44,900 周安装
依赖解析器技能:推送前自动检测修复本地与CI环境不匹配,节省45分钟调试时间
87 周安装
MongoDB迁移专家:安全架构变更与数据迁移方案设计指南
88 周安装
Pine Script可视化工具:自动分析YouTube交易视频并生成Pine Script实现规范
92 周安装
PydanticAI 模型集成指南:多提供商AI模型调用、备用模型与流式响应
87 周安装
Core Web Vitals 优化指南:提升 LCP、INP、CLS 三大核心指标,改善网站性能与SEO排名
86 周安装
Godot CharacterBody2D 终极指南:玩家移动、碰撞检测与性能优化
73 周安装
.trae/| Trae |
| None of the above | Ask the user |