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