astronomer avatar

Cosmos Dbt Core

Converts dbt Core projects into Airflow DAGs or TaskGroups using Astronomer Cosmos. The skill walks you through the config stack: project location, parsing strategy (manifest vs dbt_ls), execution mode (local, Kubernetes, virtualenv, or the faster watcher modes), warehouse connection via ProfileConfig, and test behavior. It targets Cosmos 1.11+ and Airflow 3.x but includes Airflow 2.x compatibility notes. The checklist format is helpful because Cosmos has a lot of knobs to turn, and picking the wrong load mode or execution mode will either break your setup or make it unnecessarily slow. Use this when you need dbt running inside Airflow with proper task granularity, not when you're using dbt Fusion.

skills.sh installs
990
GitHub stars
459
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/astronomer/agents
Categories
Release Management, Automation & Workflows
First seen
May 16, 2026

More from astronomer/agents

All 24
1forcedotcom avatarvalidating-sldsforcedotcom/sf-skillsAudit Lightning Web Components for SLDS compliance and produce a scored quality report. Runs the SLDS linter, analyzes CSS for theming hook usage and pairing, c987skills.sh installs
2onmax avatarwriting-web-documentationonmax/nuxt-skillsWrite, rewrite, review, and organize developer-facing documentation for web software projects. Use when creating or improving README files, docs homepages, quic965skills.sh installs
3josiahsiegel avatardocker-best-practicesjosiahsiegel/claude-plugin-marketplaceComprehensive Docker best practices for images, containers, and production deployments. PROACTIVELY activate for: (1) writing production-ready Dockerfiles, (2) 944skills.sh installs
4databricks avatardatabricks-dabsdatabricks/databricks-agent-skillsCreate, configure, validate, deploy, run, and manage Declarative Automation Bundles (DABs, formerly Databricks Asset Bundles). Use when working with Databricks 939skills.sh installs
5heygen-com avatarliveavatar-feedbackheygen-com/liveavatar-agent-skillsCollect and submit developer feedback to the LiveAvatar team. Use when: (1) A LiveAvatar integration is done, working, finished, or complete, (2) The user says 935skills.sh installs
6gitbutlerapp avatarbutgitbutlerapp/gitbutlerCommit, push, branch, and manage version control with GitButler. Use for commits, selective dirty-file or hunk commits, branches, diffs, PRs, history edits, squ933skills.sh installs