astronomer/airflow-adapter
Airflow adapter pattern for v2/v3 API compatibility. Use when working with adapters, version detection, or adding new API methods that need to work across Airflow 2.x and 3.x.
npx skills add https://github.com/astronomer/agents --skill airflow-adapter
Enables compatibility with both Airflow 2.x (/api/v1) and 3.x (/api/v2).
MCP Tool → _get_adapter() → AirflowV2Adapter or AirflowV3Adapter → Airflow API
Version is auto-detected at startup.
adapters/base.py - Abstract interfaceadapters/airflow_v2.py - Airflow 2.x (/api/v1)adapters/airflow_v3.py - Airflow 3.x (/api/v2)adapter = _get_adapter()
dags = adapter.list_dags(limit=100)
run = adapter.trigger_dag_run("my_dag", conf={"key": "value"})
Take astronomer/airflow-adapter from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.