home / skills / openclaw / openclaw / clawdhub
/skills/clawdhub
This skill helps you manage clawdhub CLI operations to search, install, update, and publish skills from clawdhub.com efficiently.
npx playbooks add skill openclaw/openclaw --skill clawdhubReview the files below or copy the command above to add this skill to your agents.
---
name: clawdhub
description: Use the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.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 clawdhub CLI.
metadata: {"openclaw":{"requires":{"bins":["clawdhub"]},"install":[{"id":"node","kind":"node","package":"clawdhub","bins":["clawdhub"],"label":"Install ClawdHub CLI (npm)"}]}}
---
# ClawdHub CLI
Install
```bash
npm i -g clawdhub
```
Auth (publish)
```bash
clawdhub login
clawdhub whoami
```
Search
```bash
clawdhub search "postgres backups"
```
Install
```bash
clawdhub install my-skill
clawdhub install my-skill --version 1.2.3
```
Update (hash-based match + upgrade)
```bash
clawdhub update my-skill
clawdhub update my-skill --version 1.2.3
clawdhub update --all
clawdhub update my-skill --force
clawdhub update --all --no-input --force
```
List
```bash
clawdhub list
```
Publish
```bash
clawdhub publish ./my-skill --slug my-skill --name "My Skill" --version 1.2.0 --changelog "Fixes + docs"
```
Notes
- Default registry: https://clawdhub.com (override with CLAWDHUB_REGISTRY or --registry)
- Default workdir: cwd (falls back to OpenClaw workspace); install dir: ./skills (override with --workdir / --dir / CLAWDHUB_WORKDIR)
- Update command hashes local files, resolves matching version, and upgrades to latest unless --version is set
This skill integrates the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.com. It lets you fetch new skills on the fly, sync installed skills to a specific version or the latest release, and publish local skill folders using the npm-installed clawdhub tool. Ideal for managing a personal assistant skill library across platforms.
The skill wraps the ClawdHub CLI commands: search to find skills, install to add them to your workspace, update to reconcile local changes and upgrade versions, list to show installed skills, and publish to push a local skill to ClawdHub. It respects environment variables and CLI flags for registry, workdir, versions, and force/no-input behaviors. Updates perform a hash-based match of local files and then resolve and apply the requested version.
How do I change the registry or install location?
Set the CLAWDHUB_REGISTRY or CLAWDHUB_WORKDIR environment variables, or use --registry and --workdir/--dir flags to override defaults.
What does the update command do with local modifications?
Update hashes local files to detect matches, then resolves a matching version and upgrades; use --force to override or --version to pin a specific release.