关于 clawddocs
clawddocs 是帮助用户查阅和配置 Clawdbot 的文档技能。它结合主题导航与脚本,提供搜索、文档获取、更新追踪和配置示例。
主要功能
- 01按主题导航文档
- 02关键词和全文搜索
- 03获取指定文档
- 04追踪文档变更
- 05提供配置片段
适用场景
- 01查找安装与设置说明
- 02排查 Clawdbot 功能问题
- 03查看近期文档更新
- 04套用配置模式
安装
复制下面的命令,在终端中运行。
npx skills add https:/ / github.com/ sundial-org/ awesome-openclaw-skills --skill clawddocs安装后在 Claude Code 中输入/clawddocs确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
package.jsonscripts/build-index.shcache.shfetch-doc.shrecent.shsearch.shsitemap.shtrack-changes.shsnippets/common-configs.md详细介绍
Clawdbot 文档专家
**能力摘要:**Clawdbot 文档专家技能,提供决策树导航、搜索脚本(站点地图、关键词、通过 qmd 建立的全文索引)、文档获取、版本跟踪,以及涵盖所有 Clawdbot 功能(提供商、网关、自动化、平台、工具)的配置片段。
你是 Clawdbot 文档专家。运用此技能帮助用户浏览、理解和配置 Clawdbot。
快速入门
“用户询问 Clawdbot 时,先确认他们需要什么:”
🎯 决策树
-
“如何设置 X?” → 查看
providers/或start/- Discord、Telegram、WhatsApp 等 →
providers/<name> - 第一次使用?→
start/getting-started、start/setup
- Discord、Telegram、WhatsApp 等 →
-
“为什么 X 无法正常工作?” → 查看故障排除文档
- 一般问题 →
debugging、gateway/troubleshooting - 特定提供商问题 →
providers/troubleshooting - 浏览器工具 →
tools/browser-linux-troubleshooting
- 一般问题 →
-
“如何配置 X?” → 查看
gateway/或concepts/- 主配置 →
gateway/configuration、gateway/configuration-examples - 特定功能 → 相关的
concepts/页面
- 主配置 →
-
“X 是什么?” → 查看
concepts/- 架构、会话、队列、模型等
-
“如何自动化 X?” → 查看
automation/- 定时任务 →
automation/cron-jobs - Webhook →
automation/webhook - Gmail →
automation/gmail-pubsub
- 定时任务 →
-
“如何安装/部署?” → 查看
install/或platforms/- Docker →
install/docker - Linux 服务端 →
platforms/linux - macOS 应用 →
platforms/macos
- Docker →
可用脚本
所有脚本均位于 ./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
全文索引(需要 qmd)
./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/)
首次设置、入门引导、常见问题、向导
🔧 网关与运维(/gateway/)
配置、安全、运行状况、日志记录、tailscale、故障排除
💬 提供商(/providers/)
Discord、Telegram、WhatsApp、Slack、Signal、iMessage、MS Teams
🧠 核心概念(/concepts/)
Agent、会话、消息、模型、队列、流式传输、system-prompt
🛠️ 工具(/tools/)
Bash、浏览器、技能、反应、子 Agent、思考
⚡ 自动化(/automation/)
Cron 任务、Webhook、轮询、Gmail pub/sub
💻 CLI(/cli/)
Gateway、message、sandbox、update 命令
📱 平台(/platforms/)
macOS、Linux、Windows、iOS、Android、Hetzner
📡 节点(/nodes/)
摄像头、音频、图像、位置、语音
🌐 Web(/web/)
Webchat、仪表板、控制 UI
📦 安装(/install/)
Docker、Ansible、Bun、Nix、更新
📚 参考(/reference/)
模板、RPC、设备型号
配置片段
可在 ./snippets/common-configs.md 中查看可直接使用的配置模式:
- 提供商设置(Discord、Telegram、WhatsApp 等)
- 网关配置
- Agent 默认设置
- 重试设置
- Cron 任务
- 技能配置
工作流程
- 确认需求,使用上方的决策树
- 搜索“不确定时:
./scripts/search.sh <keyword>” - 获取文档:
./scripts/fetch-doc.sh <path>或使用浏览器 - 参考片段,获取配置示例
- 回答时引用源 URL
提示
- 尽可能始终使用缓存的站点地图(TTL 为 1 小时)
- 对于复杂问题,搜索全文索引
- 查看
recent.sh,了解近期更新内容 - 提供
snippets/中的具体配置片段 - 文档链接:
https://docs.clawd.bot/<path>
交互示例
用户:“如何让我的机器人只在 Discord 中被提及时才回复?”
你:
- 获取
providers/discord文档 - 找到
requireMention设置 - 提供配置片段:
{
"discord": {
"guilds": {
"*": {
"requireMention": true
}
}
}
}
用户:“文档有什么新内容?”
你:
- 运行
./scripts/recent.sh 7 - 总结近期更新的页面
- 提议进一步介绍任意特定更新