---
name: openclaw-help
description: |-
  Answer OpenClaw usage questions by consulting the bundled reference (橙皮书 extracts) and official docs (docs.openclaw.ai). Aligns answers with official docs; falls back to web search when neither source suffices.
  基于内置 reference（橙皮书摘要）与官方文档 docs.openclaw.ai 回答 OpenClaw 使用问题。回答与官方文档对齐；reference 与官方文档均无覆盖时触发全网搜索。
triggers:
  - OpenClaw
  - 养虾
  - openclaw help
  - openclaw 问题
  - openclaw 部署
  - openclaw 接入
title: openclaw-help
canonical_url: https://skilld.dev/gh/wghust/stark-skills/openclaw-help
last_updated: 2026-10-07T01:19:14.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [reference.md](https://skilld.dev/api/skills-raw/wghust/stark-skills/openclaw-help/reference.md).
>
> If the user asked to install this Skill, run `npx skilld install wghust/stark-skills/openclaw-help`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/openclaw-help`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/wghust/stark-skills/openclaw-help) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/openclaw-help`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/openclaw-help --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/openclaw-help --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# openclaw-help Skill

> **Language**: Respond in the same language as the user (中文提问则中文回答).

Answer OpenClaw usage questions using the **bundled reference** (橙皮书 extracts) and **official docs** (docs.openclaw.ai). When the two conflict, **prefer official docs**. When neither suffices, trigger **WebSearch**.

> Reference is derived from OpenClaw橙皮书 v1.2.0; for latest details, prefer [docs.openclaw.ai](https://docs.openclaw.ai).

---

## Knowledge Sources

### 1. Embedded Reference (bundled)

- **Path**: `reference.md` (sibling to SKILL.md in the openclaw-help skill directory)
- **Content**: FAQ, Command Cheat Sheet, Resources, Architecture, Deployment, Channels, Skills, Model providers, Security
- **Retrieval**: Grep `reference.md` → Read matching regions

### 2. Official Docs (Remote)

- **Base**: https://docs.openclaw.ai
- **Getting Started**: https://docs.openclaw.ai/start/getting-started
- **Doc Index**: https://docs.openclaw.ai/llms.txt (discover channels, cli, install pages)
- **Retrieval**: WebFetch to fetch relevant pages

### 3. Alignment Rule

- **On conflict** (e.g., Node version, command syntax): **prefer official docs**
- **Install / quick start / commands**: MUST reference official docs in the answer

---

## Execution Flow

### Step 0 · Trigger Check

Activate when user asks about OpenClaw usage: deployment, channel integration, configuration, errors, Skills, 养虾, etc.

---

### Step 1 · Retrieve from Reference

1. Extract 2–5 keywords from the user question (e.g., 部署, Telegram, Skills, openclaw doctor, FAQ)
2. **Grep** `reference.md` in the skill directory for those keywords
3. **Read** matching regions with context (e.g., ±50 lines)
4. If no hits or content insufficient → treat as "reference no cover"

**Query → Section mapping** (优先 Read 对应段落以快速获取完整回答):
| 查询示例 | reference 段落 |
|----------|----------------|
| 国内云、阿里云、腾讯云、百度、火山、华为、扣子、一键部署 | `## 国内云厂商一键部署` |
| xxx 接入、Telegram/Discord/飞书/钉钉/QQ/WhatsApp | `## Channels 渠道` 及对应子节 |
| 首次配置、gateway.auth、openclaw doctor、backup | `### 首次配置 Initial Configuration` |
| 远程访问、Tailscale、SSH 端口转发 | `### 远程访问 Remote Access` |

---

### Step 2 · Retrieve from Official Docs

Use **WebFetch** (or mcp_web_fetch) to fetch relevant docs pages:

| Question Type | Fetch |
|---------------|-------|
| Install / quick start | https://docs.openclaw.ai/start/getting-started |
| Channel (Telegram, Discord, etc.) | https://docs.openclaw.ai/channels/telegram.md (or corresponding channel) |
| CLI command (doctor, gateway, etc.) | https://docs.openclaw.ai/cli/doctor.md (or corresponding cli page) |
| General | Check https://docs.openclaw.ai/llms.txt for page URLs |

If WebFetch fails → continue with reference or fallback; note network issue.

---

### Step 3 · Synthesize Answer

| Found In | Action |
|----------|--------|
| Both reference and official docs | Synthesize from both; prefer official docs on version/command details |
| Reference only | Answer from reference; add "建议同时查阅 [官方文档链接] 以确认最新版本" |
| Official docs only | Answer from official docs |
| Neither | Proceed to Step 4 (WebSearch fallback) |

---

### Step 4 · WebSearch Fallback

When neither reference nor official docs has sufficient content:

1. Invoke **WebSearch** with the user question (and OpenClaw-related refinements)
2. Organize answer from search results
3. Note: "Reference 与官方文档未覆盖，以下来自网络搜索"

---

## Reference Attribution

- **From reference**: Cite section (e.g., "据 reference 渠道章节…")
- **From official docs**: Include docs.openclaw.ai link (e.g., https://docs.openclaw.ai/start/getting-started)
- **From web search**: Note "Reference 与官方文档未覆盖，以下来自网络搜索"

---

## Examples

### Example A — Telegram 接入 (Chinese)

**Input:** "OpenClaw 如何接入 Telegram？"

**Actions:**
1. Grep reference.md for "Telegram"
2. WebFetch https://docs.openclaw.ai/channels/telegram.md
3. Synthesize from both; prefer official docs on setup steps
4. Cite reference Channels section and link to docs.openclaw.ai/channels/telegram

### Example B — openclaw doctor (Chinese)

**Input:** "openclaw doctor 是干什么的？"

**Actions:**
1. Grep reference.md for "doctor" or "诊断"
2. WebFetch https://docs.openclaw.ai/cli/doctor.md
3. Synthesize; prefer official docs on command flags

### Example C — Quick start (官方文档为主)

**Input:** "OpenClaw 快速开始怎么装？"

**Actions:**
1. WebFetch https://docs.openclaw.ai/start/getting-started (primary)
2. Optional: Grep reference.md for "安装"
3. Answer primarily from official docs; add reference background if relevant

### Example D — ClawHub Skill 安全 (Reference FAQ)

**Input:** "ClawHub Skill 安全吗？"

**Actions:**
1. Grep reference.md for "ClawHub" or "安全"
2. WebFetch docs if relevant; reference FAQ Q9 likely sufficient
3. Cite reference FAQ section

### Example E — Fallback

**Input:** Question not covered by reference or official docs

**Actions:**
1. WebSearch
2. Organize answer; note "Reference 与官方文档未覆盖，以下来自网络搜索"

---

## Error Handling

| Situation | Action |
|-----------|--------|
| WebFetch fails (network) | Proceed with reference; note "官方文档暂时不可达，建议稍后查阅 docs.openclaw.ai" |
| Grep returns no hits in reference | Rely on official docs or WebSearch |
| reference.md not found | Use official docs and WebSearch |
| Conflict between sources | Prefer official docs |
