Xpersona
O

OpenClaw Doc Finder

CLAWHUB · Unverified

OpenClaw 文档检索专家。当用户询问 OpenClaw 配置、维护、故障排除、通道接入、技能安装、模型配置等问题时使用。支持快速定位官方文档、给出精确 URL 和关键命令。高价值触发场景包括:(1)配置 gateway、channels、plugins;(2)排查连接/认证/权限问题;(3)安装/管理技能(...

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17642xwr20j4nwfccf3c61wnh83kj3d:openclaw-doc-finder
  1. Install using `clawhub skill install s17642xwr20j4nwfccf3c61wnh83kj3d:openclaw-doc-finder` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/mslclaw/openclaw-doc-finder before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-mslclaw-openclaw-doc-finder/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

141,974 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: openclaw-doc-finder
description: OpenClaw 官方文档检索专家。

**触发条件(满足任一即可):**
1. 用户提到"官方文档"、"官方文档技能"、"查官方文档"、"openclaw 文档"
2. 问题涉及 OpenClaw 本身(配置、使用、问题、文档),且需要查找官方文档或获取精确命令/配置片段

**激活典型场景:**
- 用户询问 openclaw 配置、命令、参数
- 用户遇到 openclaw 报错并需要排查
- 用户提到"官方文档"或想查看官方说明
- 用户询问 gateway、channels、plugins 的配置
- 用户询问 openclaw CLI 命令用法
- 用户询问模型/供应商配置方法
- 用户询问 VPS/远程/节点部署方案

**不触发场景(排除):**
- 仅在对话中提到"openclaw"但实际问的是其他平台功能
- 用户需要执行操作而非查找文档(如直接帮用户配置、发送消息)
- 问题属于飞书、Telegram、Discord 等第三方平台的具体用法(应路由到对应技能)
- "帮我创建日程" → feishu-calendar,不触发
- "帮我发消息" → 消息工具,不触发
- "帮我搜索网页" → agent-reach,不触发

**英文触发:** how do I configure X / why is Y broken / how to set up Z / openclaw docs / openclaw documentation
---

# openclaw-doc-finder

OpenClaw 官方文档检索技能。识别用户意图,路由到正确文档,给出精确 URL + 关键命令片段。

## 检索流程(Pipeline)

```
用户问题 → 意图识别 → 诊断决策树(可选)→ 文档路由 → 本地片段 → 缓存命中 → 远程拉取 → 回答 → 记录速查
```

**严格顺序,不得跳步:**

1. **意图识别**:解析用户问题,判断属于哪个场景类别
2. **诊断决策树**(可选):如问题模糊("任务卡住"、"没有反应"),先用 `references/diagnostic-tree.md` 引导用户细化
3. **文档路由**:查 `references/doc-index.md` 定位目标文档列表
4. **本地片段优先**:检查 `references/` 已有片段
5. **缓存命中**:检查 `references/fetched/<doc-name>.md` 是否已有缓存且未过期(7 天内)
6. **远程拉取**:本地/缓存均无 → 按"远程拉取规则"拉取,成功后自动缓存
7. **版本检查**:回答结尾检查 VERSION
8. **记录速查**:将问题与结论追加到 `references/doc-lookups.md`

---

## 意图识别规则

见 `references/doc-index.md` 的「意图→文档路由表」。优先精确匹配场景关键词。

常见场景映射:

| 场景 | 目标文档 |
|------|---------|
| 首次安装 / 开始上手 | `start/getting-started.md` / `start/quickstart.md` |
| gateway 配置 / 配置文件 | `gateway/configuration.md` |
| gateway 配置项详解 | `gateway/configuration-reference.md` |
| 通道接入(Discord/Telegram/飞书等) | `channels/index.md` + 对应通道文档 |
| 技能安装 / clawhub / skillhub | `tools/clawhub` 或 `start/hubs.md` |
| 故障排除 / 报错 | `gateway/troubleshooting.md` / `channels/troubleshooting.md` |
| 凭证 / secrets / API key | `gateway/secrets.md` |
| 模型配置 / 供应商 | `providers/` 目录 + `gateway/configuration.md` |
| CLI 命令用法 | `cli/` 目录 |
| openclaw doctor | `gateway/doctor.md` |
| 安全策略 / 权限 | `gateway/security/` + `gateway/sandboxing.md` |
| 远程访问 / VPS 部署 | `gateway/remote.md` + `vps.md` |
| 心跳 / 自动化任务 | `gateway/heartbeat.md` + `cron-jobs` |
| 节点配对 / 移动端 | `nodes/` 目录 |
| 任务阻塞 / 队列 / 并发 | `concepts/queue.md` + `references/diagnostic-tree.md` |

---

## 本地片段优先级

- `references/doc-index.md` — 始终可用,路由总表
- `references/diagnostic-tree.md` — **新增**"症状→排查路径"决策树
- `references/config-guide.md` — gateway 配置高频片段
- `references/troubleshoot.md` — 常见报错速查
- `references/doc-lookups.md` — 已查阅问题速查(查阅前优先检查)
- `references/fetched/<doc-name>.md` — **新增**已缓存的远程文档(7 天有效期)

---

## 远程拉取规则

### 拉取顺序(降级策略)

当本地和缓存均无目标内容时,按以下顺序尝试:

```
1. web_fetch
   ↓ 失败(Blocked / 网络错误)
2. firecrawl_scrape
   ↓ 失败(Blocked / 超时)
3. exec → curl(最终兜底)
   ↓ 失败
4. 提供手动查询链接
```

### curl 降级命令模板

```bash
# 文档 URL 格式:https://docs.openclaw.ai/<path>
# 用 curl 拉取并提取正文(去除 HTML 标签)
curl -sL "<完整URL>" | python3 -c "
import sys, re
html = sys.stdin.read()
html = re.sub(r'<script[^>]*>.*?</script>', '', html, flags=re.DOTALL)
html = re.sub(r'<style[^>]*>.*?</style>', '', html, flags=re.DO

_meta.json

{
  "ownerId": "kn77tqxr0kcdy1g910j91b6d258384tj",
  "slug": "openclaw-doc-finder",
  "version": "1.2.0",
  "publishedAt": 1775404030603
}

references/config-guide.md

# Gateway 配置指南片段

> 摘录自 `gateway/configuration.md` + `gateway/configuration-reference.md`

---

## 配置文件位置

- **主配置**:`~/.openclaw/openclaw.json`
- **环境变量**:`.env` 文件(加载顺序优先级最高)
- **Skills 配置**:`~/.openclaw/skills/<skill-name>/config.yaml`

---

## openclaw.json 核心结构

```json
{
  "gateway": {
    "host": "127.0.0.1",
    "port": 18789,
    "auth": {
      "type": "token",
      "token": "<48-hex-token>"
    }
  },
  "agents": {
    "defaults": {
      "models": ["anthropic/claude-sonnet-4-7"]
    }
  },
  "channels": {
    "discord": {
      "enabled": true,
      "token": "<bot-token>"
    }
  }
}
```

---

## 关键配置项

### Gateway Host/Port

```bash
# 查看当前配置
openclaw config get gateway.host
openclaw config get gateway.port

# 修改
openclaw config set gateway.host 0.0.0.0
openclaw config set gateway.port 18789
```

### 认证 Token

```bash
# 生成新 token
openclaw gateway token --length 48

# 查看当前 token
openclaw config get gateway.auth.token
```

### 模型配置

```bash
# 查看可用模型
openclaw models list

# 设置默认模型
openclaw config set agents.defaults.models '["anthropic/claude-sonnet-4-7"]'

# 设置回退模型
openclaw config set agents.defaults.fallback '["openai/gpt-4o"]'
```

### 通道启用

```bash
# 查看已配置通道
openclaw channels status

# 探活所有通道
openclaw channels status --probe
```

---

## 配置验证

```bash
# 启动前验证配置
openclaw doctor

# 启动 gateway
openclaw gateway start

# 查看运行状态
openclaw gateway status
```

---

## Skill 配置

```bash
# 查看 skills 配置
openclaw skills list

# 查看 skill 详情
openclaw skills get <skill-name>
```

---

## 环境变量配置(.env)

```bash
# 常用环境变量
OPENCLAW_HOST=127.0.0.1
OPENCLAW_PORT=18789
OPENCLAW_GATEWAY_TOKEN=<token>
ANTHROPIC_API_KEY=sk-...
OPENAI_API_KEY=sk-...
```

---

## 配置示例

完整配置示例见:`https://docs.openclaw.ai/gateway/configuration-examples`

常见场景:
- [单通道最小配置](https://docs.openclaw.ai/gateway/configuration-examples#minimal)
- [多通道配置](https://docs.openclaw.ai/gateway/configuration-examples#multi-channel)
- [远程访问配置](https://docs.openclaw.ai/gateway/configuration-examples#remote)

references/diagnostic-tree.md

# OpenClaw 问题诊断决策树

> 基于官方文档构建的"症状 → 排查路径"速查

---

## 决策树

```
用户报告问题
    │
    ├─ 说"任务卡住" / "没有反应"
    │       │
    │       ├─ 先问:是什么类型的任务?
    │       │   ├─ cron 任务 → gateway/heartbeat.md + automation/cron-jobs.md
    │       │   ├─ heartbeat → gateway/heartbeat.md
    │       │   ├─ 子代理任务 → tools/subagents.md + concepts/queue.md
    │       │   └─ 手动触发 → concepts/agent-loop.md
    │       │
    │       └─ 排查命令:
    │           openclaw logs --follow
    │           openclaw sessions list
    │           → 找 "queued for …ms" 确认队列是否在 drain
    │
    ├─ 消息队列相关
    │       │
    │       ├─ 配置项:messages.queue(见下方配置片段)
    │       ├─ 文档:concepts/queue.md
    │       └─ 常见问题:
    │           Q: 消息堆积 → 检查 debounceMs / cap
    │           Q: 响应延迟 → 检查 main lane 并发是否耗尽
    │           Q: 消息丢失 → 检查 drop 策略(默认 summarize)
    │
    ├─ 配置问题
    │       │
    │       ├─ openclaw config get messages.queue
    │       ├─ openclaw config get agents.defaults.maxConcurrent
    │       └─ 文档:gateway/configuration.md
    │
    ├─ 报错类
    │       │
    │       ├─ 429 / rate limit → providers/<name>.md
    │       ├─ 401/403 凭证 → gateway/secrets.md
    │       ├─ 连接失败 → channels/troubleshooting.md
    │       └─ 执行阻塞 → concepts/agent-loop.md + concepts/queue.md
    │
    └─ 性能/并发问题
            │
            ├─ openclaw config get agents.defaults.maxConcurrent
            ├─ 默认值:main=4, subagent=8, 其他=1
            └─ 文档:concepts/queue.md
```

---

## 消息队列配置片段

```json
{
  "messages": {
    "queue": {
      "mode": "collect",
      "debounceMs": 1000,
      "cap": 20,
      "drop": "summarize",
      "byChannel": {
        "discord": "collect"
      }
    }
  }
}
```

**关键参数说明:**
- `debounceMs`: 等待静默时间,防止"continue, continue"
- `cap`: 每 session 最大排队数(默认 20)
- `drop`: 溢出策略(old/new/summarize)
- `mode`: collect/steer/followup/steer-backlog

---

## 排查命令速查

```bash
# 队列状态
openclaw logs --follow 2>&1 | grep "queued for"

# Session 列表
openclaw sessions list

# 并发配置
openclaw config get agents.defaults.maxConcurrent

# 队列配置
openclaw config get messages.queue

# Gateway 状态
openclaw gateway status
openclaw doctor
```

references/doc-index.md

# OpenClaw 文档索引

> ⚠️ **自动生成** — OpenClaw v2026.3.13 | 生成时间:自动

## 意图 → 文档路由表

| 场景关键词 | 文档标题 | 完整 URL | 本地路径 |
|----------|---------|---------|---------|
| ... | Auth Credential Semantics | https://docs.openclaw.ai/auth-credential-semantics | auth-credential-semantics.md |
| ... | Auth Monitoring | https://docs.openclaw.ai/automation/auth-monitoring | automation/auth-monitoring.md |
| ... | Cron Jobs | https://docs.openclaw.ai/automation/cron-jobs | automation/cron-jobs.md |
| ... | Cron vs Heartbeat | https://docs.openclaw.ai/automation/cron-vs-heartbeat | automation/cron-vs-heartbeat.md |
| ... | Gmail PubSub | https://docs.openclaw.ai/automation/gmail-pubsub | automation/gmail-pubsub.md |
| ... | Hooks | https://docs.openclaw.ai/automation/hooks | automation/hooks.md |
| ... | Polls | https://docs.openclaw.ai/automation/poll | automation/poll.md |
| ... | Automation Troubleshooting | https://docs.openclaw.ai/automation/troubleshooting | automation/troubleshooting.md |
| ... | Webhooks | https://docs.openclaw.ai/automation/webhook | automation/webhook.md |
| ... | Brave Search | https://docs.openclaw.ai/brave-search | brave-search.md |
| ... | BlueBubbles | https://docs.openclaw.ai/channels/bluebubbles | channels/bluebubbles.md |
| ... | Broadcast Groups | https://docs.openclaw.ai/channels/broadcast-groups | channels/broadcast-groups.md |
| ... | Channel Routing | https://docs.openclaw.ai/channels/channel-routing | channels/channel-routing.md |
| ... | Discord | https://docs.openclaw.ai/channels/discord | channels/discord.md |
| ... | Feishu | https://docs.openclaw.ai/channels/feishu | channels/feishu.md |
| ... | Google Chat | https://docs.openclaw.ai/channels/googlechat | channels/googlechat.md |
| ... | Group Messages | https://docs.openclaw.ai/channels/group-messages | channels/group-messages.md |
| ... | Groups | https://docs.openclaw.ai/channels/groups | channels/groups.md |
| ... | iMessage | https://docs.openclaw.ai/channels/imessage | channels/imessage.md |
| ... | IRC | https://docs.openclaw.ai/channels/irc | channels/irc.md |
| ... | LINE | https://docs.openclaw.ai/channels/line | channels/line.md |
| ... | Channel Location Parsing | https://docs.openclaw.ai/channels/location | channels/location.md |
| ... | Matrix | https://docs.openclaw.ai/channels/matrix | channels/matrix.md |
| ... | Mattermost | https://docs.openclaw.ai/channels/mattermost | channels/mattermost.md |
| ... | Microsoft Teams | https://docs.openclaw.ai/channels/msteams | channels/msteams.md |
| ... | Nextcloud Talk | https://docs.openclaw.ai/channels/nextcloud-talk | channels/nextcloud-talk.md |
| ... | Nostr | https://docs.openclaw.ai/channels/nostr | channels/nostr.md |
| ... | Pairing | https://docs.openclaw.ai/channels/pairing | channels/pairing.md |
| ... | Signal | https://docs.openclaw.ai/channels/signal | channels/signal.md |
| ... | Slack | https://docs.openclaw.ai/channels/slack | channels/slack.md |
| ... | Synology Chat | https://docs.openclaw.ai/chann

Sponsored

Ads related to OpenClaw Doc Finder and adjacent AI workflows.