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).

getnao 27d54e9 2 files · 9.2 KB Updated

File contents

getnao/nao/tree/main/skills/add-semantic-layer commit 27d54e9186

Frequently asked questions

npx skillmds@latest add getnao/add-semantic-layer