Preface¶
When modifying gateways, connecting Discord/Telegram, or writing automations in Clawdbot (OpenClaw ecosystem), answers are often scattered across multiple levels of directories on docs.clawd.bot. Browsing the site manually tends to miss pages, while stuffing the entire site into context wastes tokens. Below is a Skill that mounts inside an Agent: it navigates a decision tree by problem type, uses scripts to search keywords, fetch individual pages, and track versions, plus provides common configuration snippets.
What Is This¶
Clawdbot Documentation Expert (SkillHub coordinates @clawhub_nicholasspisak/clawddocs, current version 1.2.2) is a knowledge-based Skill targeting Clawdbot official documentation, sourced from clawhub, published by nicholasspisak, and categorized as knowledge-management. The tag requires_api_key=false means no additional API Key is needed after installation.
SkillHub page: https://www.skillhub.cn/skills/clawhub_nicholasspisak/clawddocs
Domestic API entry: https://api.skillhub.cn/zcwl/clawddocs
Upstream repository page: https://clawhub.ai/nicholasspisak/clawddocs
It solves the problem of quickly determining “which category of documentation to consult” during conversations, and uses in-repository scripts to perform search and fetch operations, rather than providing generic web summaries.
Core Features¶
The following capabilities are all drawn from the official Skill documentation and target the Clawdbot documentation system (start/, gateway/, providers/, concepts/, automation/, install/, platforms/, etc.).
-
Decision Tree Navigation
Routing by user intent: first-time setup →start/; channel integration →providers/; troubleshooting →debuggingor module-specific troubleshooting; configuration →gateway/configurationandconcepts/; automation →automation/; installation and deployment →install/orplatforms/. -
Search and Discovery Scripts (located in
./scripts/inside the Skill package)
-sitemap.sh: Lists documents by category
-search.sh <keyword>: Keyword search
-recent.sh <days>: Pages updated in the last N days
-fetch-doc.sh <path>: Fetches a specified document (e.g.,gateway/configuration) -
Cache
cache.sh status/cache.sh refreshto view or refresh the sitemap cache (the documentation recommends using the cache first, with approximately 1 hour TTL). -
Full-text Index (Optional, depends on qmd)
build-index.sh fetchdownloads documents →build-index.sh buildbuilds the index →build-index.sh search "query"performs semantic search. -
Version Tracking
track-changes.sh snapshot/list/since <date>to record and compare document snapshots. -
Configuration Code Snippets
./snippets/common-configs.mdprovides common configuration patterns for Providers, Gateway, Agent defaults, retries, Cron, Skills, etc.; when answering, you can cite these and attachhttps://docs.clawd.bot/<path>source links.
Recommended workflow: decision tree positioning → if uncertain, use search.sh → fetch-doc.sh or open in browser → check snippets when examples are needed.
Installation and Activation¶
Via SkillHub (commonly used domestically)¶
First confirm that the skillhub CLI is installed on your machine (see https://skillhub.cn/install/skillhub.md). When installing the skill, you must use --dir to point to the actual skills directory your Agent reads from; otherwise it defaults to ./skills/ and the Agent will not load it.
command -v skillhub && skillhub --version
skillhub install @clawhub_nicholasspisak/clawddocs --dir <your skills directory>
You can also let the AI install @clawhub_nicholasspisak/clawddocs following the prompts on the SkillHub page and referencing https://skillhub.cn/install/skillhub.md.
Common skills directories (per official installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
After installation, restart or refresh as required by your client to enable the Skill.
Via ClawHub / OpenClaw¶
The installation method provided on the upstream page is:
openclaw skills install @nicholasspisak/clawddocs
The coordinate on the ClawHub side is @nicholasspisak/clawddocs, which is a different source identifier for the same skill as SkillHub’s @clawhub_nicholasspisak/clawddocs; just pick one based on your current environment.
Typical Usage¶
After the Agent has loaded this Skill, you can ask questions in natural language; the Agent should follow the Skill’s decision tree and scripts. The following two examples come from the official Example Interactions and illustrate expected behavior.
Scenario 1: Discord only replies when mentioned
- Fetch the
providers/discorddocumentation (fetch-doc.sh providers/discord). - Find the
requireMentionconfiguration. - Provide the snippet and attach the documentation link:
{
"discord": {
"guilds": {
"*": {
"requireMention": true
}
}
}
}
Link: https://docs.clawd.bot/providers/discord
Scenario 2: What has been updated in the documentation recently
- Run
./scripts/recent.sh 7. - Summarize pages updated in the last 7 days and expand on any page as needed.
When debugging scripts locally, you need to execute them in the Skill’s extracted directory, for example:
./scripts/search.sh discord
./scripts/fetch-doc.sh gateway/configuration
Full-text search requires installing qmd first and completing the fetch/build steps of build-index.sh.
Applicable Scenarios and Notes¶
Who Is It For
- Developers who are configuring or operating Clawdbot / OpenClaw and need to reference official documentation to write configurations, troubleshoot errors, or connect Providers.
- People who want their Agent to follow a fixed process for looking up documentation and citing snippets, rather than fabricating configuration items from memory.
Limitations and Notes
- The scope is limited to Clawdbot documentation (
docs.clawd.bot), not a documentation assistant for arbitrary products. build-index.shdepends on qmd; without the index built, sitemap, keyword search, and single-page fetch remain the primary methods.- Script paths are relative to the Skill package root directory; ensure the installation directory matches the Agent’s skills path.
- SkillHub statistics (as of the page display): rating 100000, ~62024 downloads, ~5430 installations; refer to real-time data on the SkillHub / ClawHub pages.
Conclusion¶
Clawdbot Documentation Expert consolidates “what to ask → which documentation category to consult → how to search, fetch, and track versions” into a reproducible workflow, along with common configuration snippets. It is suitable for mounting in clients that support Skills, such as Cursor or Claude Code, to serve as a Clawdbot documentation Q&A assistant.
- SkillHub: https://www.skillhub.cn/skills/clawhub_nicholasspisak/clawddocs
- Domestic API: https://api.skillhub.cn/zcwl/clawddocs
- Upstream: https://clawhub.ai/nicholasspisak/clawddocs