# Airflow knowledge patch

> Airflow knowledge patch is an open-source agent skill for developer tools. Guides an agent through Apache Airflow 3.x authoring, upgrades and operations. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/Nevaberry/nevaberry-plugins/tree/main/plugins/knowledge-patch/patches-claude/airflow-knowledge-patch
- **Repository:** https://github.com/nevaberry/nevaberry-plugins
- **GitHub stars:** 25
- **License:** MIT
- **Skill name:** airflow-knowledge-patch
- **Collection:** https://github.com/Nevaberry/nevaberry-plugins
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-30

## About

This skill is a knowledge patch for Apache Airflow, meant to be loaded when an agent writes Dags, upgrades a deployment, or operates the scheduler, API server and related services. It corrects for changes made in recent Airflow releases, such as moving operators to the standard provider, replacing removed features like SubDAGs and SLAs, and switching to the SDK and v2 REST API.

The skill is organised as a short set of quick rules in the main file, with a reference index pointing to five topic documents covering upgrade compatibility, task execution, scheduling and Assets, the API and CLI, and operations and extensions. The agent is expected to open the matching reference before making changes in that area. It includes staged preflight steps built around airflow db commands, Ruff AIR rule checks and config migration.

The skill contains no scripts. It expects a working Airflow project and the command-line tools it refers to, and it assumes Python code for Dag authoring.

## When your agent uses it

> Apache Airflow

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Nevaberry/nevaberry-plugins/tree/HEAD/plugins/knowledge-patch/patches-claude/airflow-knowledge-patch)
- [License: MIT](https://github.com/Nevaberry/nevaberry-plugins/tree/HEAD/plugins/knowledge-patch/patches-claude/airflow-knowledge-patch)

## Features

- **SDK-based Dag authoring:** Explains which airflow.sdk imports to use and which legacy Dataset and io names to replace.
- **Staged upgrade preflight:** Lists the ordered checks to run before a core Airflow upgrade, including Ruff rules and database migration.
- **Replacements for removed features:** Maps retired facilities such as SubDAGs, SLAs and the v1 REST API to their current equivalents.
- **Task runtime constraints:** Covers context access, explicit XCom pulls and dateless event-triggered runs.
- **Scheduling and Asset semantics:** Clarifies cron interval defaults, typed Asset references and Dag bundle version behaviour.
- **API server and auth migration:** Covers separate api-server and dag-processor processes, config section moves and auth manager changes.

## Good for

- Upgrade an existing Airflow 2.x deployment to Airflow 3
- Rewrite Dags that import Dataset classes or use SubDAGs
- Migrate BashOperator and sensor imports to the standard provider
- Set up Asset-based scheduling with typed references
- Configure the API server to run with Gunicorn

## Install

### Claude Code

This skill ships in the `knowledge-patch` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Nevaberry/nevaberry-plugins
/plugin install knowledge-patch@nevaberry
```

Or copy only this skill to `~/.claude/skills/airflow-knowledge-patch`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/airflow-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/airflow-knowledge-patch" ~/.claude/skills/airflow-knowledge-patch &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/airflow-knowledge-patch` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/airflow-knowledge-patch` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/airflow-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/airflow-knowledge-patch" ~/.agents/skills/airflow-knowledge-patch &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/airflow-knowledge-patch` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/airflow-knowledge-patch` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/airflow-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/airflow-knowledge-patch" ~/.cursor/skills/airflow-knowledge-patch &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/airflow-knowledge-patch` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Nevaberry/nevaberry-plugins.git --path plugins/knowledge-patch/patches-claude/airflow-knowledge-patch
```

Or copy the folder to `~/.gemini/skills/airflow-knowledge-patch` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/airflow-knowledge-patch`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/airflow-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/airflow-knowledge-patch" ~/.copilot/skills/airflow-knowledge-patch &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/airflow-knowledge-patch` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git
```

Then copy `nevaberry-plugins/plugins/knowledge-patch/patches-claude/airflow-knowledge-patch` into your agent's skills folder as `airflow-knowledge-patch`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which Airflow versions does this cover?

The guidance assumes moving from a recent 2.x release, at least 2.7, to Airflow 3, and the file is versioned 3.3.0.

### Does the skill run any scripts?

No. It contains no scripts, but it gives shell commands such as airflow db migrate and ruff check for the agent to run.

### Where are the detailed rules?

The main file gives quick guidance and an index to five reference documents, which the agent opens according to the task.

### How do I install Airflow knowledge patch in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/airflow-knowledge-patch to use it in all your projects, or to .claude/skills/airflow-knowledge-patch in one project. Or install the knowledge-patch plugin, which includes it: /plugin marketplace add Nevaberry/nevaberry-plugins, then /plugin install knowledge-patch@nevaberry.

### Does Airflow knowledge patch run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Airflow knowledge patch?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Airflow knowledge patch?

The closest alternatives to Airflow knowledge patch are Managed airflow dag authoring, Alembic knowledge patch, Adyen knowledge patch, Using knowledge patch and Angular knowledge patch.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Managed airflow dag authoring](https://ai-powered.com/skills/managed-airflow-dag-authoring): Managed airflow dag authoring is an open-source agent skill for cloud and infrastructure.
- [Alembic knowledge patch](https://ai-powered.com/skills/alembic-knowledge-patch): Alembic knowledge patch is an open-source agent skill for databases.
- [Adyen knowledge patch](https://ai-powered.com/skills/adyen-knowledge-patch): Adyen knowledge patch is an open-source agent skill for finance and payments.
- [Using knowledge patch](https://ai-powered.com/skills/using-knowledge-patch): Using knowledge patch is an open-source agent skill for developer tools.
- [Angular knowledge patch](https://ai-powered.com/skills/angular-knowledge-patch): Angular knowledge patch is an open-source agent skill for developer tools.
- [Android SDK knowledge patch](https://ai-powered.com/skills/android-sdk-knowledge-patch): Android SDK knowledge patch is an open-source agent skill for developer tools.
- [Cdf orchestration write dag](https://ai-powered.com/skills/cdf-orchestration-write-dag): Cdf orchestration write dag is an open-source agent skill for developer tools.
- [Django patterns](https://ai-powered.com/skills/django-patterns): Django patterns is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/airflow-knowledge-patch
