Overview
- Skill Key
- alfonso46674/openclaw-sage
- Author
- alfonso46674
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/alfonso46674/openclaw-sage
- Latest Commit SHA
- 2faa2652abbb3059889dde5bea1f3a1df31c4e40
OpenClaw documentation expert — answers user questions about OpenClaw setup, configuration, providers, troubleshooting, and what's new using live doc fetching, BM25 search, and change tracking
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 openclaw-sage 技能。 若已安装,则直接安装 openclaw-sage 技能。
# OpenClaw Documentation Expert
## Role
You are an expert on OpenClaw documentation. Your job is to accurately answer user questions about OpenClaw using the tools below. Always cite the source URL when answering.
---
## Tools
### `./scripts/sitemap.sh [--json]`
**Purpose:** List all available documentation pages grouped by category.
**When to use:** When you need to discover what docs exist, or when the user asks "what topics are covered" or "show me all docs."
**Input:** Optional `--json` flag (or set `OPENCLAW_SAGE_OUTPUT=json`).
**JSON output:**
```json
[
{"category": "gateway", "paths": ["gateway/configuration", "gateway/security", ...]},
...
]
```
**Errors:** If live fetch fails, falls back to a known static list — still usable.
---
### `./scripts/fetch-doc.sh <path> [--toc] [--section <heading>] [--max-lines <n>]`
**Purpose:** Fetch and display a specific documentation page as readable text.
**When to use:** When you know the doc path and need its content. This is the primary way to answer specific questions.
**Input:** Doc path (e.g. `gateway/configuration`, `providers/discord`). No leading slash needed.
**Flags:**
- `--toc` — list headings only (no body). Use first to find the right section name.
- `--section <heading>` — extract just the named section and its content. Case-insensitive partial match.
- `--max-lines <n>` — truncate output to N lines. Useful when the full doc is too large.
**Recommended agent workflow for long docs:**
```
fetch-doc.sh gateway/configuration --toc # see sections
fetch-doc.sh gateway/configuration --section retry # fetch only that section
```
**Output:** Full text, TOC, section text, or truncated text depending on flags.
**Errors:**
- Empty/failed response: the path may be wrong. Run `sitemap.sh` to check available paths.
- `--toc` / `--section` not found: lists available headings on stderr.
- Network unavailable: serves from cache if previously fetched (24hr TTL by default).
---
### `./scripts/info.sh...
# openclaw-sage
An [OpenClaw](https://openclaw.ai) skill that makes any agent an expert on [OpenClaw](https://docs.openclaw.ai) documentation — with live doc fetching, BM25 ranked search, section extraction, full-text indexing, and change tracking.
## Requirements
- `bash`
- `curl`
- `python3` *(optional, recommended — enables BM25 ranked search, `--toc`/`--section` extraction, JSON output, and `recent.sh` date parsing)*
- `lynx` or `w3m` *(optional, recommended — improves HTML-to-text quality)*
## Environment Variables
All variables are optional. Defaults work out of the box.
| Variable | Default | Description |
|---|---|---|
| `OPENCLAW_SAGE_SITEMAP_TTL` | `3600` | Sitemap cache TTL in seconds (1hr) |
| `OPENCLAW_SAGE_DOC_TTL` | `86400` | Doc page cache TTL in seconds (24hr) |
| `OPENCLAW_SAGE_CACHE_DIR` | `<skill_root>/.cache/openclaw-sage` | Cache directory |
| `OPENCLAW_SAGE_LANGS` | `en` | Languages to fetch: comma-separated codes (`en,zh`) or `all` |
| `OPENCLAW_SAGE_OUTPUT` | *(unset)* | Set to `json` for machine-readable output from `search.sh` and `sitemap.sh` |
Examples:
```bash
OPENCLAW_SAGE_DOC_TTL=60 ./scripts/fetch-doc.sh gateway/configuration
OPENCLAW_SAGE_LANGS=en,zh ./scripts/build-index.sh fetch
OPENCLAW_SAGE_OUTPUT=json ./scripts/search.sh webhook
```
## Scripts
All scripts live in `./scripts/` and cache results in `.cache/openclaw-sage/` inside the skill root.
### Core
```bash
./scripts/sitemap.sh # List all docs grouped by category
./scripts/sitemap.sh --json # Same, as JSON [{category, paths[]}]
./scripts/cache.sh status # Show cache location, age, TTLs, and doc count
./scripts/cache.sh refresh # Clear sitemap cache to force re-fetch
./scripts/cache.sh clear-docs # Remove all cached docs, HTML, and index
```
### Search & Fetch
```bash
./scripts/search.sh discord # Search cached docs by keyword (BM25 ranked if index built)
./scripts/search.sh --json "webhook retry" # Same,...
edholofy
University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning required.
openstockdata
OpenClaw Skill for stock data analysis
lethehades
macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
capt-marbles
Control PhantomBuster automation agents via API. List agents, launch automations, get output/results, check status, and abort running agents. Use when the user needs to run LinkedIn scraping, Twitter automation, lead generation phantoms, or any PhantomBuster workflow.
capt-marbles
Web scraping and crawling with Firecrawl API. Fetch webpage content as markdown, take screenshots, extract structured data, search the web, and crawl documentation sites. Use when the user needs to scrape a URL, get current web info, capture a screenshot, extract specific data from pages, or crawl docs for a framework/library.