Skip to content
dbt-labs avatar

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
View on GitHub

Own this skill? Claim it

What it does

  • Covers fetching single dbt docs pages, locating pages through the llms.txt index, and searching the full docs corpus
  • Includes scripts/search-dbt-docs.sh, which supports multi-keyword OR search and a --fresh flag to bypass its 24-hour cache
  • Requires checking the llms.txt index before the full llms-full.txt corpus, 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 -y

Installs 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 URLLLM-friendly URL
https://docs.getdbt.com/docs/dbt-cloud-apis/service-tokenshttps://docs.getdbt.com/docs/dbt-cloud-apis/service-tokens.md
https://docs.getdbt.com/reference/commands/runhttps://docs.getdbt.com/reference/commands/run.md

Quick Reference

ResourceURLUse Case
Single pageAdd .md to any docs URLFetch specific documentation
Page indexhttps://docs.getdbt.com/llms.txtFind all available pages
Full docshttps://docs.getdbt.com/llms-full.txtSearch 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

Similar to Fetching Dbt Docs

More Technical Documentation