Fetching Dbt Docs
Retrieves dbt documentation as clean markdown by appending .md to docs URLs, with a cached keyword search.
- CCM score
- 74 of 100
- skills.sh installs
- 1.2K
- GitHub stars
- 774
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers fetching single dbt docs pages, locating pages through the
llms.txtindex, and searching the full docs corpus - Includes
scripts/search-dbt-docs.sh, which supports multi-keyword OR search and a--freshflag to bypass its 24-hour cache - Requires checking the
llms.txtindex before the fullllms-full.txtcorpus, and treats fetched content as untrusted reference material - Designed for agents answering questions about dbt Cloud, dbt Core, or the dbt Semantic Layer
Install
$ npx -y skills add dbt-labs/dbt-agent-skills --skill fetching-dbt-docs -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Fetch dbt Docs
Overview
dbt docs have LLM-friendly URLs. Always append .md to get clean markdown instead of HTML.
URL Pattern
| Browser URL | LLM-friendly URL |
|---|---|
https://docs.getdbt.com/docs/dbt-cloud-apis/service-tokens | https://docs.getdbt.com/docs/dbt-cloud-apis/service-tokens.md |
https://docs.getdbt.com/reference/commands/run | https://docs.getdbt.com/reference/commands/run.md |
Quick Reference
| Resource | URL | Use Case |
|---|---|---|
| Single page | Add .md to any docs URL | Fetch specific documentation |
| Page index | https://docs.getdbt.com/llms.txt | Find all available pages |
| Full docs | https://docs.getdbt.com/llms-full.txt | Search across all docs (filter by keyword first) |
Fetching a Single Page
WebFetch: https://docs.getdbt.com/docs/path/to/page.md
Always add .md to the URL path.
Finding Pages
Step 1: Search the Index First
Use llms.txt to search page titles and descriptions:
WebFetch: https://docs.getdbt.com/llms.txt
Prompt: "Find pages related to [topic]. Return the URLs."
This is fast and usually sufficient.
Details
- Repository
- github.com/dbt-labs/dbt-agent-skills
- Categories
- Technical Documentation, Databases, Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
What does the fetching-dbt-docs skill do?
It retrieves and searches dbt documentation pages in LLM-friendly markdown format. It fetches pages with a .md suffix, which returns clean markdown instead of HTML, and it can search the docs index and full docs for dbt Cloud, dbt Core and the dbt Semantic Layer.
How do I install the fetching-dbt-docs skill?
Run npx -y skills add dbt-labs/dbt-agent-skills --skill fetching-dbt-docs -y in your project. This installs the skill so the agent can look up dbt features and answer questions about dbt documentation.
Does fetching-dbt-docs need an account, API key or extra tools?
The SKILL.md runs WebFetch against docs.getdbt.com and an optional bash search script bundled with the skill. The skill itself only needs the agent's web fetch and shell access.
Where does fetching-dbt-docs stand in the Technical Documentation category?
It sits in the Technical Documentation category alongside domain-modeling, archify, writing-guidelines, design-doc-mermaid and documentation-and-adrs. Unlike those, it focuses on pulling dbt's own docs pages into an agent's context.
More from dbt-labs/dbt-agent-skills
All 12- Adding Dbt Unit Test1.2K
- Running Dbt Commands1.1K
- Configuring Dbt Mcp Server1.1K
- Answering Natural Language Questions With Dbt1.1K
- Building Dbt Semantic Layer1.1K
- Troubleshooting Dbt Job Errors1.1K
- Working With Dbt Mesh910
- Creating Mermaid Dbt Dag534
- Migrating Dbt Project Across Platforms531
- Auditing Skills
- Using Dbt For Analytics Engineering1.2K
Similar to Fetching Dbt Docs
More Technical Documentationduckdb-docsSkillduckdb/duckdb-skills1.5K installsFull-text search over locally cached DuckDB and DuckLake docs and blog posts, returning ranked doc chunks.
Docfork McpMCP serverdocfork483 starsDocumentation search and retrieval for AI agents, drawn from indexed official library docs.
searching-mlflow-docsSkillmlflow/skills1.1K installsRetrieves MLflow documentation from the official site by locating relevant pages in its llms.txt index.
Ref Tools McpMCP serverref-tools1.2K starsSearches public and private documentation for coding agents, then reads matched pages as markdown.
firecrawl-knowledge-baseSkillfirecrawl/firecrawl-workflows33.1K installsTurn web pages or topics into organized, LLM-ready markdown for reference, RAG, training, or docs mirrors.