home / skills / openclaw / skills / clawddocs

This skill helps you navigate, fetch, and configure Clawdbot documentation, delivering precise guidance, snippets, and version-aware setup for all features.

npx playbooks add skill openclaw/skills --skill clawddocs

Review the files below or copy the command above to add this skill to your agents.

Files (11)
SKILL.md
4.8 KB
---
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, Telegram, 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
```bash
./scripts/sitemap.sh # Show all docs by category
./scripts/cache.sh status # Check cache status
./scripts/cache.sh refresh # Force refresh sitemap
```

### Search & Discovery
```bash
./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)
```bash
./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
```bash
./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, Telegram, 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/`)
Webchat, 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, Telegram, 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:
```json
{
  "discord": {
    "guilds": {
      "*": {
        "requireMention": true
      }
    }
  }
}
```
4. 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

Overview

This skill is a Clawdbot documentation expert that helps users navigate, search, fetch, and configure every Clawdbot feature. It bundles decision-tree guidance, search and indexing scripts, version tracking, and ready-to-use config snippets to speed troubleshooting and setup. Use it to find precise docs, copy config examples, and track changes across archived skill versions.

How this skill works

I guide users through a decision tree to identify the correct doc category (providers, gateway, automation, etc.), run targeted searches, and fetch specific pages or snippets. Included scripts let you list the sitemap, run keyword or semantic searches, build a full-text index, fetch a single doc, or snapshot and list version changes. I also provide configuration patterns and links to the canonical documentation URL for quick reference.

When to use it

  • Setting up a provider (Discord, Telegram, WhatsApp, etc.) or first-time onboarding
  • Troubleshooting gateway, provider, or platform-specific failures
  • Creating or validating gateway and agent configuration snippets
  • Automating tasks with cron, webhooks, or pub/sub integrations
  • Searching recent documentation changes or building a local full-text index

Best practices

  • Start with the decision tree to narrow the doc category before searching
  • Use cached sitemap for quick lookups and refresh only when needed
  • Build the full-text index (qmd) for deep semantic searches on complex issues
  • Fetch specific docs with fetch-doc.sh to copy exact config examples
  • Track changes regularly with the snapshot script before major upgrades

Example use cases

  • Show the config snippet to require mention-only responses in Discord and link the provider doc
  • Run a semantic search for 'webhook retry' to find retry strategies and sample configs
  • List docs updated in the last 7 days and summarize notable changes
  • Fetch gateway configuration examples and provide a ready-to-use YAML snippet
  • Snapshot current docs and compare changes since a given date to audit updates

FAQ

How do I find a provider-specific setting?

Use the decision tree to go to providers/<name>, or run ./scripts/search.sh <keyword> and then ./scripts/fetch-doc.sh providers/<name> to get the exact snippet.

How can I perform semantic search across the archive?

Use the full-text index scripts: ./scripts/build-index.sh fetch, build, then search with ./scripts/build-index.sh search "your query".