Skip to main content
Grounded Docs is a local documentation indexer that lets you scrape, store, and search versioned documentation on your own machine. Several tutorials on this site use it to fact-check content against specific documentation versions. Complete this setup once and skip it in any tutorial that links here.

Prerequisites

Node.js 22+

Required for the Grounded Docs CLI. Includes npm.

git

Required to clone the skills repository

Install Grounded Docs

1

Install the Grounded Docs CLI

Install the Grounded Docs CLI globally:
2

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 skills/ directory, not the full repo.
Each skill teaches Claude a different capability:
3

Verify the install

Ask Claude to list any currently indexed libraries:
If Grounded Docs is installed correctly, Claude will run the list command and return a table of indexed libraries (or confirm the index is empty if nothing has been scraped yet).

Enhance the docs-search skill

1

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:
  1. Doc path (local): the path portion of the URL from the indexed content, labeled as (local) to indicate it came from the local index.
  2. Public URL: The full URL from the indexed content.
  3. Quote: A verbatim excerpt from the content that supports or refutes the claim.
  4. Finding: A classification of the claim based on the content, ending with a severity emoji (✅ accurate, ⚠️ outdated or imprecise, ❌ incorrect, ❓ not found).
With this format in place, you can see exactly where Claude is pulling its information from, read the relevant passage directly, and evaluate each finding against the evidence.Ask Claude to update the skill:
2

Verify the enhancement

Ask Claude to confirm the new workflow is in place:
Claude will describe the four-field format (Doc path, Public URL, Quote, Finding).
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.