cosmos-dbt-fusion_skill

This skill helps you deploy dbt Fusion projects with Cosmos by validating version, installing the Fusion binary, and configuring local execution.
  • Python

251

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill astronomer/agents --skill cosmos-dbt-fusion

  • SKILL.md7.0 KB

Overview

This skill guides implementation of a dbt Fusion project using Astronomer Cosmos (Cosmos ≥1.11.0). It focuses on Fusion-specific constraints for Snowflake and Databricks when running dbt with ExecutionMode.LOCAL. Use it to validate environment, install the Fusion binary, and configure Cosmos Project/Profile/Execution settings.

How this skill works

The skill inspects Cosmos version, verifies the dbt engine is Fusion (not Core), and confirms the warehouse is Snowflake or Databricks. It enforces LOCAL execution, requires a Fusion binary path in ExecutionConfig, and walks through RenderConfig, ProfileConfig, ProjectConfig, and DAG or TaskGroup assembly. Finally, it lists validation and runtime checks to confirm a successful run.

When to use it

  • Running a dbt Fusion project with Astronomer Cosmos (Cosmos ≥1.11)
  • Target warehouse is Snowflake or Databricks (public beta)
  • You can install the Fusion binary into the Airflow runtime/image
  • You must run dbt locally (ExecutionMode.LOCAL only)
  • You need guidance wiring ProjectConfig, ProfileConfig, and ExecutionConfig together

Best practices

  • Confirm Cosmos version is ≥1.11.0 before implementing Fusion
  • Install the dbt Fusion binary into the Airflow image/runtime and validate with dbt --version
  • Use ProfileMapping classes: SnowflakeUserPasswordProfileMapping or DatabricksTokenProfileMapping
  • Select a single parsing strategy (dbt_manifest, dbt_ls, or automatic) based on project size and selector needs
  • Keep secrets in Airflow connections or environment variables, never in plaintext

Example use cases

  • Create a standalone DbtDag for a Fusion project with dbt_executable_path pointing to the installed binary
  • Embed DbtTaskGroup inside an existing DAG to run Fusion models as part of a larger workflow
  • Use dbt_manifest load mode for large projects to speed parsing when a manifest.json is available
  • Use dbt_ls load mode when you need dbt-native selectors and the Fusion binary is accessible to the scheduler

FAQ

No. This skill targets dbt Fusion only. For dbt Core workflows use the appropriate dbt Core guidance instead.

Why must ExecutionMode be LOCAL?

dbt Fusion is a native binary, not a Python package, so containerized, async, or virtualenv execution modes are unsupported. Install the binary into the Airflow runtime and run locally.

Which warehouses are supported?

Supported warehouses for Fusion with Cosmos are Snowflake and Databricks (Databricks support is public beta).

How do I validate my setup before production?

Verify pip show astronomer-cosmos reports ≥1.11.0, confirm the dbt binary path exists and dbt --version succeeds, ensure DAG parsing in the UI, and run a manual execution against the target warehouse for at least one model.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational