creating-openlineage-extractors
Skill by astronomer
Creates custom OpenLineage extractors for Airflow operators. Aimed at users who need lineage from unsupported or third-party operators, column-level lineage, or extraction logic beyond inlets and outlets.
Install creating-openlineage-extractors
Built from the published package, never by AI.
git clone --depth 1 https://github.com/astronomer/agents /tmp/agents && mkdir -p ~/.claude/skills && cp -r /tmp/agents/skills/creating-openlineage-extractors ~/.claude/skills/creating-openlineage-extractorsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install creating-openlineage-extractors in Claude Code
git clone --depth 1 https://github.com/astronomer/agents /tmp/agents && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agents/skills/creating-openlineage-extractors ~/.gemini/antigravity-cli/skills/creating-openlineage-extractorsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install creating-openlineage-extractors in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through writing OpenLineage lineage capture for Airflow operators that lack built-in support. It recommends adding OpenLineage methods directly to operators you own, and using a custom extractor class only for third-party or provider operators you cannot modify. Extractors implement hooks such as _execute_extraction, extract_on_complete and extract_on_failure, and are registered through the airflow.cfg setting or the AIRFLOW__OPENLINEAGE__EXTRACTORS environment variable.
The skill covers common patterns such as SQL operator and file transfer extractors, plus pitfalls like circular imports, wrong import paths and unhandled None values. It notes that on Astro, lineage is collected automatically and shown in the Lineage tab. It is written for Airflow developers who need custom lineage.
Written from the project's SKILL.md and checked against it.
What it can do
- OpenLineage methodsAdds lineage methods directly to an operator you own, the recommended approach.
- Custom extractorsWrites extractor classes for third-party operators you cannot modify.
- Extraction hooksCovers extraction before a run, after success, and after failure.
- Extractor registrationShows how to register extractors in airflow.cfg or an environment variable.
- Common SQL and file patternsProvides example extractors for SQL operators and S3 to Snowflake transfers.
- Pitfall guidanceExplains circular imports, import path errors and handling of None values.
What you need
- Apache Airflow
- OpenLineage provider for Airflow
- Python
Try asking
- Write an OpenLineage extractor for my third-party Airflow operator
- Add OpenLineage methods to my custom Airflow operator for table lineage
- Show me how to register a custom OpenLineage extractor in airflow.cfg
Good to know
- The source advises preferring OpenLineage methods because extractors are harder to write and debug.
- Extractors can diverge from operator behavior after the operator changes.
- The extractor path must be importable from the Airflow worker.
- The source's testing section is incomplete.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/creating-openlineage-extractors/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to creating-openlineage-extractors
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
creating-openlineage-extractors: common questions
When should I use a custom OpenLineage extractor instead of adding methods to the operator?
Use a custom extractor only when you cannot modify the operator, such as third-party or provider operators. For operators you own, the source recommends adding OpenLineage methods directly.
How do I register a custom OpenLineage extractor?
The source describes two options: the extractors setting in the [openlineage] section of airflow.cfg, or the AIRFLOW__OPENLINEAGE__EXTRACTORS environment variable.
Does this work on Astro?
The source says Astro includes built-in OpenLineage integration with no extra transport setup. Custom extractors deployed to an Astro project are picked up automatically.
How do I install creating-openlineage-extractors?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is creating-openlineage-extractors free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is creating-openlineage-extractors safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to creating-openlineage-extractors?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
