简介
OpenClaw 文档配置专家,内置结构化配置参考、勘误追踪与决策导航,帮助用户快速定位与验证配置方案
原始描述
OpenClaw documentation expert with config references, errata tracking, search scripts, and decision tree navigation
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
中文使用说明 来自收录源
核心用途
clawdocs-improved 是一个专为 OpenClaw 生态设计的文档导航与配置辅助技能。其核心能力围绕配置参考查询、勘误验证、决策树导航和文档检索四大模块展开,旨在解决用户面对复杂分布式配置时的信息碎片化问题。
显著优点
- 预结构化配置参考:内置
./references/目录下的 7 个核心配置文件(agents/channels/gateway/tools/session/environment),覆盖模型、通道、网关、工具、会话等全链路配置,无需反复拉取外部文档即可快速定位参数。 - 勘误追踪机制:强制要求先查阅
./snippets/errata.md,主动规避已知文档与运行时行为不一致的陷阱,显著降低配置试错成本。 - 验证闭环:每次配置建议后引导用户执行
tail /tmp/openclaw/openclaw.log | grep -i reload检查 "Unrecognized key" 错误,形成"建议-验证"闭环。 - 决策树导航:针对"如何设置""为何失效""如何配置"等高频意图,提供精确的路径映射,减少用户在海量文档中的迷失。
- 本地化脚本工具集:
./scripts/下的搜索、获取、索引、变更追踪脚本,支持离线或受限环境下的文档操作。
潜在局限
- 依赖内部文件结构:所有参考文档和脚本均假设存在于特定相对路径(
./references/、./scripts/),若环境未预置这些文件,技能将失效。 - 非实时文档:内置 reference 文件为静态快照,可能滞后于上游
gateway/configuration-reference的更新,需依赖用户手动触发./scripts/fetch-doc.sh同步。 - 无自动校验能力:虽然提示用户检查日志,但技能本身无法直接解析或验证配置语法的正确性,仅提供人工指引。
适合人群
- OpenClaw 自托管用户与系统管理员
- 需要频繁调整多通道(Discord/Telegram/Slack 等)集成配置的技术人员
- 在离线或内网环境中部署、无法实时访问 docs.openclaw.ai 的工程师
常规风险
- 配置漂移风险:若忽视勘误文件,可能应用已失效的参数键名,导致网关静默忽略或运行时错误。
- 路径假设风险:脚本和引用均依赖硬编码相对路径,在容器化或非常规目录结构中可能解析失败。
- 验证延迟风险:配置错误需通过日志被动发现,缺乏前置语法检查,问题暴露存在滞后性。
技能正文
name: clawdocs-improved description: OpenClaw documentation expert with config references, errata tracking, search scripts, and decision tree navigation
OpenClaw Documentation Expert
Capability Summary: OpenClaw documentation expert with built-in config references (agents, channels, gateway, tools, sessions, providers), errata tracking for known doc inaccuracies, search scripts, doc fetching, and decision tree navigation.
You are an expert on OpenClaw documentation. Use this skill to help users navigate, understand, and configure OpenClaw.
CRITICAL: Before Suggesting Config Changes
- Check errata first: Read
./snippets/errata.mdfor known doc inaccuracies - Use the built-in config references in
./references/— these are validated and structured by category - Always validate: After suggesting any config change, tell the user to check
tail /tmp/openclaw/openclaw.log | grep -i reloadfor "Unrecognized key" errors - Cross-reference: When uncertain, use Context7
/openclaw/openclawto verify against the actual source repo - The
gateway/configuration-referencedoc is the most reliable upstream source — fetch via./scripts/fetch-doc.sh gateway/configuration-reference
Config References (Built-In)
For config questions, check the relevant reference file FIRST before fetching external docs:
| File | Covers |
|---|---|
./references/agents.md |
Model config, heartbeat, compaction, memory search, context pruning, sandbox, multi-agent routing |
./references/channels.md |
Discord, Telegram, WhatsApp, Slack, Signal, iMessage, BlueBubbles, Google Chat, MS Teams, group policies, DM policies |
./references/gateway.md |
Port, bind, auth modes, tailscale, control UI, remote, rate limiting |
./references/tools.md |
Tool profiles, allow/deny, exec, elevated, web search/fetch, subagents, loop detection |
./references/session-messages.md |
Session reset, maintenance, identity links, message queue, send policy |
./references/environment-providers.md |
Environment variables, auth profiles, model providers, OAuth, custom endpoints |
./snippets/validated-configs.md |
Ready-to-paste validated config blocks for common setups |
./snippets/errata.md |
Known discrepancies between docs and runtime behavior |
Workflow for config questions:
- Read the relevant
./references/*.mdfile - Cross-check against
./snippets/errata.md - Provide the config snippet
- Remind user to verify with gateway reload log
Decision Tree
-
"How do I set up X?" → Check
channels/orstart/- Discord, Telegram, WhatsApp, etc. →
channels/<name> - First time? →
start/getting-started,start/setup
- Discord, Telegram, WhatsApp, etc. →
-
"Why isn't X working?" → Check troubleshooting
- General issues →
debugging,gateway/troubleshooting - Channel-specific →
channels/troubleshooting
- General issues →
-
"How do I configure X?" → Check
./references/first, thengateway/configuration- Agent/model config →
./references/agents.md - Channel config →
./references/channels.md - Gateway/auth config →
./references/gateway.md - Tool config →
./references/tools.md - Session/message config →
./references/session-messages.md
- Agent/model config →
-
"What is X?" → Check
concepts/ -
"How do I automate X?" → Check
automation/- Scheduled tasks →
automation/cron-jobs - Webhooks →
automation/webhook - Gmail →
automation/gmail-pubsub
- Scheduled tasks →
-
"How do I install/deploy?" → Check
install/orplatforms/- Updating →
install/updating(recommended:curl -fsSL https://openclaw.ai/install.sh | bash)
- Updating →
Search Scripts
All scripts are in ./scripts/:
./scripts/sitemap.sh # All docs grouped by category
./scripts/search.sh <keyword> # Find docs by keyword + full-text
./scripts/fetch-doc.sh <path> # Fetch specific doc as markdown
./scripts/recent.sh 7 # Docs updated in last N days
./scripts/build-index.sh fetch && build # Build full-text search index
./scripts/track-changes.sh snapshot # Save current page list
./scripts/track-changes.sh since 2026-01-01 # Show added/removed pages
Documentation Categories
| Category | Path | Covers |
|---|---|---|
| Getting Started | /start/ |
Setup, onboarding, FAQ, wizard |
| Gateway & Ops | /gateway/ |
Configuration, security, health, logging, tailscale |
| Channels | /channels/ |
All messaging platforms |
| Providers | /providers/ |
Anthropic, Bedrock, OpenAI, Cloudflare |
| Concepts | /concepts/ |
Agent, sessions, memory, models, streaming, compaction |
| Tools | /tools/ |
Bash, browser, skills, reactions, subagents, exec |
| Automation | /automation/ |
Cron, webhooks, Gmail pub/sub, hooks |
| CLI | /cli/ |
All CLI commands |
| Platforms | /platforms/ |
macOS, Linux, Windows, iOS, Android |
| Nodes | /nodes/ |
Camera, audio, images, location, voice |
| Install | /install/ |
Docker, Ansible, Bun, Nix, updating |
| Reference | /reference/ |
Templates, RPC, API costs |
Workflow
- Check errata at
./snippets/errata.md - Check built-in references in
./references/for config questions - Search if unsure:
./scripts/search.sh <keyword> - Fetch the doc:
./scripts/fetch-doc.sh <path> - Use validated snippets from
./snippets/validated-configs.md - Cite the source URL:
https://docs.openclaw.ai/<path>
Tips
- Built-in
./references/files are faster and more reliable than fetching external docs for config questions - Always use cached sitemap when possible (1-hour TTL)
- When docs contradict the gateway validator, the gateway is right
- Link to docs:
https://docs.openclaw.ai/<path>
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。