astronomer avatar

Cosmos Dbt Core

Turns a dbt Core project into an Airflow DAG or TaskGroup via Astronomer Cosmos, with pre-implementation checks.

CCM score
74 of 100
skills.sh installs
1K
GitHub stars
463
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the implementation flow: project config, parsing strategy, execution mode, warehouse connection, testing behavior, and DAG assembly
  • Includes choices for load modes (dbt_manifest, dbt_ls, dbt_ls_file, automatic) and execution modes (WATCHER, LOCAL, VIRTUALENV, KUBERNETES, and others)
  • Requires confirming dbt engine, warehouse, Airflow version, execution environment, DAG versus TaskGroup, and manifest availability first
  • Targets Cosmos 1.11+ and Airflow 3.x, with Airflow 2.x import adjustments documented in an appendix

Install

$ npx -y skills add astronomer/agents --skill cosmos-dbt-core -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Cosmos + dbt Core: Implementation Checklist

Execute steps in order. Prefer the simplest configuration that meets the user's constraints.

Version note: This skill targets Cosmos 1.11+ and Airflow 3.x. If the user is on Airflow 2.x, adjust imports accordingly (see Appendix A).

Reference: Latest stable: https://pypi.org/project/astronomer-cosmos/

Before starting, confirm: (1) dbt engine = Core (not Fusion → use cosmos-dbt-fusion), (2) warehouse type, (3) Airflow version, (4) execution environment (Airflow env / venv / container), (5) DbtDag vs DbtTaskGroup vs individual operators, (6) manifest availability.


1. Configure Project (ProjectConfig)

ApproachWhen to useRequired param
Project pathFiles available locallydbt_project_path
Manifest onlydbt_manifest loadmanifest_path + project_name
from cosmos import ProjectConfig

Details

Repository
github.com/astronomer/agents
Categories
Data Science & Analytics, DevOps & Cloud, Python
First seen
May 16, 2026

More from astronomer/agents

All 24

Similar to Cosmos Dbt Core

More Data Science & Analytics