cosmos-dbt-core

Convert dbt Core projects into Airflow DAGs or TaskGroups with Astronomer Cosmos.

3|Updated Jul 22, 2025
One-click install
npx skills add https://github.com/minyeamer/linkmerce --skill cosmos-dbt-core-minyeamer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cosmos-dbt-core
Source: https://github.com/minyeamer/linkmerce/tree/main/.agents/skills/cosmos-dbt-core
Command: npx skills add https://github.com/minyeamer/linkmerce --skill cosmos-dbt-core-minyeamer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you convert a dbt Core project into an Airflow DAG or TaskGroup using Astronomer Cosmos, so you can schedule and orchestrate dbt runs and tests with the right configuration for your Airflow and warehouse environment.

Core Features & Use Cases

  • Configures Cosmos for dbt Core: Guides you through ProjectConfig, RenderConfig (load/render strategy), ExecutionConfig (execution mode), and ProfileConfig (warehouse connection).
  • Supports common orchestration patterns: Covers creating a standalone DbtDag, embedding a DbtTaskGroup inside an existing DAG, or using Cosmos dbt operators directly.
  • Handles operational guardrails: Emphasizes compatibility checks (Cosmos 1.11+, Airflow 3.x), chooses the correct load method (manifest vs ls), and aligns execution mode constraints and manifest availability.

Quick Start

Provide your dbt_project_path, select a load mode (manifest recommended for containerized execution), choose an execution mode that matches your environment, and wire your warehouse connection via Airflow connections or a profiles.yml path.

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 Airflow DAGs using Astronomer Cosmos?

To convert a dbt Core project into Airflow DAGs using Astronomer Cosmos, you configure ProjectConfig, RenderConfig, ExecutionConfig, and ProfileConfig to define load methods, execution modes, and warehouse connections for orchestrating dbt runs and tests.

What is the difference between a standalone DbtDag and an in-DAG DbtTaskGroup in Cosmos?

A standalone DbtDag creates an entire Airflow DAG dedicated to dbt orchestration, while an in-DAG DbtTaskGroup embeds dbt execution as a grouped task within your existing Airflow DAG structure using Astronomer Cosmos configurations.

Do I need a dbt manifest file to run dbt Core tasks in Airflow with Cosmos?

A dbt manifest file is not strictly required but is recommended for containerized execution. Cosmos supports selecting different load methods, including manifest-based loading or ls-based loading, depending on your environment and manifest availability.

Which versions of Airflow and Cosmos are required to orchestrate dbt Core projects?

Orchestrating dbt Core projects requires Astronomer Cosmos version 1.11 or higher and assumes Airflow 3.x, with adjusted imports necessary if you are operating on different Airflow versions to ensure proper ProjectConfig and RenderConfig setup.

How do I configure warehouse connections for dbt Core execution in Airflow?

You configure warehouse connections for dbt Core execution in Airflow by wiring your database credentials via Airflow connections or by specifying a profiles.yml path using Cosmos ProfileConfig and profile mappings tailored to your specific warehouse.

Can I use Cosmos dbt operators directly without creating a full DbtDag or DbtTaskGroup?

Yes, you can use Cosmos dbt operators directly within your Airflow DAGs. The Skill supports common orchestration patterns, allowing you to bypass full DbtDag or DbtTaskGroup structures and utilize individual operators when specific granular task control is needed.