astronomer avatar

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-code

Installs 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

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs