airflow
Skill by TerminalSkills
Airflow is a skill that helps an AI assistant write, schedule and monitor Apache Airflow 3.x workflows as Python DAGs. It covers local and Docker Compose setup, operators, connections and upgrades from Airflow 2. It is aimed at data engineers building ETL and data pipelines.
Install airflow
Built from the published package, never by AI.
git clone --depth 1 https://github.com/TerminalSkills/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/airflow ~/.claude/skills/airflowRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/TerminalSkills/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/airflow ~/.gemini/antigravity-cli/skills/airflowAntigravity 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
This skill teaches an AI assistant how to work with Apache Airflow, a platform for defining workflows as Directed Acyclic Graphs (DAGs) in Python. Tasks are connected by dependencies, then scheduled and monitored from a web UI. The skill targets Airflow 3.x and explains which imports, operators and processes changed from Airflow 2.
The skill covers installing Airflow locally with airflow standalone or with Docker Compose. It includes examples of a classic DAG, the TaskFlow API with dynamic task mapping, provider operators and sensors, and connections and variables set through the CLI or environment variables. It is written for data engineers and developers who build ETL or data pipelines and need to upgrade existing DAGs to Airflow 3.
Written from the project's SKILL.md and checked against it.
What it can do
- Write DAGsBuilds classic DAGs with PythonOperator and BashOperator and sets task dependencies.
- TaskFlow APIUses @dag and @task decorators with dynamic task mapping through expand().
- Provider operators and sensorsUses SQLExecuteQueryOperator, HttpOperator and FileSensor from provider packages.
- Connections and variablesAdds connections and variables with the airflow CLI or environment variables.
- Local and Docker setupRuns Airflow with airflow standalone or with the official Docker Compose file.
- Upgrade Airflow 2 DAGsReplaces removed operators and deprecated imports so DAGs work on Airflow 3.
- Debug and trigger runsRuns a DAG once with airflow dags test, lists import errors and triggers runs.
- Create backfillsRuns backfills for a date range with airflow backfill create.
What you need
- Python 3.10 to 3.14
- Linux, macOS or WSL2
- Docker 20 or later with Compose v2.14 or later for container setup
Try asking
- Write an Airflow 3 DAG that runs every weekday at 06:00 UTC.
- Convert my Airflow 2 PostgresOperator DAG to Airflow 3.
- Add a Postgres connection named warehouse_postgres to Airflow.
Good to know
- airflow standalone is for learning, not production.
- The example Docker Compose file ships default passwords and is not a production deployment.
- In Airflow 3, tasks cannot access the metadata database directly.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/airflow/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to airflow
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
airflow: common questions
Does this skill work with Airflow 2 code?
It targets Airflow 3.x and explains how to upgrade Airflow 2 DAGs. The source says the Airflow 2 import paths still import in 3.3.2 but are deprecated shims.
Why does PostgresOperator fail to import?
The source says PostgresOperator and SimpleHttpOperator no longer exist in Airflow 3. It recommends SQLExecuteQueryOperator and HttpOperator instead.
Should I use dags test for backfills?
No. The source says airflow dags test is for debugging, and backfills should use airflow backfill create.
How do I install airflow?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is airflow free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is airflow safe to use?
It scores 49 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?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
