mcpField

add-semantic-layer

getnaoData & databases236 installs

About add-semantic-layer

Wire a semantic layer into a nao agent so that metric queries are routed through a single source of truth. Supports dbt MetricFlow (dbt Cloud with Semantic Layer), Snowflake (views or semantic views via MCP), an in-house nao YAML semantic layer, or other tools (via MCP discovery). Installs the right MCP server, updates RULES.md to route metric queries through the semantic layer, and (for the nao YAML option) generates starter metric files. Use after a first round of tests has shown the agent struggling with metric reliability. Do not use for raw rule writing (write-context-rules) or first-time setup (setup-context).

Install

Copy the command and run it in a terminal.

$npx skills add https://getnao/nao --skill add-semantic-layer

After installing, type/add-semantic-layerin Claude Code to confirm it loaded.

Bundled filestemplates/semantic.yaml

Comments

Markdown supported