cosmos-dbt-core

Convert dbt Core projects into Airflow DAGs or TaskGroups using Cosmos.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/beauschwab/airflow-dbt-datahub --skill cosmos-dbt-core-beauschwab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cosmos-dbt-core
Source: https://github.com/beauschwab/airflow-dbt-datahub/tree/main/.agents/skills/cosmos-dbt-core
Command: npx skills add https://github.com/beauschwab/airflow-dbt-datahub --skill cosmos-dbt-core-beauschwab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cosmos enables turning a dbt Core project into an Airflow DAG/TaskGroup, streamlining orchestration of dbt workflows within Airflow using Cosmos configuration patterns and verification steps.

Core Features & Use Cases

  • Setup parsing and execution configurations to convert a local or remote dbt Core project into a Cosmos-managed DAG/TaskGroup.
  • Validate manifest availability, project config, and execution environment before deployment.
  • Use Cosmos to assemble DbtDag or DbtTaskGroup with proper profiles, rendering, and operator_args for robust data pipelines.

Quick Start

Configure Cosmos DbtDag/DbtTaskGroup for your dbt Core project by specifying project_path, profile_config, and execution_config, then deploy and run the DAG.

Frequently Asked Questions about cosmos-dbt-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a dbt Core project into an Airflow DAG?

You can convert a dbt Core project into an Airflow DAG by using Cosmos to assemble a DbtDag or DbtTaskGroup with specified project_path, profile_config, and execution_config, bridging dbt workflows into Airflow orchestration.

What is the best way to orchestrate dbt workflows within Airflow?

Orchestrating dbt workflows within Airflow is best achieved using Astronomer Cosmos to parse your dbt project and assemble it into an Airflow DAG or TaskGroup with modular configurations for rendering, execution, and project setup.

Does Cosmos work with Airflow 3.x and dbt Core projects?

Cosmos works with Airflow 3.x and dbt Core projects. The integration applies to Cosmos 1.11 and above, supporting manifest parsing, execution configurations, and project assembly for robust data pipelines.

How do I configure RenderConfig and ExecutionConfig for a Cosmos DbtDag?

To configure RenderConfig and ExecutionConfig for a Cosmos DbtDag, define modular configuration objects that manage rendering profiles and execution environments, then pass them with proper operator_args during DAG assembly.

What safety checks are needed when bridging dbt Core into Airflow?

When bridging dbt Core into Airflow, safety checks include validating manifest availability, verifying project configurations, and checking the execution environment before deployment to ensure robust pipeline assembly.

When should I use a DbtTaskGroup instead of a DbtDag in Airflow?

Use a DbtTaskGroup instead of a DbtDag in Airflow when embedding your dbt project workflow within a larger existing DAG structure, whereas a DbtDag creates a standalone DAG specifically for your dbt pipeline.