New advertisers: 50% off your first month with code FIRSTMONTHSee slots
astronomer avatar

Annotating Task Lineage

Annotate Airflow tasks with table and file lineage via inlets and outlets for operators lacking OpenLineage extractors.

skills.sh installs
1K
GitHub stars
463
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers adding lineage metadata with OpenLineage Dataset objects or Airflow Assets, including multiple inputs and outputs per task
  • Includes setup for custom operators through get_openlineage_facets_on_complete or dynamic inlets/outlets set inside execute
  • Provides dataset naming helpers for Snowflake, BigQuery, and S3 to keep namespaces and names consistent across platforms
  • Designed for table-level lineage on operators without built-in extraction, since inlets and outlets are the lowest-priority fallback

Install

$ npx -y skills add astronomer/agents --skill annotating-task-lineage -y

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

Files

Annotating Task Lineage with Inlets & Outlets

This skill guides you through adding manual lineage annotations to Airflow tasks using inlets and outlets.

Reference: See the OpenLineage provider developer guide for the latest supported operators and patterns.

On Astro

Lineage annotations defined with inlets and outlets are visualized in Astro's enhanced Lineage tab, which provides cross-DAG and cross-deployment lineage views. This means your annotations are immediately visible in the Astro UI, giving you a unified view of data flow across your entire Astro organization.

When to Use This Approach

Details

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

More from astronomer/agents

All 24

Similar to Annotating Task Lineage

More Data Science & Analytics