ClawHub CLI \u2014 install, update, search, and publish agent skills.
npm install clawhubclawhubClawHub CLI — install, update, search, and publish agent skills as folders.
``bashFrom this repo (shortcut script at repo root)
bun clawhub --help
Auth (publish)
`bash
clawhub login
or
clawhub auth loginHeadless / token paste
or (token paste / headless)
clawhub login --token clh_...
`Notes:
- Browser login opens
https://clawhub.ai/cli/auth and completes via a loopback callback.
- Token stored in ~/Library/Application Support/clawhub/config.json on macOS (override via CLAWHUB_CONFIG_PATH, legacy CLAWDHUB_CONFIG_PATH).Examples
`bash
clawhub search "postgres backups"
clawhub install my-skill-pack
clawhub update --all
clawhub update --all --no-input --force
clawhub publish ./my-skill-pack --slug my-skill-pack --name "My Skill Pack" --version 1.2.0 --changelog "Fixes + docs"
`Sync (upload local skills)
`bash
Start anywhere; scans workdir first, then legacy Clawdis/Clawd/OpenClaw/Moltbot locations.
clawhub syncExplicit roots + non-interactive dry-run
clawhub sync --root ../clawdis/skills --all --dry-run
`Defaults
- Site:
https://clawhub.ai (override via --site or CLAWHUB_SITE, legacy CLAWDHUB_SITE)
- Registry: discovered from /.well-known/clawhub.json on the site (legacy /.well-known/clawdhub.json; override via --registry or CLAWHUB_REGISTRY)
- Workdir: current directory (falls back to Clawdbot workspace if configured; override via --workdir or CLAWHUB_WORKDIR)
- Install dir: ./skills under workdir (override via --dir`)