airflow-adapter
Skill by astronomer
airflow-adapter describes the adapter pattern that lets code work with both Airflow 2.x and 3.x APIs. It is for developers who work on adapters, version detection, or new API methods.
Install airflow-adapter
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/astro-airflow-mcp/.claude/skills/airflow-adapter ~/.claude/skills/airflow-adapterRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/astronomer/agents /tmp/agents && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agents/astro-airflow-mcp/.claude/skills/airflow-adapter ~/.gemini/antigravity-cli/skills/airflow-adapterAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
airflow-adapter is an agent skill that documents the adapter pattern for Airflow API compatibility. It covers Airflow 2.x through the /api/v1 endpoints and Airflow 3.x through the /api/v2 endpoints. The source describes the flow as an MCP tool calling _get_adapter(), which returns either an AirflowV2Adapter or an AirflowV3Adapter, and then calls the Airflow API. The version is auto-detected at startup.
The skill lists the key files: an abstract interface in adapters/base.py, plus airflow_v2.py and airflow_v3.py for each API version. It also points to related notes on V2 versus V3 field and endpoint differences, and on implementation patterns. A quick reference shows calls such as list_dags with a limit, and trigger_dag_run with a DAG ID and conf values. It is aimed at developers who add or maintain adapters, or add new API methods that must run on both Airflow versions.
Written from the project's SKILL.md and checked against it.
What it can do
- Version detectionDetects the Airflow version at startup and selects the matching adapter.
- _get_adapterReturns the AirflowV2Adapter or AirflowV3Adapter for the MCP tool to use.
- list_dagsLists DAGs through the adapter, with a limit argument.
- trigger_dag_runTriggers a DAG run for a given DAG ID with optional conf values.
Try asking
- Add a new API method that works on both Airflow 2 and 3
- Explain how version detection picks the Airflow adapter
- Trigger my_dag with a conf value through the adapter
Good to know
- Covers only Airflow 2.x (/api/v1) and 3.x (/api/v2) APIs
- Related files api-differences.md and patterns.md are referenced but not included in the source
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: astro-airflow-mcp/.claude/skills/airflow-adapter/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md915 B -
api-differences.md1 KB -
patterns.md2 KB
Alternatives to airflow-adapter
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
airflow-adapter: common questions
Which Airflow versions does this skill cover?
It covers Airflow 2.x through the /api/v1 endpoints and Airflow 3.x through the /api/v2 endpoints.
How does the skill choose an adapter?
The version is auto-detected at startup, and _get_adapter() returns either AirflowV2Adapter or AirflowV3Adapter.
Where is the adapter code located?
adapters/base.py holds the abstract interface, and airflow_v2.py and airflow_v3.py hold the version-specific adapters.
How do I install airflow-adapter?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is airflow-adapter free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is airflow-adapter safe to use?
It scores 71 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 airflow-adapter?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
