A specialized skill that prevents LLM hallucinations by enforcing a documentation-first workflow for all code and configuration generation.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install doc-accurate-codegen
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 doc-accurate-codegen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Documentation-Accurate Code Generation skill is a critical framework designed to eliminate the common problem of AI hallucinations. In the world of Openclaw Skills, this tool acts as a technical gatekeeper, ensuring that an agent never writes code from memory. Instead, it mandates a process where documentation is fetched, parsed, and validated before a single line of code is produced.
By prioritizing technical truth over probabilistic guessing, this skill ensures that method names, parameter types, and return values are 100% accurate to the library or API being used. It is an essential component for developers who require production-grade reliability from their AI coding agents, providing a structured way to maintain documentation-to-code parity.
To utilize this within the ecosystem of Openclaw Skills, ensure your environment is properly configured with the necessary binaries and environment variables.
# Ensure system dependencies are installed
# Requires: curl, jq, git
# Install the necessary node package
npm install axios
# Set the required API key for web search capabilities
export BRAVE_API_KEY="your_brave_api_key_here"
The skill organizes its validation and reference tracking using a clear metadata taxonomy to ensure every generation is traceable.
| Data Point | Details |
|---|---|
| Source Path | The URL or local file path of the documentation used |
| API Signature | Extracted method names, parameter types, and return values |
| Validation Log | A checklist confirming method, parameter, and error handling accuracy |
| Version Tracking | The specific version of the API or tool referenced during generation |
Loading
A professional-grade AI content creation skill for generating SEO-optimized articles, marketing copy, and platform-specific social media posts.

An advanced AI skill for conducting independent end-to-end research, source validation, and professional report generation.

Fast on-device speech-to-text using Apple Speech.framework for macOS users.

A macOS-native text-to-speech skill that leverages the system say command and Siri Natural Voices for professional audio generation.

An advanced multi-path reasoning framework that enables AI agents to explore, combine, and synthesize complex solutions using non-linear graph structures.

SkillOrchestra is a high-performance routing framework that intelligently directs tasks to AI agents based on explicit skill competence and cost-efficiency metrics.








































