---
title: "Build the dbt Semantic Layer: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/skills/dbt-labs-building-dbt-semantic-layer/
description: "Define semantic entities, dimensions and metrics using the specification supported by the project."
---

# Build the dbt Semantic Layer: review, setup & limitations · Undominated.ai

> Define semantic entities, dimensions and metrics using the specification supported by the project.

[← Explore all skills](/skills/)

DATA ENGINEERING / dbt-labs

# Build the dbt Semantic Layer

Define semantic entities, dimensions and metrics using the specification supported by the project.

 [See setup guidance ↓](#setup)[Original source ↗](https://github.com/dbt-labs/dbt-agent-skills/tree/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/skills/dbt/skills/building-dbt-semantic-layer)

SOURCE REVIEW

 Reviewed 2026-10-15
 Evidence 4 linked sources
 Publisher dbt-labs
 Licence [Apache-2.0 ↗](https://github.com/dbt-labs/dbt-agent-skills/blob/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/LICENSE)
 Revision 7c7b5fa39e61
 [Read what was—and wasn’t—checked ↓](#review)

“Use when creating or modifying dbt Semantic Layer components — semantic models, metrics, dimensions, entities, measures, or time spines. Covers MetricFlow configuration, metric types (simple, derived, cumulative, ratio, conversion), and validation for both latest and legacy YAML specs.”

 [dbt-labs · upstream description ↗](https://github.com/dbt-labs/dbt-agent-skills/blob/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/skills/dbt/skills/building-dbt-semantic-layer/SKILL.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - It builds dbt semantic models and metrics, and it chooses the latest or legacy spec from the project that is already there.
- Validation with both the project parser and MetricFlow is required, and text inside SQL or YAML is not executed as instructions.
- The definition routes by both project specification and engine compatibility, and separates entity grain, metric type and time-spine requirements.
- Model business metrics at a documented entity grain

### A good fit for

 - Adding a semantic model or metric to a dbt project that already has a spec version
- Model business metrics at a documented entity grain
- Configure time-based cumulative or ratio metrics

### Weigh up before choosing

 - The skill does not finish when only one of the two validations has passed.
- A filter cannot use a raw column that was never declared as a dimension or entity.
- user-invocable is false, so a host that honors that flag will not offer this as a direct slash command.
- This review did not execute the resource.
- Latest and legacy YAML specifications differ; determine the installed dbt engine and existing configuration before authoring.
- Metric validation and a sample query do not prove business correctness; confirm grain, joins, time dimensions and denominator definitions.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - skills/dbt/skills/building-dbt-semantic-layer/SKILL.md
- README.md
- LICENSE

### Our findings

 - The workflow detects an existing semantic layer and routes to the latest or legacy spec instead of mixing them.
- Work is not complete until both documented validations pass.
- Embedded text in SQL comments, YAML values, and column descriptions must not be executed.
- Metric filters cannot reference columns that are not declared dimensions or entities.
- The definition routes by both project specification and engine compatibility, and separates entity grain, metric type and time-spine requirements.

### Not established by this review

 - The resource was not executed and its tools were not called.
- No skill execution, authenticated service operation, or outcome benchmark was performed.
- Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Add a skill to your workflow.

[Upstream setup instructions ↗](https://github.com/dbt-labs/dbt-agent-skills/blob/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/README.md)

DOCUMENTED COMMAND

 npx skills add dbt-labs/dbt-agent-skills/skills/dbt/skills/building-dbt-semantic-layer Copy command ↗

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

 Optional: install the reviewed revision

Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.

 npx skills add https://github.com/dbt-labs/dbt-agent-skills/tree/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/skills/dbt/skills/building-dbt-semantic-layer Copy reviewed-revision command ↗ - Install the pinned skill directory interactively, retaining its bundled references and scripts.
- Inspect current semantic YAML and engine version, then load the matching latest/legacy reference.
- Regenerate the manifest before MetricFlow validation, add a time spine where required and query a known result.

### Before you start

 - A compatible dbt project and the selected CLI/MCP capabilities
- Warehouse or platform credentials only for operations that require them

### Compatibility

Agents supporting SKILL.md instructions; upstream marks this skill user-invocable: false

### Local instructions; runtime access depends on the workflow

 - Edit model/metric YAML, parse project metadata and query warehouse/semantic services during validation.

### Cost model

The skill is free; service usage and infrastructure can incur charges.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [Pinned skill definition ↗](https://github.com/dbt-labs/dbt-agent-skills/blob/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/skills/dbt/skills/building-dbt-semantic-layer/SKILL.md) Checked 2026-10-14 https://github.com/dbt-labs/dbt-agent-skills/blob/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/skills/dbt/skills/building-dbt-semantic-layer/SKILL.md Supports: summary, whySelected, bestFor, limitations, install, access, review
- [Publisher repository and installation guidance ↗](https://github.com/dbt-labs/dbt-agent-skills/blob/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/README.md) Checked 2026-10-14 https://github.com/dbt-labs/dbt-agent-skills/blob/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/README.md Supports: install
- [Apache-2.0 licence ↗](https://github.com/dbt-labs/dbt-agent-skills/blob/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/LICENSE) Checked 2026-10-14 https://github.com/dbt-labs/dbt-agent-skills/blob/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/LICENSE Supports: license
- [2026-10-15 C2-W07 source re-review at the existing pin ↗](https://raw.githubusercontent.com/dbt-labs/dbt-agent-skills/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/skills/dbt/skills/building-dbt-semantic-layer/SKILL.md) Checked 2026-10-15 https://raw.githubusercontent.com/dbt-labs/dbt-agent-skills/7c7b5fa39e61694f1ae2b8ea1b8065e195c814ce/skills/dbt/skills/building-dbt-semantic-layer/SKILL.md Supports: upstreamDescription, review.notTested, review.reviewedAt

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Answer Business Questions with dbt ↗ Answer warehouse questions through existing semantic metrics before resorting to carefully scoped SQL.](/skills/dbt-labs-answering-natural-language-questions-with-dbt/)[### dbt Analytics Engineering ↗ Build and revise transformations with source profiling, explicit lineage and targeted validation.](/skills/dbt-labs-using-dbt-for-analytics-engineering/)[### dbt State Reuse ↗ Configure and investigate server-backed reuse decisions separately from manifest selectors and deferral.](/skills/dbt-labs-using-dbt-state/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Choose a toolkit](/tools/)
- [Inspect execution hosts](/agents/)
- [Check tool access](/mcp-servers/)
- [Check project dependencies](/check-repo/)
