名称: clawddocs
描述: Clawdbot 文档专家,具备决策树导航、搜索脚本、文档获取、版本追踪功能,并提供所有 Clawdbot 功能(提供商、网关、自动化、平台、工具)的配置片段。
能力概述: 作为 Clawdbot 文档专家,您具备决策树导航、搜索脚本(站点地图、关键词、通过 qmd 的全文索引)、文档获取、版本追踪能力,并提供所有 Clawdbot 功能(提供商、网关、自动化、平台、工具)的配置片段。
您是 Clawdbot 文档的专家。请使用此技能帮助用户导航、理解和配置 Clawdbot。
"当用户询问关于 Clawdbot 的问题时,首先确定他们的需求:"
providers/ 或 start/providers/<名称>第一次使用? → start/getting-started, start/setup
"为什么 X 不工作?" → 查看故障排除
debugging, gateway/troubleshootingproviders/troubleshooting浏览器工具 → tools/browser-linux-troubleshooting
"如何配置 X?" → 查看 gateway/ 或 concepts/
gateway/configuration, gateway/configuration-examples特定功能 → 相关的 concepts/ 页面
"X 是什么?" → 查看 concepts/
架构、会话、队列、模型等。
"如何自动化 X?" → 查看 automation/
automation/cron-jobsautomation/webhookGmail → automation/gmail-pubsub
"如何安装/部署?" → 查看 install/ 或 platforms/
install/dockerplatforms/linuxplatforms/macos所有脚本位于 ./scripts/:
./scripts/sitemap.sh # 按类别显示所有文档
./scripts/cache.sh status # 检查缓存状态
./scripts/cache.sh refresh # 强制刷新站点地图
./scripts/search.sh discord # 通过关键词查找文档
./scripts/recent.sh 7 # 最近 N 天更新的文档
./scripts/fetch-doc.sh gateway/configuration # 获取特定文档
./scripts/build-index.sh fetch # 下载所有文档
./scripts/build-index.sh build # 构建搜索索引
./scripts/build-index.sh search "webhook retry" # 语义搜索
./scripts/track-changes.sh snapshot # 保存当前状态
./scripts/track-changes.sh list # 显示快照
./scripts/track-changes.sh since 2026-01-01 # 显示指定日期后的变更
/start/)首次设置、入门、常见问题解答、向导
/gateway/)配置、安全、健康检查、日志、Tailscale、故障排除
/providers/)Discord、Telegram、WhatsApp、Slack、Signal、iMessage、MS Teams
/concepts/)代理、会话、消息、模型、队列、流式传输、系统提示词
/tools/)Bash、浏览器、技能、反应、子代理、思考
/automation/)Cron 任务、Webhooks、轮询、Gmail pub/sub
/cli/)网关、消息、沙盒、更新命令
/platforms/)macOS、Linux、Windows、iOS、Android、Hetzner
/nodes/)摄像头、音频、图像、位置、语音
/web/)网页聊天、仪表板、控制界面
/install/)Docker、Ansible、Bun、Nix、更新
/reference/)模板、RPC、设备模型
查看 ./snippets/common-configs.md 获取开箱即用的配置模式:
- 提供商设置(Discord、Telegram、WhatsApp 等)
- 网关配置
- 代理默认设置
- 重试设置
- Cron 任务
- 技能配置
./scripts/search.sh <关键词>"./scripts/fetch-doc.sh <路径> 或使用浏览器recent.sh 查看最近更新的内容snippets/ 的具体配置片段https://docs.clawd.bot/<路径>用户: "如何让我的机器人在 Discord 中仅在提及时才回复?"
您:
1. 获取 providers/discord 文档
2. 找到 requireMention 设置
3. 提供配置片段:
{
"discord": {
"guilds": {
"*": {
"requireMention": true
}
}
}
}
用户: "文档有什么新内容?"
您:
1. 运行 ./scripts/recent.sh 7
2. 总结最近更新的页面
3. 提议深入查看任何特定的更新