
Fetching Dbt Docs
This handles fetching dbt documentation in a format that's actually useful for Claude. The key insight is appending .md to any docs.getdbt.com URL to get clean markdown instead of HTML. It includes a search script that filters through the full docs by keyword, which beats trying to load everything at once. Start with the llms.txt index to find pages by title, then grab individual pages as needed. The explicit warnings about treating fetched content as untrusted are worth noting, since documentation sites can contain all sorts of embedded examples that might look like instructions.
- skills.sh installs
- 1.1K
- GitHub stars
- 759
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dbt-labs/dbt-agent-skills --skill fetching-dbt-docs --agent claude-codeInstalls into .claude/skills of the current project.
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.
Sponsors
Details
- Repository
- github.com/dbt-labs/dbt-agent-skills
- Categories
- Documentation, Code Review & Quality, AI & Agent Building, Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from dbt-labs/dbt-agent-skills
All 13- Adding Dbt Unit Test1.1K
- Running Dbt Commands1.1K
- Answering Natural Language Questions With Dbt1.1K
- Configuring Dbt Mcp Server1.1K
- Building Dbt Semantic Layer1K
- Troubleshooting Dbt Job Errors1K
- Working With Dbt Mesh892
- Creating Mermaid Dbt Dag530
- Migrating Dbt Project Across Platforms528
- Migrating Dbt Core To Fusion385
- Auditing Skills
- Using Dbt For Analytics Engineering1.2K