Skilled OpenClaw Advisor

v1.4.2

Query the local OpenClaw docs index for accurate answers about configuration, features, CLI commands, channels, providers, plugins, cron, sessions, agents, p...

0· 446· 9 versions· 1 current· 1 all-time· Updated 12h ago· MIT-0
bySean Ford@seanford

Install

openclaw skills install skilled-openclaw-advisor

OpenClaw Docs Intelligence

Local FTS5 index of all OpenClaw documentation. No external API calls. Sub-10ms queries.

What This Skill Does

This skill bundles three Python scripts and queries a local SQLite FTS5 index built from the OpenClaw docs installed on this machine (~/.npm-global/lib/node_modules/openclaw/docs or equivalent). It reads only the local docs directory and writes only to ~/.openclaw/skills-data/skilled-openclaw-advisor/. The query and build scripts make no network requests. The update script optionally sends a local notification via the openclaw message CLI when doc changes are detected (no direct network calls). The scripts do not access credentials or config secrets, and does not read openclaw.json at runtime (config keys listed below are optional overrides that the user may set — they are not required).

First-Time Setup

Build the index after installing the skill:

python3 $SKILL_DIR/scripts/build_index.py

This scans the local OpenClaw docs and creates a SQLite index at ~/.openclaw/skills-data/skilled-openclaw-advisor/index.db.

Query

# Compact output for agent use
python3 $SKILL_DIR/scripts/query_index.py --query "YOUR QUESTION" --mode agent

# Human-readable
python3 $SKILL_DIR/scripts/query_index.py --query "YOUR QUESTION"

# Full detail with online link
python3 $SKILL_DIR/scripts/query_index.py --query "YOUR QUESTION" --verbosity detailed

# Chinese results
python3 $SKILL_DIR/scripts/query_index.py --query "YOUR QUESTION" --lang zh-CN

# Index status
python3 $SKILL_DIR/scripts/query_index.py --status

Index Updates

# Incremental update (checks for doc changes)
python3 $SKILL_DIR/scripts/update_index.py

# Force full re-index
python3 $SKILL_DIR/scripts/build_index.py --force

When to Use

  • OpenClaw configuration questions
  • CLI commands and options
  • Channel, provider, cron, session, agent setup
  • Troubleshooting OpenClaw errors

When Not to Use

  • General coding questions unrelated to OpenClaw
  • Questions about third-party services
  • If index is not built yet (run build_index.py first)

Response Modes

ModeUse CaseDescription
agentDefault agent queriesUltra-compact, minimal tokens
human + standardHuman questionsClear explanation + key points
human + detailedDeep divesFull excerpt + examples

Optional Config

Settings in skills.entries.openclaw-docs.config in openclaw.json (all optional):

KeyDefaultDescription
defaultLang"en"Language: en or zh-CN
defaultVerbosity"standard"Output: concise, standard, detailed
maxResults5Max results returned
fallbackToEnglishtrueFall back to English if no results in requested language
includeOnlineUrltrueInclude https://docs.openclaw.ai/... links in detailed output

Version tags

latestvk97205jt2ywrsp3twyv1jjks6582pjt9

Runtime requirements

📚 Clawdis
Binspython3, openclaw