docclaw for Openclaw

A documentation-centric skill for OpenClaw that synchronizes live web docs, markdown retrieval, and local offline indices.

vibecodooor
v1.0.3
Feb 18, 2026
7
1.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install docclaw

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install docclaw using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is docclaw?

docclaw is a high-precision documentation skill designed to empower AI agents with the ability to retrieve verified technical information. By integrating live search functionality with direct markdown fetching from canonical sources, it ensures that technical answers remain aligned with best practices and official standards. This skill is a vital component for developers using Openclaw Skills who require exact configuration keys, flags, and architectural details without the risk of AI hallucinations.

Beyond live retrieval, docclaw features a robust offline fallback mechanism. It allows agents to search through local documentation roots using high-performance tools like ripgrep when network access is limited or when working within secure environments. This dual-layered approach guarantees that technical documentation is always accessible, whether online or offline.

docclaw Use Cases

  • Retrieving exact configuration keys or CLI flags to ensure precise environment setups.
  • Answering complex "how" and "why" technical questions using canonical documentation.
  • Providing users with direct links to official documentation for further reading.
  • Maintaining workflow productivity in offline or restricted network environments using local doc indices.

How docclaw Works

  1. The agent executes a primary search using the openclaw docs command to identify the most relevant technical links.
  2. For high-precision requirements, the skill refreshes the documentation index and fetches raw markdown content via specific slugs.
  3. Content is validated against trusted hosts (docs.openclaw.ai) to ensure security and data integrity.
  4. If live fetching is unavailable, the skill automatically switches to an offline fallback mode, scanning local documentation roots using ripgrep.

docclaw Setup

To install and configure docclaw within your environment, follow these steps:

# Navigate to your skill directory and install the package
openclaw install docclaw-1.0.3.skill

# Refresh the documentation index for the first time
python3 scripts/refresh_docs_index.py

# Verify local documentation roots for offline fallback
python3 scripts/find_local_docs.py

docclaw Data Schema & Taxonomy

The docclaw skill organizes data through a structured pipeline to ensure technical accuracy:

Component Description
Doc Slugs Unique identifiers for specific documentation sections (e.g., gateway/configuration)
Markdown Index A cached mapping of documentation titles to their respective markdown sources
Local Roots Discovered filesystem paths containing local technical documentation
Host Validation A security whitelist restricted exclusively to docs.openclaw.ai

docclaw Advanced Features

  • Triple-tier search strategy: Live Web Search, Precision Markdown Fetch, and Offline Local Search.
  • Automated index refreshing to keep technical references synchronized with the latest software releases.
  • Security-hardened fetching that strictly validates URLs against trusted documentation domains.
  • Cross-platform support for macOS and Linux utilizing native python3 environments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*