Agent Skills
› linuxhsj/openclaw-zero-token
› clawhub
clawhub
GitHub通过ClawHub CLI管理Agent技能,支持搜索、安装、更新和发布技能包。用于按需获取新技能、同步版本或发布自定义技能文件夹,提升技能复用与分发效率。
触发场景
需要搜索并安装新的Agent技能
需要更新已安装的Agent技能到最新版本或指定版本
需要发布新的或更新的Agent技能包
安装
npx skills add linuxhsj/openclaw-zero-token --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
版本历史
- a654bcf 当前 2026-07-25 07:12


