作者:互联网 时间: 2026-08-09 18:05:01
从源直接安装技能的最快方式。
npx clawhub@latest install clawddocs
将技能文件夹复制到以下位置之一
全局模式~/.openclaw/skills/
工作区
<project>/skills/
优先级:工作区 > 本地 > 内置
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 clawddocs。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
clawddocs 技能是 Clawdbot 平台的智能文档导航器。它使 AI 智能体能够协助用户完成从初始设置、服务商配置到高级自动化和故障排除的所有工作。通过利用这个 Openclaw 技能组件,开发者可以快速在文档树中找到答案,检索特定的配置片段,并及时了解生态系统的最新变化。
该技能被构建为终极参考点,综合了服务商、网关操作和核心概念等各个类别的技术细节。它通过提供对平台技术真相的直接访问,使开发者能够减少搜索时间,将更多时间投入到开发中。
确保您的环境具有必要的脚本权限,并执行以下命令以在 Openclaw Skills 框架内初始化文档缓存和搜索索引:
./scripts/sitemap.sh # 初始化文档地图
./scripts/cache.sh refresh # 刷新本地缓存
./scripts/build-index.sh fetch # 下载所有文档进行全文索引
./scripts/build-index.sh build # 构建搜索索引
该技能将文档组织成逻辑层次结构,以便使用以下分类进行高效检索:
| 类别 | 描述 | 路径 |
|---|---|---|
| 服务商 | Discord、Slack 等的集成指南 | /providers/ |
| 网关 | 核心配置和安全设置 | /gateway/ |
| 自动化 | Webhooks、计划任务和 Gmail 触发器 | /automation/ |
| 工具 | Bash、浏览器和技能的功能 | /tools/ |
| 平台 | 特定操作系统的安装 (Docker, macOS) | /platforms/ |
name: clawddocs
description: Clawdbot documentation expert with decision tree navigation, search scripts, doc fetching, version tracking, and config snippets for all Clawdbot features
Capability Summary: Clawdbot documentation expert skill with decision tree navigation, search scripts (sitemap, keyword, full-text index via qmd), doc fetching, version tracking, and config snippets for all Clawdbot features (providers, gateway, automation, platforms, tools).
You are an expert on Clawdbot documentation. Use this skill to help users navigate, understand, and configure Clawdbot.
"When a user asks about Clawdbot, first identify what they need:"
"How do I set up X?" → Check providers/ or start/
providers/<name>start/getting-started, start/setup"Why isn't X working?" → Check troubleshooting
debugging, gateway/troubleshootingproviders/troubleshootingtools/browser-linux-troubleshooting"How do I configure X?" → Check gateway/ or concepts/
gateway/configuration, gateway/configuration-examplesconcepts/ page"What is X?" → Check concepts/
"How do I automate X?" → Check automation/
automation/cron-jobsautomation/webhookautomation/gmail-pubsub"How do I install/deploy?" → Check install/ or platforms/
install/dockerplatforms/linuxplatforms/macosAll scripts are in ./scripts/:
./scripts/sitemap.sh # Show all docs by category
./scripts/cache.sh status # Check cache status
./scripts/cache.sh refresh # Force refresh sitemap
./scripts/search.sh discord # Find docs by keyword
./scripts/recent.sh 7 # Docs updated in last N days
./scripts/fetch-doc.sh gateway/configuration # Get specific doc
./scripts/build-index.sh fetch # Download all docs
./scripts/build-index.sh build # Build search index
./scripts/build-index.sh search "webhook retry" # Semantic search
./scripts/track-changes.sh snapshot # Save current state
./scripts/track-changes.sh list # Show snapshots
./scripts/track-changes.sh since 2026-01-01 # Show changes
/start/)First-time setup, onboarding, FAQ, wizard
/gateway/)Configuration, security, health, logging, tailscale, troubleshooting
/providers/)Discord, T@elegrimm, WhatsApp, Slack, Signal, iMessage, MS Teams
/concepts/)Agent, sessions, messages, models, queues, streaming, system-prompt
/tools/)Bash, browser, skills, reactions, subagents, thinking
/automation/)Cron jobs, webhooks, polling, Gmail pub/sub
/cli/)Gateway, message, sandbox, update commands
/platforms/)macOS, Linux, Windows, iOS, Android, Hetzner
/nodes/)Camera, audio, images, location, voice
/web/)Webch@t, dashboard, control UI
/install/)Docker, Ansible, Bun, Nix, updating
/reference/)Templates, RPC, device models
See ./snippets/common-configs.md for ready-to-use configuration patterns:
./scripts/search.sh <keyword>"./scripts/fetch-doc.sh <path> or use browserrecent.sh to see what's been updatedsnippets/https://docs.clawd.bot/<path>User: "How do I make my bot only respond when mentioned in Discord?"
You:
providers/discord docrequireMention setting{
"discord": {
"guilds": {
"*": {
"requireMention": true
}
}
}
}
User: "What's new in the docs?"
You:
./scripts/recent.sh 7