您的位置:首页 > 手游攻略 > Clawdbot 文档专家:轻松导航 Openclaw 技能

Clawdbot 文档专家:轻松导航 Openclaw 技能

作者:互联网  时间: 2026-08-09 18:05:01  

下载入口:https://github.com/openclaw/skills/tree/main/skills/nicholasspisak/clawddocs

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install clawddocs

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 <project>/skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 clawddocs。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

什么是 Clawdbot 文档专家 (clawddocs)?

clawddocs 技能是 Clawdbot 平台的智能文档导航器。它使 AI 智能体能够协助用户完成从初始设置、服务商配置到高级自动化和故障排除的所有工作。通过利用这个 Openclaw 技能组件,开发者可以快速在文档树中找到答案,检索特定的配置片段,并及时了解生态系统的最新变化。

该技能被构建为终极参考点,综合了服务商、网关操作和核心概念等各个类别的技术细节。它通过提供对平台技术真相的直接访问,使开发者能够减少搜索时间,将更多时间投入到开发中。

Clawdbot 文档专家 (clawddocs) 应用场景

  • 解决 Discord、T@elegrimm 或 WhatsApp 等特定服务商的设置问题。
  • 查找网关和智能体默认值的特定配置示例。
  • 研究核心架构概念,如会话、消息队列和模型流式传输。
  • 为复杂部署自动化文档发现和版本跟踪。
  • 排除浏览器工具或平台特定安装错误。
Clawdbot 文档专家 (clawddocs) 工作原理
  1. 智能体使用涵盖设置、故障排除和自动化的内置决策树识别用户意图。
  2. 它使用专用脚本进行关键词或语义搜索,以定位最相关的文档。
  3. 该技能从本地仓库获取特定的文档内容或配置片段。
  4. 它处理信息以向用户提供可操作的答案,包括指向官方文档网站的直接链接。
  5. 版本跟踪通过检查最近更新的文件和快照,确保提供的信息是最新的。

Clawdbot 文档专家 (clawddocs) 配置指南

确保您的环境具有必要的脚本权限,并执行以下命令以在 Openclaw Skills 框架内初始化文档缓存和搜索索引:

./scripts/sitemap.sh # 初始化文档地图
./scripts/cache.sh refresh # 刷新本地缓存
./scripts/build-index.sh fetch # 下载所有文档进行全文索引
./scripts/build-index.sh build # 构建搜索索引

Clawdbot 文档专家 (clawddocs) 数据架构与分类体系

该技能将文档组织成逻辑层次结构,以便使用以下分类进行高效检索:

类别 描述 路径
服务商 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

Clawdbot Documentation Expert

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.

Quick Start

"When a user asks about Clawdbot, first identify what they need:"

?? Decision Tree

  • "How do I set up X?" → Check providers/ or start/

    • Discord, T@elegrimm, WhatsApp, etc. → providers/<name>
    • First time? → start/getting-started, start/setup
  • "Why isn't X working?" → Check troubleshooting

    • General issues → debugging, gateway/troubleshooting
    • Provider-specific → providers/troubleshooting
    • Browser tool → tools/browser-linux-troubleshooting
  • "How do I configure X?" → Check gateway/ or concepts/

    • Main config → gateway/configuration, gateway/configuration-examples
    • Specific features → relevant concepts/ page
  • "What is X?" → Check concepts/

    • Architecture, sessions, queues, models, etc.
  • "How do I automate X?" → Check automation/

    • Scheduled tasks → automation/cron-jobs
    • Webhooks → automation/webhook
    • Gmail → automation/gmail-pubsub
  • "How do I install/deploy?" → Check install/ or platforms/

    • Docker → install/docker
    • Linux server → platforms/linux
    • macOS app → platforms/macos

Available Scripts

All scripts are in ./scripts/:

Core

./scripts/sitemap.sh # Show all docs by category
./scripts/cache.sh status # Check cache status
./scripts/cache.sh refresh # Force refresh sitemap

Search & Discovery

./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

Full-Text Index (requires 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

Version Tracking

./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

Documentation Categories

?? Getting Started (/start/)

First-time setup, onboarding, FAQ, wizard

?? Gateway & Operations (/gateway/)

Configuration, security, health, logging, tailscale, troubleshooting

?? Providers (/providers/)

Discord, T@elegrimm, WhatsApp, Slack, Signal, iMessage, MS Teams

?? Core Concepts (/concepts/)

Agent, sessions, messages, models, queues, streaming, system-prompt

??? Tools (/tools/)

Bash, browser, skills, reactions, subagents, thinking

? Automation (/automation/)

Cron jobs, webhooks, polling, Gmail pub/sub

?? CLI (/cli/)

Gateway, message, sandbox, update commands

?? Platforms (/platforms/)

macOS, Linux, Windows, iOS, Android, Hetzner

?? Nodes (/nodes/)

Camera, audio, images, location, voice

?? Web (/web/)

Webch@t, dashboard, control UI

?? Install (/install/)

Docker, Ansible, Bun, Nix, updating

?? Reference (/reference/)

Templates, RPC, device models

Config Snippets

See ./snippets/common-configs.md for ready-to-use configuration patterns:

  • Provider setup (Discord, T@elegrimm, WhatsApp, etc.)
  • Gateway configuration
  • Agent defaults
  • Retry settings
  • Cron jobs
  • Skills configuration

Workflow

  1. Identify the need using the decision tree above
  2. Search "if unsure: ./scripts/search.sh <keyword>"
  3. Fetch the doc: ./scripts/fetch-doc.sh <path> or use browser
  4. Reference snippets for config examples
  5. Cite the source URL when answering

Tips

  • Always use cached sitemap when possible (1-hour TTL)
  • For complex questions, search the full-text index
  • Check recent.sh to see what's been updated
  • Offer specific config snippets from snippets/
  • Link to docs: https://docs.clawd.bot/<path>

Example Interactions

User: "How do I make my bot only respond when mentioned in Discord?"

You:

  1. Fetch providers/discord doc
  2. Find the requireMention setting
  3. Provide the config snippet:
{
  "discord": {
    "guilds": {
      "*": {
        "requireMention": true
      }
    }
  }
}
  1. Link: https://docs.clawd.bot/providers/discord

User: "What's new in the docs?"

You:

  1. Run ./scripts/recent.sh 7
  2. Summarize recently updated pages
  3. Offer to dive into any specific updates

最新游戏

更多

Copyright©2010-2019. All rights reserved | 波波三国游戏官网|[email protected]

备案编号:湘ICP备2022015115号-4