Prerequisites
Node.js 22+
Required for the Grounded Docs CLI. Includes npm.
git
Required to clone the skills repository
Install Grounded Docs
Install the Claude skills
The Grounded Docs repository ships three Claude skills. Install them so Claude knows how to index and search documentation on your behalf.
The following command uses a sparse checkout to grab just the Each skill teaches Claude a different capability:
skills/ directory, not the full repo.| Skill | What Claude can do |
|---|---|
docs-manage | Scrape, refresh, and remove documentation from the local index |
docs-search | List indexed libraries, search content, and fact-check against indexed docs |
fetch-url | Fetch a single URL and convert it to Markdown without indexing it |
Enhance the docs-search skill
Add the citation block format
By default, the
docs-search skill has no fact-checking protocol. The CLI returns
structured JSON, but Claude’s response doesn’t cite sources or classify findings.Enhance the docs-search skill so Claude produces the following for each finding:- Doc path (local): the path portion of the URL from the indexed content, labeled as (local) to indicate it came from the local index.
- Public URL: The full URL from the indexed content.
- Quote: A verbatim excerpt from the content that supports or refutes the claim.
- Finding: A classification of the claim based on the content, ending with a severity emoji (✅ accurate, ⚠️ outdated or imprecise, ❌ incorrect, ❓ not found).
You’re ready. Return to the tutorial that sent you here, or start with Fact-check tutorials with versioned docs.
Found an issue with this page? Open a GitHub issue.