
Answering Natural Language Questions With Dbt
This turns natural language questions like "what were sales last quarter?" into actual answers by working through a priority waterfall: semantic layer first, then modifying compiled SQL if you need custom logic, then model discovery, then manifest parsing as a last resort. The systematic approach is the point here. It resists the temptation to immediately write ad-hoc SQL and instead exhausts what dbt already knows about your metrics and dimensions. When you're in a dbt project, it'll suggest semantic layer improvements rather than telling you to bug your data team. Built by dbt Labs, so the decision flow reflects how they think the semantic layer should actually be used in practice.
- skills.sh installs
- 1.1K
- GitHub stars
- 759
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dbt-labs/dbt-agent-skills --skill answering-natural-language-questions-with-dbt --agent claude-codeInstalls into .claude/skills of the current project.
Files
Answering Natural Language Questions with dbt
Overview
Answer data questions using the best available method: semantic layer first, then SQL modification, then model discovery, then manifest analysis. Always exhaust options before saying "cannot answer."
Use for: Business questions from users that need data answers
- "What were total sales last month?"
- "How many active customers do we have?"
- "Show me revenue by region"
Not for:
- Validating model logic during development
- Testing dbt models or semantic layer definitions
- Building or modifying dbt models
dbt run,dbt test, ordbt buildworkflows
Decision Flow
Sponsors
Details
- Repository
- github.com/dbt-labs/dbt-agent-skills
- Categories
- Testing & QA, AI & Agent Building, Data Science & ML, Marketing & SEO, Sales & Marketing, Databases
- First seen
- Jun 3, 2026
More from dbt-labs/dbt-agent-skills
All 13- 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
- Fetching Dbt Docs1.1K
- Adding Dbt Unit Test1.1K
- Running Dbt Commands1.1K