Access Moltbot documentation. Use when: questions about bot config, channels, tools, gateway setup, or OpenClaw features.
Look up Moltbot/Clawdbot documentation efficiently using a tiered cache strategy (local snippets first, remote fetch last).
When to invoke this skill:
| Input | Source | Required | Example |
|---|---|---|---|
| query | User message | Yes | "how to set up Telegram channel" |
| topic | Inferred | No | "telegram-setup", "oauth", "config" |
Check Golden Snippets -- tool: read
~/clawd/data/docs-snippets/Check Search Index -- tool: read
~/clawd/data/docs-index.json/guides/telegram-setup)Fetch specific page -- tool: web_fetch
https://docs.clawd.bot/{path} with extractMode: "markdown"Fetch full index (last resort) -- tool: web_fetch
https://docs.clawd.bot/llms.txt with extractMode: "markdown"| Snippet file | Matches |
|---|---|
telegram-setup.md | telegram setup |
telegram-allowfrom.md | allowFrom, access control |
oauth-troubleshoot.md | token expired, oauth error |
update-procedure.md | update clawdbot |
restart-gateway.md | restart, stop/start |
config-basics.md | config, settings |
config-providers.md | add provider, discord setup |
memory-search.md | memory, vector search, embeddings |
~/clawd/data/
|-- docs-index.json # Search index
|-- docs-snippets/ # Cached answers
+-- docs-cache/ # Full page cache
Delivery method: Direct reply in conversation File path: N/A (inline response)
**[Topic]**
[Answer extracted from documentation]
Source: [snippet file / docs URL / index path]
Last updated: [date if known]
If the answer requires saving for future reference:
File path: ~/clawd/data/docs-snippets/[new-topic].md
docs-snippets/| Failure | Detection | Response |
|---|---|---|
| Snippet not found | No filename match in snippets dir | Proceed to search index (step 2) |
| Index file missing | File not found at expected path | Proceed to web fetch (step 3) |
| Docs site unreachable | web_fetch returns error/timeout | Report "docs unavailable"; suggest checking ~/clawd/data/docs-cache/ |
| Page returns 404 | HTTP 404 response | Try full index (step 4); page may have moved |
| Answer ambiguous | Multiple matching sections | Present top 2-3 candidates; ask Francisco to clarify |
| Outdated cached snippet | Snippet date > 30 days old | Fetch fresh from docs site; update snippet if changed |
| Action | Tier | Rule |
|---|---|---|
| Read snippets, index, cache | 0 | Just do it |
| Fetch from docs site | 0 | Just do it |
| Save new snippet to cache | 1 | Do it, report after |
| Modify existing documentation | 2 | Confirm with Francisco |