
Annotating Task Lineage
If you're working with Airflow operators that don't have built-in OpenLineage extractors, this lets you manually annotate tasks with inlets and outlets to track data lineage. It's the fallback approach when operators lack native lineage support. You'll get table-level lineage showing what each task reads and writes, visible in Astro's lineage tab across DAGs and deployments. The approach is straightforward for simple cases, using either OpenLineage Dataset objects or Airflow Assets. Just know that if an operator already has OpenLineage methods, those take precedence. For column-level lineage or complex extraction logic, you'll need to implement custom OpenLineage methods instead.
- skills.sh installs
- 1K
- GitHub stars
- 459
- last updated
- Aug 21, 2026
Install
$ npx -y skills add astronomer/agents --skill annotating-task-lineage --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/astronomer/agents
- First seen
- May 16, 2026
More from astronomer/agents
All 24- Cosmos Dbt Core990
- Airflow Hitl980
- Creating Openlineage Extractors960
- Cosmos Dbt Fusion925
- Warehouse Init841
- Deploying Airflow817
- Troubleshooting Astro Deployments655
- Airflow Plugins622
- Managing Astro Deployments595
- Blueprint584
- Init176
- Managing Astro Local Env1.6K
- Airflow1.5K
- Analyzing Data1.4K
- Authoring Dags1.3K
- Debugging Dags1.2K
- Testing Dags1.2K
- Migrating Airflow 2 To 31.1K
- Setting Up Astro Project1.1K
- Tracing Upstream Lineage1.1K
- Profiling Tables1.1K
- Tracing Downstream Lineage1.1K
- Checking Freshness1K