# airflow-adapter

> Claude/Codex skill by [@astronomer](https://omgskills.com/library/astronomer/index.md) · 459 stars · Updated 2026-10-30

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.

Tags: agentic-workflow, agents, ai, ai-agents, airflow, apache-airflow, claude, cursor, dag, data-engineering, data-pipelines, dbt, llm, mcp, orchestrator, skills, workflow-automation, workflow-management, workflow-orchestration, workflows

## Install

```sh
git clone https://github.com/astronomer/agents /tmp/agents && ln -s /tmp/agents/astro-airflow-mcp/.claude/skills/airflow-adapter ~/.claude/skills/airflow-adapter
```

## From README

Airflow Adapter Pattern Enables compatibility with both Airflow 2.x (/api/v1) and 3.x (/api/v2). Architecture Version is auto-detected at startup. Key Files adapters/base.py - Abstract interface adapters/airflowv2.py - Airflow 2.x (/api/v1) adapters/airflowv3.py - Airflow 3.x (/api/v2) Related Files @api-differences.md - V2 vs V3 field/endpoint differences @patterns.md - Implementation patterns Quick Reference

## Links

- HTML page: https://omgskills.com/library/astronomer/agents/astro-airflow-mcp/dot-claude/skills/airflow-adapter/
- GitHub: https://github.com/astronomer/agents
- Author: [@astronomer](https://omgskills.com/library/astronomer/index.md)

## More from this repo

- [airflow-plugins](https://omgskills.com/library/astronomer/agents/skills/airflow-plugins/index.md) — Builds Airflow 3.1+ plugins that embed FastAPI apps, custom UI pages, React components, middleware, macros, and...
   - [@astronomer](https://omgskills.com/library/astronomer/index.md) · 459 stars
- [analyzing-data](https://omgskills.com/library/astronomer/agents/skills/analyzing-data/index.md) — Queries the data warehouse with SQL and answers business questions about data.
   - [@astronomer](https://omgskills.com/library/astronomer/index.md) · 459 stars
- [cosmos-dbt-core](https://omgskills.com/library/astronomer/agents/skills/cosmos-dbt-core/index.md) — Turns a dbt Core project into an Airflow DAG/TaskGroup using Astronomer Cosmos.
   - [@astronomer](https://omgskills.com/library/astronomer/index.md) · 459 stars
