OpenClaw documentation
Use the synchronized official documentation as the source of truth. Keep context small by
loading only the files and sections needed for the current request.
Establish the version boundary
- Read
references/SOURCE.json when provenance or freshness matters.
- For operational work, obtain
openclaw --version when it is available and relevant.
- Treat the references as documentation for the recorded upstream
main revision. Flag a
possible version mismatch when the installed OpenClaw version is older.
- Never invent a command, flag, configuration key, default, or migration step. Search the
references and state uncertainty when the documentation does not establish the answer.
Do not update the installed skill during ordinary questions. Use the local snapshot without
blocking the user. Refresh only when the user asks to install or update the skill.
Find documentation progressively
Choose the narrowest route that fits the request.
Exact error, command, or configuration key
Search references/ directly for:
- the exact error message first;
- the full CLI command or subcommand;
- the complete configuration key;
- distinctive log text, provider name, or channel name.
When shell search is available, prefer:
rg -n -i --glob '*.md' --glob '*.mdx' '<exact text>' references
rg -l -i --glob '*.md' --glob '*.mdx' '<keyword>' references
Use the host's equivalent file-search tool when rg is unavailable. Do not load the global
router before an exact search unless the search produces no useful candidate.
Broad topic
- Read references/SKILL_INDEX.md.
- Open exactly one matching catalog under
references/_catalog/.
- If that catalog links to alphabetical sections, open exactly one matching section.
- Select at most three candidate documents using their
summary and read_when metadata.
- Inspect headings or search within those documents before reading long sections.
- Expand to another document, section, or catalog only when the first candidates are insufficient.
Topic routing
| User intent |
Start with |
| Installation, update, migration, deployment |
install catalog |
| Gateway configuration, service, networking |
gateway catalog |
| Telegram, WhatsApp, Discord, Slack, LINE, or other messaging |
channels catalog |
| Anthropic, OpenAI, Gemini, Ollama, or other models |
providers catalog |
Exact openclaw command or flag |
CLI catalog |
| Exec, browser, web, skills, permissions, or agent tools |
tools catalog |
| Cron, hooks, tasks, or webhooks |
automation catalog |
| Agents, sessions, memory, routing, or architecture |
concepts catalog |
| Nodes or OS-specific behavior |
nodes catalog and platforms catalog |
| Control UI, WebChat, dashboard, or TUI |
web catalog |
| Security, exposure, or incident response |
security catalog and gateway catalog |
| Unclear symptom or general troubleshooting |
help catalog |
If a catalog does not exist in an older installed snapshot, search the corresponding
references/<topic>/ directory directly.
Diagnose from evidence
Match diagnostics to the symptom instead of running a universal command ladder.
- For Gateway reachability, inspect status, service state, and relevant Gateway logs.
- For a single channel, inspect Gateway reachability and that channel's status, policy, and
channel-specific troubleshooting page.
- For model failures, inspect provider authentication, model resolution, and the exact provider
error without probing unrelated channels.
- For configuration failures, identify the active config path, exact rejected key, and matching
configuration reference.
- For update or migration failures, establish the installed version, install method, and target
version before recommending changes.
Begin with read-only observations. Preserve exact errors and command output when searching the
documentation.
Control state-changing actions
Treat edits, installation, updates, --fix, --force, restarts, uninstalls, credential changes,
pairing approvals, and message sends as state-changing actions.
- Explain what will change and the likely impact.
- Confirm the target and scope from available evidence.
- Obtain the user's authorization when it is not already explicit.
- Prefer previews, validation, backups, and reversible operations.
- Re-check status after the change.
Never expose tokens, passwords, session data, auth profiles, or secrets in the response. Redact
them from copied output.
Produce the answer
- Lead with the diagnosis or requested outcome.
- Give commands only after confirming them in the synchronized references.
- Separate documented facts from inferences.
- Mention relevant version assumptions or mismatch risks.
- Cite the local reference paths used so the user can verify the answer.
- Keep unexplored alternatives out of context unless the primary route fails.
Maintain this skill
Run maintenance only when the user explicitly asks to refresh this repository:
sh scripts/sync-docs.sh
python3 scripts/generate_index.py --check
python3 -m unittest -v tests/test_repo.py
For an installed Git checkout, install or update with:
bash <skill-directory>/scripts/install-skill.sh <skill-directory>
Do not run scripts/sync-docs.sh or regenerate indexes during normal OpenClaw assistance.
1---2name: openclaw-docs3description: Find authoritative guidance for installing, configuring, operating, securing, and troubleshooting OpenClaw, including channels, model providers, Gateway operations, tools, plugins, automation, nodes, multi-agent routing, and CLI errors. Use for any question or maintenance task involving an OpenClaw installation.4---56# OpenClaw documentation78Use the synchronized official documentation as the source of truth. Keep context small by9loading only the files and sections needed for the current request.1011## Establish the version boundary12131. Read `references/SOURCE.json` when provenance or freshness matters.142. For operational work, obtain `openclaw --version` when it is available and relevant.153. Treat the references as documentation for the recorded upstream `main` revision. Flag a16 possible version mismatch when the installed OpenClaw version is older.174. Never invent a command, flag, configuration key, default, or migration step. Search the18 references and state uncertainty when the documentation does not establish the answer.1920Do not update the installed skill during ordinary questions. Use the local snapshot without21blocking the user. Refresh only when the user asks to install or update the skill.2223## Find documentation progressively2425Choose the narrowest route that fits the request.2627### Exact error, command, or configuration key2829Search `references/` directly for:3031- the exact error message first;32- the full CLI command or subcommand;33- the complete configuration key;34- distinctive log text, provider name, or channel name.3536When shell search is available, prefer:3738```bash39rg -n -i --glob '*.md' --glob '*.mdx' '<exact text>' references40rg -l -i --glob '*.md' --glob '*.mdx' '<keyword>' references41```4243Use the host's equivalent file-search tool when `rg` is unavailable. Do not load the global44router before an exact search unless the search produces no useful candidate.4546### Broad topic47481. Read [references/SKILL_INDEX.md](references/SKILL_INDEX.md).492. Open exactly one matching catalog under `references/_catalog/`.503. If that catalog links to alphabetical sections, open exactly one matching section.514. Select at most three candidate documents using their `summary` and `read_when` metadata.525. Inspect headings or search within those documents before reading long sections.536. Expand to another document, section, or catalog only when the first candidates are insufficient.5455### Topic routing5657| User intent | Start with |58|---|---|59| Installation, update, migration, deployment | [install catalog](references/_catalog/install.md) |60| Gateway configuration, service, networking | [gateway catalog](references/_catalog/gateway.md) |61| Telegram, WhatsApp, Discord, Slack, LINE, or other messaging | [channels catalog](references/_catalog/channels.md) |62| Anthropic, OpenAI, Gemini, Ollama, or other models | [providers catalog](references/_catalog/providers.md) |63| Exact `openclaw` command or flag | [CLI catalog](references/_catalog/cli.md) |64| Exec, browser, web, skills, permissions, or agent tools | [tools catalog](references/_catalog/tools.md) |65| Cron, hooks, tasks, or webhooks | [automation catalog](references/_catalog/automation.md) |66| Agents, sessions, memory, routing, or architecture | [concepts catalog](references/_catalog/concepts.md) |67| Nodes or OS-specific behavior | [nodes catalog](references/_catalog/nodes.md) and [platforms catalog](references/_catalog/platforms.md) |68| Control UI, WebChat, dashboard, or TUI | [web catalog](references/_catalog/web.md) |69| Security, exposure, or incident response | [security catalog](references/_catalog/security.md) and [gateway catalog](references/_catalog/gateway.md) |70| Unclear symptom or general troubleshooting | [help catalog](references/_catalog/help.md) |7172If a catalog does not exist in an older installed snapshot, search the corresponding73`references/<topic>/` directory directly.7475## Diagnose from evidence7677Match diagnostics to the symptom instead of running a universal command ladder.7879- For Gateway reachability, inspect status, service state, and relevant Gateway logs.80- For a single channel, inspect Gateway reachability and that channel's status, policy, and81 channel-specific troubleshooting page.82- For model failures, inspect provider authentication, model resolution, and the exact provider83 error without probing unrelated channels.84- For configuration failures, identify the active config path, exact rejected key, and matching85 configuration reference.86- For update or migration failures, establish the installed version, install method, and target87 version before recommending changes.8889Begin with read-only observations. Preserve exact errors and command output when searching the90documentation.9192## Control state-changing actions9394Treat edits, installation, updates, `--fix`, `--force`, restarts, uninstalls, credential changes,95pairing approvals, and message sends as state-changing actions.96971. Explain what will change and the likely impact.982. Confirm the target and scope from available evidence.993. Obtain the user's authorization when it is not already explicit.1004. Prefer previews, validation, backups, and reversible operations.1015. Re-check status after the change.102103Never expose tokens, passwords, session data, auth profiles, or secrets in the response. Redact104them from copied output.105106## Produce the answer107108- Lead with the diagnosis or requested outcome.109- Give commands only after confirming them in the synchronized references.110- Separate documented facts from inferences.111- Mention relevant version assumptions or mismatch risks.112- Cite the local reference paths used so the user can verify the answer.113- Keep unexplored alternatives out of context unless the primary route fails.114115## Maintain this skill116117Run maintenance only when the user explicitly asks to refresh this repository:118119```bash120sh scripts/sync-docs.sh121python3 scripts/generate_index.py --check122python3 -m unittest -v tests/test_repo.py123```124125For an installed Git checkout, install or update with:126127```bash128bash <skill-directory>/scripts/install-skill.sh <skill-directory>129```130131Do not run `scripts/sync-docs.sh` or regenerate indexes during normal OpenClaw assistance.