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
| 1 | Semantic layer active | Query metrics directly | listmetrics, getdimensions, querymetrics | | 2 | SL active but minor modifications needed (missing dimension, custom filter, case when, different aggregation) | Modify compiled SQL | getmetricscompiledsql, then executesql |
Используйте, когда пользователь задает бизнес-вопрос, требующий запроса данных (например, «Каков был общий объем продаж в прошлом квартале?»). НЕ для проверки, тестирования или построения моделей БДТ во время разработки. Источник: dbt-labs/dbt-agent-skills.