From 0e35aae4d5b5946ff1ead0376c71f26bdde1d879 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 6 Jan 2026 23:24:29 +0100 Subject: [PATCH] docs: add ClawdHub guide --- CHANGELOG.md | 1 + docs/clawdhub.md | 203 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 204 insertions(+) create mode 100644 docs/clawdhub.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c0a8ae13..12faa1033 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ - Heartbeat: default interval now 30m with a new default prompt + HEARTBEAT.md template. - Onboarding: write auth profiles to the multi-agent path (`~/.clawdbot/agents/main/agent/`) so the gateway finds credentials on first startup. Thanks @minghinmatthewlam for PR #327. - Docs: add missing `ui:install` setup step in the README. Thanks @hugobarauna for PR #300. +- Docs: add ClawdHub guide for browsing, install, and sync workflows. - Build: import tool-display JSON as a module instead of runtime file reads. Thanks @mukhtharcm for PR #312. - Browser: fix `browser snapshot`/`browser act` timeouts under Bun by patching Playwright’s CDP WebSocket selection. Thanks @azade-c for PR #307. - Browser: add `--browser-profile` flag and honor profile in tabs routes + browser tool. Thanks @jamesgroat for PR #324. diff --git a/docs/clawdhub.md b/docs/clawdhub.md new file mode 100644 index 000000000..ecdef7a9c --- /dev/null +++ b/docs/clawdhub.md @@ -0,0 +1,203 @@ +--- +summary: "ClawdHub guide: public skills registry + CLI workflows" +read_when: + - Introducing ClawdHub to new users + - Installing, searching, or publishing skills + - Explaining ClawdHub CLI flags and sync behavior +--- + +# ClawdHub + +ClawdHub is the **public skill registry for Clawdbot**. It is a free service: all skills are public, open, and visible to everyone for sharing and reuse. A skill is just a folder with a `SKILL.md` file (plus supporting text files). You can browse skills in the web app or use the CLI to search, install, update, and publish skills. + +Site: [clawdhub.com](https://clawdhub.com) + +## Who this is for (beginner-friendly) + +If you want to add new capabilities to your Clawdbot agent, ClawdHub is the easiest way to find and install skills. You do not need to know how the backend works. You can: + +- Search for skills by plain language. +- Install a skill into your workspace. +- Update skills later with one command. +- Back up your own skills by publishing them. + +## Quick start (non-technical) + +1) Install the CLI (see next section). +2) Search for something you need: + - `clawdhub search "calendar"` +3) Install a skill: + - `clawdhub install ` +4) Start a new Clawdbot session so it picks up the new skill. + +## Install the CLI + +Pick one: + +```bash +npm i -g clawdhub +``` + +```bash +pnpm add -g clawdhub +``` + +```bash +bun add -g clawdhub +``` + +## How it fits into Clawdbot + +By default, the CLI installs skills into `./skills` under your current working directory. Clawdbot loads workspace skills from `/skills` and will pick them up in the **next** session. If you already use `~/.clawdbot/skills` or bundled skills, workspace skills take precedence. + +For more detail on how skills are loaded and gated, see `docs/skills.md`. + +## What the service provides (features) + +- **Public browsing** of skills and their `SKILL.md` content. +- **Search** powered by embeddings (vector search), not just keywords. +- **Versioning** with semver, changelogs, and tags (including `latest`). +- **Downloads** as a zip per version. +- **Stars and comments** for community feedback. +- **Moderation** hooks for approvals and audits. +- **CLI-friendly API** for automation and scripting. + +## CLI commands and parameters + +Global options (apply to all commands): + +- `--workdir `: Working directory (default: current dir). +- `--dir `: Skills directory, relative to workdir (default: `skills`). +- `--site `: Site base URL (browser login). +- `--registry `: Registry API base URL. +- `--no-input`: Disable prompts (non-interactive). +- `-V, --cli-version`: Print CLI version. + +Auth: + +- `clawdhub login` (browser flow) or `clawdhub login --token ` +- `clawdhub logout` +- `clawdhub whoami` + +Options: + +- `--token `: Paste an API token. +- `--label