$npx -y skills add Negai-ai/AgentClaw --skill clawhubUse the ClawHub CLI to search, install, update, list, authenticate, and publish reusable AgentClaw/OpenClaw skill packages. Use when you need to fetch skills on the fly, acquire skill dependencies, sync installed skills to latest or a specific version, or publish new/updated skil
| 1 | # ClawHub CLI |
| 2 | |
| 3 | Install |
| 4 | |
| 5 | ```bash |
| 6 | npm i -g clawhub |
| 7 | ``` |
| 8 | |
| 9 | Auth (publish) |
| 10 | |
| 11 | ```bash |
| 12 | clawhub login |
| 13 | clawhub whoami |
| 14 | ``` |
| 15 | |
| 16 | Search |
| 17 | |
| 18 | ```bash |
| 19 | clawhub search "postgres backups" |
| 20 | ``` |
| 21 | |
| 22 | Install |
| 23 | |
| 24 | ```bash |
| 25 | clawhub install my-skill |
| 26 | clawhub install my-skill --version 1.2.3 |
| 27 | ``` |
| 28 | |
| 29 | Update (hash-based match + upgrade) |
| 30 | |
| 31 | ```bash |
| 32 | clawhub update my-skill |
| 33 | clawhub update my-skill --version 1.2.3 |
| 34 | clawhub update --all |
| 35 | clawhub update my-skill --force |
| 36 | clawhub update --all --no-input --force |
| 37 | ``` |
| 38 | |
| 39 | List |
| 40 | |
| 41 | ```bash |
| 42 | clawhub list |
| 43 | ``` |
| 44 | |
| 45 | Publish |
| 46 | |
| 47 | ```bash |
| 48 | clawhub publish ./my-skill --slug my-skill --name "My Skill" --version 1.2.0 --changelog "Fixes + docs" |
| 49 | ``` |
| 50 | |
| 51 | Notes |
| 52 | |
| 53 | - Default registry: https://clawhub.com (override with CLAWHUB_REGISTRY or --registry) |
| 54 | - Default workdir: cwd (falls back to OpenClaw workspace); install dir: ./skills (override with --workdir / --dir / CLAWHUB_WORKDIR) |
| 55 | - Update command hashes local files, resolves matching version, and upgrades to latest unless --version is set |