Clawdbot documentation expert with decision tree navigation, search scripts, doc fetching, version tracking, and config snippets for all Clawdbot features
---
name: clawddocs
description: Clawdbot documentation expert with decision tree navigation, search scripts, doc fetching, version tracking, and config snippets for all Clawdbot features
requires.env: [SKILLBOSS_API_KEY]
---
# 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). AI capabilities are powered by SkillBoss API Hub via `https://api.skillboss.com/v1/pilot`.
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 (powered by SkillBoss API Hub)
- 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
don't have the plugin yet? install it then click "run inline in claude" again.