| 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. |
Skill Dependencies
Manage dependencies between OpenClaw skills โ like npm for skills.
Version Constraints
Supports semver-style version constraints:
depends:
- weather@>=1.0.0
- calendar@^2.0.0
- browser@~1.2.0
- coding-agent@*
- github@1.5.0
Conflict Detection
Declare skills that cannot coexist:
conflicts:
- old-weather
- legacy-calendar
Concepts
Declaring Dependencies
In a skill's SKILL.md frontmatter:
---
name: my-skill
description: Does something cool
depends:
- weather
- coding-agent
optional:
- github
---
Dependency Types
- depends โ Required skills (fail if missing)
- optional โ Enhanced functionality if present
- conflicts โ Cannot be used with these skills
Commands
Scan Skills
./scripts/scan-skills.sh
./scripts/scan-skills.sh weather
Dependency Tree
./scripts/skill-tree.sh my-skill
Check Missing
./scripts/check-deps.sh
Registry Format
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"
}
}
Skill Locations
Scans these directories:
/usr/lib/node_modules/openclaw/skills/ โ Built-in skills
~/.openclaw/workspace/skills/ โ User skills
./skills/ โ Project-local skills
ClawHub Registry Integration
Install skills from clawhub.com:
./scripts/skill-install.sh weather
./scripts/skill-install.sh weather@1.2.0
./scripts/skill-search.sh "calendar"
./scripts/skill-list.sh --outdated
Auto-Resolution
When installing a skill with dependencies:
$ ./scripts/skill-install.sh travel-planner
๐ฆ Resolving dependencies for travel-planner@1.0.0...
โโโ weather@>=1.0.0 โ weather@1.2.3 โ
โโโ calendar@^2.0 โ calendar@2.1.0 โ
โโโ browser (optional) โ browser@3.0.0 โ
๐ Checking conflicts...
โโโ No conflicts found โ
๐ฅ Installing 4 skills...
โ
weather@1.2.3
โ
calendar@2.1.0
โ
browser@3.0.0
โ
travel-planner@1.0.0
Done! Installed 4 skills.
Commands Summary
| Command | Description |
|---|
scan-skills.sh | List all skills with their deps |
skill-tree.sh <name> | Show dependency tree |
check-deps.sh | Find missing dependencies |
skill-install.sh <name> | Install from ClawHub |
skill-search.sh <query> | Search registry |
check-conflicts.sh | Detect conflicts |