Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
astronomer avatar

Airflow Adapter

  • 2 installs
  • 416 repo stars
  • Updated August 4, 2026
  • astronomer/agents

airflow-adapter is a skill that documents an adapter pattern enabling code to work with both the Airflow 2.x (/api/v1) and 3.x (/api/v2) REST APIs.

About

This skill documents an adapter pattern that makes code compatible with both Airflow 2.x (/api/v1) and 3.x (/api/v2) APIs. It is used when working with the adapters, adding version-detecting API methods, or handling field and endpoint differences between the two Airflow versions. The version is auto-detected at startup and routed to the matching adapter.

  • Adapter pattern for Airflow 2.x (/api/v1) and 3.x (/api/v2) compatibility
  • Auto-detects Airflow version at startup
  • Routes MCP tool calls through version-specific adapters

Airflow Adapter by the numbers

  • 2 all-time installs (skills.sh)
  • Ranked #3,774 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

airflow-adapter capabilities & compatibility

Capabilities
api development · workflow orchestration
Use cases
api development · orchestration
Runs
Runs locally
Pricing
Free
From the docs

What airflow-adapter says it does

Enables compatibility with both Airflow 2.x (`/api/v1`) and 3.x (`/api/v2`).
SKILL.md
Version is auto-detected at startup.
SKILL.md
npx skills add https://github.com/astronomer/agents --skill airflow-adapter

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2
repo stars416
Last updatedAugust 4, 2026
Repositoryastronomer/agents

What it does

Add or maintain Airflow API methods that work across Airflow 2.x and 3.x using auto-detected version adapters.

Who is it for?

Developers adding Airflow API methods that must span v2 and v3

Skip if: Projects targeting a single fixed Airflow version

When should I use this skill?

Working with the adapters, version detection, or adding new API methods across Airflow 2.x and 3.x

What you get

New API methods work across both Airflow versions via the correct auto-detected adapter.

  • version-detecting Airflow API methods

By the numbers

  • 2 adapter implementations: v2 and v3

Files

SKILL.mdMarkdownGitHub ↗

Airflow Adapter Pattern

Enables compatibility with both Airflow 2.x (/api/v1) and 3.x (/api/v2).

Architecture

MCP Tool → _get_adapter() → AirflowV2Adapter or AirflowV3Adapter → Airflow API

Version is auto-detected at startup.

Key Files

  • adapters/base.py - Abstract interface
  • adapters/airflow_v2.py - Airflow 2.x (/api/v1)
  • adapters/airflow_v3.py - Airflow 3.x (/api/v2)

Related Files

  • @api-differences.md - V2 vs V3 field/endpoint differences
  • @patterns.md - Implementation patterns

Quick Reference

adapter = _get_adapter()
dags = adapter.list_dags(limit=100)
run = adapter.trigger_dag_run("my_dag", conf={"key": "value"})

Related skills

FAQ

Which Airflow versions are supported?

Airflow 2.x via /api/v1 and Airflow 3.x via /api/v2, selected by an auto-detected adapter.

How is the version chosen?

The version is auto-detected at startup and the MCP tool call is routed through the matching adapter.

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.