airflow

airflow is a skill for Claude Code, Codex from alivirgo/Major-AI-Skills. It costs 25 tokens per session (806 once invoked), scanned A, original, MIT.

Guidance for Apache Airflow, a system that schedules and runs data-processing tasks arranged as directed workflows. It covers workflow files, task workers, retries, sensors, and production practices.

In plain words
What is it for?
Use it to create or review scheduled data pipelines, batch jobs, backfills, database or Spark tasks, retries, timeouts, and task-to-task data sharing.
Why use it?
It helps avoid common pipeline problems such as duplicate work, slow scheduler loading, excessive task data transfer, missing time limits, and exposed passwords.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Part of the major-ai-skills plugin — 147 skills, 7 plugins shipped together

Good fit Use it to create or review scheduled data pipelines, batch jobs, backfills, database or Spark tasks, retries, timeouts, and task-to-task data sharing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivirgo/major-ai-skills/airflow
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alivirgo/Major-AI-Skills --skill airflow
Clone the repo
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skills

Made for: Claude Code, Codex.

Or install major-ai-skills, the plugin that ships this one along with the rest of its 147 skills, 7 plugins.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for airflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/airflow/github.svg)](https://agentmods.dev/skills/alivirgo/major-ai-skills/airflow)
Your own site
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/airflow"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/airflow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for airflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/airflow"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/airflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 806 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.00806
Opus 5 $0.00013 $0.00403
Sonnet 5 $0.00005 $0.00161
Haiku 4.5 $0.00003 $0.00081

Measured yesterday against content hash 9353d8647334, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

airflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/airflow/SKILL.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Apache Airflow AI Skill Guide

Overview & Engine Architecture

Airflow schedules DAGs of tasks executed by workers; the scheduler parses DAG files, the metadata DB stores run state, and executors (Local/Celery/Kubernetes) run task instances. Agents write idempotent tasks, set explicit retries/timeouts, avoid top-level heavy I/O in DAG files, and pass data via XCom sparingly (or external storage).

DAG file -> scheduler -> executor/workers
                |
           metadata DB (runs, XCom)
                |
           task logs / sensors

When to use this skill

  • Time-based or data-aware batch pipelines
  • Orchestrating dbt, Spark, warehouse SQL, ML batch jobs
  • Backfills with clear logical dates

Operational directives

  1. Keep DAG top-level code fast (imports + structure only).
  2. Tasks must be idempotent for a given data_interval / logical date.
  3. Set retries, retry_delay, and execution_timeout intentionally.
  4. Prefer pushing large payloads to object storage over big XComs.
  5. Never commit connection passwords; use Airflow Connections / secrets backend.

Minimal DAG

from datetime import datetime, timedelta
from airflow import DAG
from airflow.operators.bash import BashOperator

with DAG(
    dag_id="orders_daily",
    start_date=datetime(2026, 1, 1),
    schedule="@daily",
    catchup=False,
    default_args={"retries": 2, "retry_delay": timedelta(minutes=5)},
    tags=["orders"],
) as dag:
    extract = BashOperator(
        task_id="extract",
        bash_command="python /opt/airflow/jobs/extract_orders.py --date {{ ds }}",
    )
    dbt_run = BashOperator(
        task_id="dbt_run",
        bash_command="cd /opt/dbt && dbt build --select marts.* --vars '{run_date: {{ ds }}}'",
    )
    extract >> dbt_run

Useful CLI

airflow dags list
airflow dags test orders_daily 2026-08-26
airflow tasks test orders_daily extract 2026-08-26

Common failures

Symptom Cause Fix
DAG not appearing import error / parse fail check scheduler logs
Zombie / stuck tasks worker death timeouts; health checks
Huge backfill load catchup=True limit; clear carefully
Sensor hanging wrong poke / mode reschedule mode; timeouts

Read the full file on GitHub · 102 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · -1 tokens per session 9353d8647334
  2. 11d ago First seen · 102 lines · 26 tokens per session scan A 6e491dbdd963

Subscribe to this mod's changes

airflow is a skill published in the GitHub repository alivirgo/Major-AI-Skills (1 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 806 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

apache-airflow-orchestration

Complete guide for Apache Airflow orchestration including DAGs, operators, sensors, XComs, task dependencies, dynamic workflows, and production deployment.

manutej/luxor-claude-marketplace · 36 tokens

airflow-dag-patterns-v3

Apache Airflow DAG Patterns workflow skill. Use this skill when the user needs Build production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. Use when creating data pipelines, orchestrating workflows, or scheduling batch jobs and the operator should preserve the upstream…

diegosouzapw/awesome-omni-skills · 79 tokens

airflow-dag-patterns

Apache Airflow DAG Patterns workflow skill. Use this skill when the user needs Build production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. Use when creating data pipelines, orchestrating workflows, or scheduling batch jobs and the operator should preserve the upstream…

diegosouzapw/awesome-omni-skills · 77 tokens

airflow-dag-patterns-v2

Apache Airflow DAG Patterns workflow skill. Use this skill when the user needs Build production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. Use when creating data pipelines, orchestrating workflows, or scheduling batch jobs and the operator should preserve the upstream…

diegosouzapw/awesome-omni-skills · 79 tokens

airflow-dag-orchestrator

Apache Airflow DAGs, operators, SLA monitoring, and workflow orchestration. Activate on: Airflow, DAG, operator, sensor, scheduler, task dependency, SLA, backfill, XCom. NOT for: dbt transformations (use dbt-analytics-engineer), streaming pipelines (use streaming-pipeline-architect).

curiositech/windags-skills · 74 tokens

airflow

Apache Airflow workflow orchestration reference. Covers DAG authoring (TaskFlow API + classic), operators, sensors, connections, XComs, deployment (Docker, Kubernetes, Helm), testing, and common patterns including dynamic task mapping and data-aware scheduling.

bytesagain/ai-skills · 54 tokens