Skip to main content
The omni-to-dbt-metricflow agent skill moves logic that lives in Omni views, relationships, and topics into the dbt Semantic Layer. Run it in an AI agent such as Claude Code, Cursor, OpenAI Codex, or Snowflake Cortex Code. See Installing Omni agent skills for installation.

Requirements

To run the skill, you’ll need:
  • The omni-integrations and omni-analytics plugins installed in your agent. The fallback step uses the omni-model-builder skill from omni-analytics. See Installing Omni agent skills.
  • The Omni CLI installed and logged in to a profile.
  • A local checkout of your dbt project, with dbt and MetricFlow (mf) installed in the same Python environment as your dbt adapter.
  • The dbt integration enabled for the connection, with Enable semantic layer checked.

Run the skill

After installing, give the agent a prompt that names the fields, view, or topic to push. For example: