
Creating Openlineage Extractors
astronomer/agentsOfficial
Write custom OpenLineage extractors that capture lineage from Airflow operators lacking built-in support.
- skills.sh installs
- 972
- GitHub stars
- 463
- last updated
- Aug 21, 2026
What it does
- Covers two approaches: adding OpenLineage methods to operators you own, and writing custom extractors for third-party operators
- Includes a method reference for
get_openlineage_facets_on_start,_on_complete, and_on_failure, plus extractor hooks_execute_extractionandextract_on_complete - Enforces a preference for OpenLineage methods over extractors, since extractors are harder to write and debug
- Designed for Airflow DAG authors who need column-level or complex lineage beyond inlets and outlets, including Astro deployments
Install
$ npx -y skills add astronomer/agents --skill creating-openlineage-extractors -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Creating OpenLineage Extractors
This skill guides you through creating custom OpenLineage extractors to capture lineage from Airflow operators that don't have built-in support.
Reference: See the OpenLineage provider developer guide for the latest patterns and list of supported operators/hooks.
When to Use Each Approach
| Scenario | Approach |
|---|---|
| Operator you own/maintain | OpenLineage Methods (recommended, simplest) |
| Third-party operator you can't modify | Custom Extractor |
| Need column-level lineage | OpenLineage Methods or Custom Extractor |
| Complex extraction logic | OpenLineage Methods or Custom Extractor |
| Simple table-level lineage | Inlets/Outlets (simplest, but lowest priority) |
Important: Always prefer OpenLineage methods over custom extractors when possible. Extractors are harder to write, easier to diverge from operator behavior after changes, and harder to debug.
On Astro
Details
- Repository
- github.com/astronomer/agents
- Categories
- Data Science & Analytics, Technical Documentation
- First seen
- May 16, 2026
More from astronomer/agents
All 24- Cosmos Dbt Fusion936
- Warehouse Init853
- Deploying Airflow835
- Troubleshooting Astro Deployments669
- Airflow Plugins635
- Managing Astro Deployments606
- Blueprint599
- Init176
- Managing Astro Local Env1.8K
- Airflow1.5K
- Analyzing Data1.5K
- Authoring Dags1.3K
- Debugging Dags1.3K
- Testing Dags1.2K
- Migrating Airflow 2 To 31.2K
- Setting Up Astro Project1.1K
- Tracing Upstream Lineage1.1K
- Profiling Tables1.1K
- Tracing Downstream Lineage1.1K
- Checking Freshness1K
- Annotating Task Lineage1K
- Cosmos Dbt Core1K
- Airflow Hitl992
Similar to Creating Openlineage Extractors
More Data Science & Analytics
annotating-task-lineageSkillastronomer/agents1K installsAnnotate Airflow tasks with table and file lineage via inlets and outlets for operators lacking OpenLineage extractors.
tracing-upstream-lineageSkillastronomer/agents1.1K installsStep-by-step method for tracing where a table, column, or DAG gets its data from upstream.
astronomer-data-agentsPluginanthropics/claude-plugins-official47.9K starsData engineering for Apache Airflow and Astronomer. Author DAGs with best practices, debug pipeline failures, trace data lineage, profile tables, migrate Airflo
apache-airflow-orchestrationSkillmanutej/luxor-claude-marketplace440 installsComprehensive Airflow guide covering DAG authoring, operators, sensors, XComs, dependencies, dynamic workflows, and production deployment.
airflow-dag-patternsSkillwshobson/agents11.5K installsProduction Apache Airflow DAG patterns covering operators, sensors, testing, and deployment for batch pipelines.
automation-flow-generateSkillforcedotcom/sf-skills6.6K installsGenerate Salesforce Flow metadata XML through a mandatory three-step execute_metadata_action pipeline.