A vital agent behavior that forces AI coding assistants to consult official, live documentation before answering queries about libraries, frameworks, or APIs.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install docs-first
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install docs-first using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Docs-First behavior is a critical mechanism designed to prevent AI hallucinations caused by stale training data. In modern software development, frameworks, CLI tools, SDKs, and libraries evolve at a rapid pace. A confident but outdated answer from an LLM can lead to hours of wasted debugging for deprecated flags or changed API signatures. By integrating this pattern into your AI agent workflows using Openclaw Skills, you ensure that the agent prioritizes live, authoritative sources over static memory.
This workflow mandates that whenever a user asks about installing, configuring, or calling specific software, the AI must fetch the official documentation or repository README before formulating its response. By making real-time search the default behavior for technical questions, Openclaw Skills empower developers with verified, up-to-date code and precise API references.
To enable this capability in your local development environment, make sure your agent is configured to use Openclaw Skills. You can clone and add the skill configuration directly to your project's custom system prompt directory:
# Navigate to your agent workspace
cd my-ai-agent-workspace
# Create a system prompts directory if it doesn't exist
mkdir -p custom_prompts/skills
# Copy the Docs-First markdown prompt into your active agent profiles
cp /path/to/docs-first-skill.md custom_prompts/skills/docs-first.md
Once added, register the skill in your agent configuration file (e.g., agent_config.json):
{
"skills": [
"docs-first"
]
}
The Docs-First skill does not require external database persistence but operates via structured systemic instructions and outputs. Below is the metadata taxonomy and formatting guidelines:
| Attribute | Description | Formatting Rule |
|---|---|---|
| Trigger Match | Softwares, libraries, SDKs, runtime environments, and CLI tools | Triggers on specific named entities; skips generic/conceptual queries |
| Authoritative Priority | Web-search target priority queue | 1. Official Documentation Portal 2. Official Code Repository (README, CHANGELOG) 3. General search (fallback only) |
| Output Footer Format | Hyperlink metadata referencing the exact source page | Formatted in HTML sub-text (<sub>[Anchor Text](URL)</sub>) |
Example Footer Output:
<sub>📄 [vLLM docs](https://docs.vllm.ai/en/stable/features/structured_outputs/)</sub>
Loading
An expert automotive advisory skill designed to guide buyers through evaluating, pricing, and selecting new energy vehicles.

An automated AI agent skill that fetches real-time global market data and generates interactive, beautifully styled HTML financial daily reports.

An automated workflow skill to build, deploy, and troubleshoot responsive single-page H5 marketing landing pages hosted on GitHub Pages and optimized for WeChat sharing.

A lightweight Python skill designed to fetch IT Home trending hot-lists (daily, weekly, monthly) and push them directly to messaging channels.

An automated search and intelligence tool designed to scan Google and locate social media profiles across dozens of platforms for any individual or brand.

An automated browser-driven skill to extract comments, user handles, timestamps, and reaction metrics from any Instagram post using cursor-based pagination.








































