Track and manage dependencies between OpenClaw skills. Scan skills for dependencies, visualize skill trees, detect circular dependencies, and manage skill versioning. Use when analyzing skill relationships, checking which skills depend on others, or managing skill installations.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install skill-deps或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install skill-deps⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/skill-deps/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: skill-deps description: Track and manage dependencies between OpenClaw skills. Scan skills for dependencies, visualize skill trees, detect circular dependencies, and manage skill versioning. Use when analyzing skill relationships, checking which skills depend on others, or managing skill installations. ---
Manage dependencies between OpenClaw skills — like npm for skills.
Supports semver-style version constraints:
depends:
- weather@>=1.0.0 # Version 1.0.0 or higher
- calendar@^2.0.0 # Compatible with 2.x.x
- browser@~1.2.0 # Approximately 1.2.x
- coding-agent@* # Any version
- [email protected] # Exact version
Declare skills that cannot coexist:
conflicts:
- old-weather # Cannot use with old-weather
- legacy-calendar
In a skill's SKILL.md frontmatter:
---
name: my-skill
description: Does something cool
depends:
- weather # Requires weather skill
- coding-agent # Requires coding-agent skill
optional:
- github # Enhanced if github skill present
---
# Scan all installed skills for dependencies
./scripts/scan-skills.sh
# Scan specific skill
./scripts/scan-skills.sh weather
# Show full dependency tree
./scripts/skill-tree.sh my-skill
# Output:
# my-skill
# ├── weather (required)
# │ └── (no dependencies)
# └── coding-agent (required)
# └── github (optional)
# Find skills with unmet dependencies
./scripts/check-deps.sh
Skills can declare their metadata in skill.json:
{
"name": "my-skill",
"version": "1.0.0",
"depends": {
"weather": ">=1.0.0",
"coding-agent": "*"
},
"optional": {
"github": ">=2.0.0"
}
}
Scans these directories:
/usr/lib/node_modules/openclaw/skills/ — Built-in skills~/.openclaw/workspace/skills/ — User skills./skills/ — Project-local skillsInstall skills from clawhub.com:
# Install a skill (auto-resolves dependencies)
./scripts/skill-install.sh weather
# Install with specific version
./scripts/skill-install.sh [email protected]
# Search for skills
./scripts/skill-search.sh "calendar"
# List installed vs available
./scripts/skill-list.sh --outdated
When installing a skill with dependencies:
$ ./scripts/skill-install.sh travel-planner
📦 Resolving dependencies for [email protected]...
├── weather@>=1.0.0 → [email protected] ✅
├── calendar@^2.0 → [email protected] ✅
└── browser (optional) → [email protected] ✅
🔍 Checking conflicts...
└── No conflicts found ✅
📥 Installing 4 skills...
✅ [email protected]
✅ [email protected]
✅ [email protected]
✅ [email protected]
Done! Installed 4 skills.
| Command | Description | |---------|-------------| | scan-skills.sh | List all skills with their deps | | skill-tree.sh | Show dependency tree | | check-deps.sh | Find missing dependencies | | skill-install.sh | Install from ClawHub | | skill-search.sh | Search registry | | check-conflicts.sh | Detect conflicts |
安装 Skill Dependencies 后,可以对 AI 说这些话来触发它
Help me get started with Skill Dependencies
Explains what Skill Dependencies does, walks through the setup, and runs a quick demo based on your current project
Use Skill Dependencies to track and manage dependencies between OpenClaw skills
Invokes Skill Dependencies with the right parameters and returns the result directly in the conversation
What can I do with Skill Dependencies in my ai agent & automation workflow?
Lists the top use cases for Skill Dependencies, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/skill-deps/ 目录(个人级,所有项目可用),或 .claude/skills/skill-deps/(项目级)。重启 AI 客户端后,用 /skill-deps 主动调用,或让 AI 根据上下文自动发现并使用。
Skill Dependencies 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Skill Dependencies 可免费安装使用。请查阅仓库了解许可证信息。
Track and manage dependencies between OpenClaw skills. Scan skills for dependencies, visualize skill trees, detect circular dependencies, and manage skill versioning. Use when analyzing skill relationships, checking which skills depend on others, or managing skill installations.
Skill Dependencies 属于「AI Agent & Automation」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my ai agent & automation tasks using Skill Dependencies
Identifies repetitive steps in your workflow and sets up Skill Dependencies to handle them automatically