Agent Skills
› the-open-agent/openagent
› clawhub
clawhub
GitHubClawHub CLI 技能,用于通过命令行搜索、安装、更新和发布 Agent 技能。支持版本管理、批量更新及自定义注册表配置,便于在 OpenClaw 工作区中动态获取或同步最新技能包。
触发场景
需要搜索 ClawHub 上的可用技能
安装或更新特定版本的 Agent 技能
发布新的或已更新的技能文件夹到 ClawHub
安装
npx skills add the-open-agent/openagent --skill clawhub -g -y
SKILL.md
Frontmatter
{
"name": "clawhub",
"metadata": {
"openclaw": {
"install": [
{
"id": "node",
"bins": [
"clawhub"
],
"kind": "node",
"label": "Install ClawHub CLI (npm)",
"package": "clawhub"
}
],
"requires": {
"bins": [
"clawhub"
]
}
}
},
"description": "Use the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new\/updated skill folders with the npm-installed clawhub CLI."
}
ClawHub CLI
Install
npm i -g clawhub
Auth (publish)
clawhub login
clawhub whoami
Search
clawhub search "postgres backups"
Install
clawhub install my-skill
clawhub install my-skill --version 1.2.3
Update (hash-based match + upgrade)
clawhub update my-skill
clawhub update my-skill --version 1.2.3
clawhub update --all
clawhub update my-skill --force
clawhub update --all --no-input --force
List
clawhub list
Publish
clawhub publish ./my-skill --slug my-skill --name "My Skill" --version 1.2.0 --changelog "Fixes + docs"
Notes
- Default registry: https://clawhub.com (override with CLAWHUB_REGISTRY or --registry)
- Default workdir: cwd (falls back to OpenClaw workspace); install dir: ./skills (override with --workdir / --dir / CLAWHUB_WORKDIR)
- Update command hashes local files, resolves matching version, and upgrades to latest unless --version is set
版本历史
- 618631e 当前 2026-08-20 18:16


