answering-natural-language-questions-with-dbt

Answer natural language business questions by querying dbt data models.

1|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/juandaniel190/personal-projects --skill answering-natural-language-questions-with-dbt-juandaniel190
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: answering-natural-language-questions-with-dbt
Source: https://github.com/juandaniel190/personal-projects/tree/main/.cursor/skills/answering-natural-language-questions-with-dbt
Command: npx skills add https://github.com/juandaniel190/personal-projects --skill answering-natural-language-questions-with-dbt-juandaniel190

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables users to ask questions about their data in plain English and receive answers derived from their dbt data models.

Core Features & Use Cases

  • Semantic Layer Querying: Leverages dbt's semantic layer to answer business questions directly.
  • SQL Generation & Execution: Can generate and execute SQL when the semantic layer is insufficient, by modifying compiled SQL or discovering models.
  • Use Case: A marketing manager can ask "What were total sales last quarter?" and receive a data-driven answer without needing to write any SQL.

Quick Start

Use the answering-natural-language-questions-with-dbt skill to find out total sales last quarter.

Frequently Asked Questions about answering-natural-language-questions-with-dbt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query dbt data models using natural language?

Query dbt data models using natural language by leveraging the dbt semantic layer to translate plain English business questions into direct metric queries. This allows non-technical users to retrieve data-driven answers without writing SQL.

Can I generate and execute SQL directly from a dbt semantic layer query?

You can generate and execute SQL directly from a dbt semantic layer query when the semantic layer is insufficient. The system achieves this by modifying compiled SQL or discovering models to retrieve the required business data.

Do I need a dbt semantic layer to answer business questions with natural language?

A dbt semantic layer is not strictly required to answer business questions with natural language. You can also use model discovery tools or analyze dbt project artifacts to generate SQL and retrieve data.

What is the best way to find total sales last quarter without writing SQL in dbt?

The best way to find total sales last quarter without writing SQL in dbt is to ask a natural language question through the semantic layer. The system translates the plain English query into a direct metric retrieval.

How does dbt model discovery work for natural language data querying?

Dbt model discovery for natural language data querying works by analyzing the dbt manifest to locate relevant tables and metrics. This allows the system to generate and execute targeted SQL when direct semantic layer querying is insufficient.