astronomer/agents▌
22 approved skills in this repository
creating-openlineage-extractors
Productivity
Custom OpenLineage extractors for unsupported Airflow operators and complex lineage scenarios. \n \n Two approaches: add OpenLineage methods directly to operators you own (recommended), or create custom extractors for third-party operators you cannot modify \n Extractors intercept operator execution at three points: before execution for static lineage, after success for runtime-determined outputs, and optionally after failure for partial lineage \n Register extractors via airflow.cfg or environm
airflow
AI/ML
Query, manage, and troubleshoot Apache Airflow DAGs, runs, tasks, and system configuration. \n \n Supports 30+ commands across DAG inspection, run management, task logging, configuration queries, and direct REST API access \n Manage multiple Airflow instances with persistent configuration; auto-discover local and Astro deployments \n Trigger DAG runs synchronously (wait for completion) or asynchronously, diagnose failures, clear runs for retry, and access task logs with retry/map-index filtering
testing-dags
Testing
Iterative test-debug-fix cycles for Airflow DAGs with comprehensive failure diagnosis. \n \n Start with af runs trigger-wait <dag_id> to run a DAG and wait for completion; no pre-flight checks needed \n On failure, use af runs diagnose for comprehensive failure summary and af tasks logs to inspect error details from specific tasks \n Supports custom configuration, timeouts, and retry attempts; handles success, failure, and timeout scenarios with clear response interpretation \n Quick valida
debugging-dags
Productivity
Systematic root cause analysis and remediation for failed Airflow DAGs with structured investigation workflows. \n \n Guides through four-step diagnosis process: identify the failure, extract error details, gather contextual information, and deliver actionable remediation steps \n Categorizes failures into four types (data, code, infrastructure, dependency) to focus investigation and suggest appropriate fixes \n Provides ready-to-use CLI commands for log retrieval, run comparison, task clearing,
tracing-downstream-lineage
Productivity
Trace downstream data lineage to assess change impact before modifying tables or DAGs. \n \n Identifies direct consumers of a target table or DAG through source code search, view dependencies, and BI tool connections \n Builds a full dependency tree mapping all downstream impacts, from tables to dashboards to ML models \n Categorizes dependencies by criticality (critical, high, medium, low) to prioritize stakeholder communication and testing \n Generates an impact report with risk assessment, af
annotating-task-lineage
Productivity
Annotate Airflow tasks with data lineage using inlets and outlets. \n \n Supports OpenLineage Dataset objects, Airflow Assets, and Airflow Datasets for defining inputs and outputs across databases, data warehouses, and cloud storage \n Use as a fallback when operators lack built-in OpenLineage extractors; follows a four-tier precedence system where custom extractors and OpenLineage methods take priority \n Includes dataset naming helpers for Snowflake, BigQuery, S3, and PostgreSQL to ensure cons
managing-astro-local-env
Productivity
Manage local Airflow development environment with Astro CLI commands. \n \n Start, stop, restart, and kill local Airflow containers; default credentials are admin/admin with webserver at http://localhost:8080 \n View logs for all components or specific services (scheduler, webserver) with real-time follow option \n Access container shells and run Airflow CLI commands directly via astro dev bash and astro dev run \n Troubleshoot common issues including port conflicts, startup failures, package er
managing-astro-deployments
Productivity
managing-astro-deployments
init
Productivity
Generate a comprehensive, user-editable schema reference file for the data warehouse.
deploying-airflow
AI/ML
This skill covers deploying Airflow DAGs and projects to production, whether using Astro (Astronomer's managed platform) or open-source Airflow on Docker Compose or Kubernetes.
warehouse-init
Productivity
Generate a comprehensive, user-editable schema reference file for the data warehouse.
cosmos-dbt-fusion
Productivity
Configure Astronomer Cosmos for dbt Fusion projects on Snowflake, Databricks, BigQuery, or Redshift with local execution. \n \n Requires Cosmos 1.11.0+, dbt Fusion binary installed separately in the Airflow runtime, and ExecutionMode.LOCAL with subprocess invocation \n Supports three parsing strategies: dbt_manifest (fastest for large projects), dbt_ls (for complex selectors), or automatic (simple setups) \n Covers ProfileConfig setup for warehouse connections, ProjectConfig for dbt project path
airflow-hitl
AI/ML
Human approval gates, form inputs, and branching in Airflow DAGs using deferrable operators. \n \n Four operator types: ApprovalOperator for approve/reject decisions, HITLOperator for multi-option selection with forms, HITLBranchOperator for human-driven task routing, and HITLEntryOperator for form data collection \n All operators are deferrable, releasing worker slots while awaiting human response via Airflow UI's Required Actions tab or REST API \n Supports optional features including custom n
cosmos-dbt-core
Productivity
Convert dbt Core projects into Airflow DAGs or TaskGroups using Astronomer Cosmos. \n \n Supports three assembly patterns: standalone DbtDag, DbtTaskGroup within existing DAGs, and individual Cosmos operators for fine-grained control \n Choose from eight execution modes (WATCHER, LOCAL, VIRTUALENV, KUBERNETES, AIRFLOW_ASYNC, and others) based on isolation and performance needs \n Offers three parsing strategies (dbt_manifest, dbt_ls, dbt_ls_file, automatic) to balance speed and selector complexi
setting-up-astro-project
Productivity
Initialize and configure Astro/Airflow projects with dependencies, connections, and environment setup. \n \n Scaffolds complete project structure with astro dev init , including directories for DAGs, plugins, tests, and configuration files \n Manage Python and OS-level dependencies via requirements.txt and packages.txt , with custom Dockerfile support for complex setups \n Configure connections, variables, and pools declaratively in airflow_settings.yaml , with export/import commands for environ
checking-freshness
Productivity
Verify data freshness by checking table timestamps and update patterns against a staleness scale. \n \n Identifies timestamp columns using common ETL naming patterns ( _loaded_at , _updated_at , created_at , etc.) and queries their maximum values to determine age \n Classifies data into four freshness statuses: Fresh (< 4 hours), Stale (4–24 hours), Very Stale (> 24 hours), or Unknown (no timestamp found) \n Provides SQL templates for checking last update time and row count trends over rece
profiling-tables
Productivity
Comprehensive statistical and quality analysis of database tables with structured profiling output. \n \n Generates column-level statistics tailored to data type: min/max/percentiles for numeric columns, length metrics for strings, date ranges for timestamps \n Performs cardinality analysis to identify categorical vs. high-cardinality columns and detect skewed distributions \n Assesses data quality across five dimensions: completeness (NULL rates), uniqueness (duplicates), freshness (update time
tracing-upstream-lineage
Productivity
Trace upstream data lineage to identify sources, DAGs, and dependencies feeding a table or column. \n \n Supports tracing three target types: tables, columns, and DAGs; uses Airflow DAG source code and task inspection to find producing pipelines \n Handles SQL sources (FROM clauses), external systems (S3, Postgres, Salesforce, HTTP APIs), and file-based sources; recursively traces upstream chains \n Includes column-level tracing through direct mappings, transformations, and aggregations in DAG c
migrating-airflow-2-to-3
AI/ML
Automated detection and code migration for upgrading Apache Airflow 2.x DAGs to Airflow 3.x. \n \n Provides Ruff-based auto-fix rules (AIR30/AIR301/AIR302/AIR31/AIR311/AIR312) to detect and resolve breaking changes in imports, operators, hooks, and context variables \n Covers critical architecture shifts: workers no longer access metadata DB directly; use the Airflow Python client or REST API instead of ORM session queries \n Includes manual migration checklist for issues Ruff cannot auto-fix: c
authoring-dags
Productivity
Guided workflow for creating Apache Airflow DAGs with validation and testing integration. \n \n Structured six-phase approach: discover environment and existing patterns, plan DAG structure, implement following best practices, validate with af CLI commands, test with user consent, and iterate on fixes \n CLI commands for discovery ( af config connections , af config providers , af dags list ) and validation ( af dags errors , af dags get , af dags explore ) provide immediate feedback on DAG corr
analyzing-data
Productivity
Query your data warehouse to answer business questions with cached patterns and concept mappings. \n \n Supports pattern lookup and caching for repeated question types, with outcome recording to improve future queries \n Includes concept-to-table mapping cache and table schema discovery via INFORMATION_SCHEMA or codebase grep \n Provides run_sql() and run_sql_pandas() kernel functions returning Polars or Pandas DataFrames for analysis \n CLI commands for managing concept, pattern, and table cach
troubleshooting-astro-deployments
Productivity
troubleshooting-astro-deployments