apache-airflow-dag-orchestration

apache-airflow-dag-orchestration is a skill for Claude Code, Codex from hamzabellouch/agent-skills. It costs 41 tokens per session (1,555 once invoked), scanned A, original, MIT.

A guide to Apache Airflow, a system for scheduling and monitoring multi-step data workflows called DAGs.

In plain words
What is it for?
Use it to author scheduled data pipelines, create reusable tasks and operators, handle waiting tasks efficiently, and run workflows with local, Celery, or Kubernetes workers.
Why use it?
It helps coordinate recurring pipeline tasks, track their history, retry work safely, and run tasks through different worker setups.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to author scheduled data pipelines, create reusable tasks and operators, handle waiting tasks efficiently, and run workflows with local, Celery, or Kubernetes workers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hamzabellouch/agent-skills/apache-airflow-dag-orchestration
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 hamzabellouch/agent-skills --skill apache-airflow-dag-orchestration
Clone the repo
git clone --depth 1 https://github.com/hamzabellouch/agent-skills

Made for: Claude Code, Codex.

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 apache-airflow-dag-orchestration

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/apache-airflow-dag-orchestration/github.svg)](https://agentmods.dev/skills/hamzabellouch/agent-skills/apache-airflow-dag-orchestration)
Your own site
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/apache-airflow-dag-orchestration"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/apache-airflow-dag-orchestration/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 apache-airflow-dag-orchestration

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/apache-airflow-dag-orchestration"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/apache-airflow-dag-orchestration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,555 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.00041 $0.01555
Opus 5.5 $0.00016 $0.00622
Sonnet 5.5 $0.00008 $0.00311
Haiku 4.5 $0.00004 $0.00155

Measured 2mo ago against content hash 1b8dda9a7f9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

apache-airflow-dag-orchestration 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 2mo ago.

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.

Data Engineering and Pipelines/apache-airflow-dag-orchestration/SKILL.md · 164 lines

How it starts

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

Apache Airflow DAG Orchestration

Comprehensive architectural guide for authoring resilient, idempotent, and scalable data pipelines using Apache Airflow 2.x+ with TaskFlow API, custom operators, and Kubernetes/Celery executors.


1. Core Architecture & Execution Model

1.1 Airflow Components

  • Scheduler: Parses DAG files continuously, evaluates scheduling rules, monitors task state, and enqueues commands to the executor.
  • Webserver: Flask/React UI displaying DAG topology, execution history, metrics, and manual triggers.
  • Worker: Executes actual task instances (in CeleryWorker pods, K8s Pods, or LocalExecutor threads).
  • Triggerer: Runs an asynchronous event loop (asyncio) handling Deferrable Operators (Sensors/Async tasks) to save worker slots.
  • Metadata Database: PostgreSQL/MySQL database storing DAG definitions, run history, variables, connection strings, and XComs.
┌───────────────────────────────────────────────────────────────┐
│                   Airflow Scheduler                           │
└──────────────────────────────┬────────────────────────────────┘
                               │ Reads DAGs & Enqueues Tasks
                               ▼
 ┌───────────────────┐  ┌─────────────┐  ┌────────────────────┐
 │ Metadata Database │  │ Triggerer   │  │  Executor / Worker │
 └───────────────────┘  └─────────────┘  └────────────────────┘

2. Pipeline Idempotency & Backfill Guarantees

2.1 Deterministic Execution Logic

Every DAG run MUST be deterministic for its target logical_date (data_interval_start). Never rely on system time (datetime.now()) inside execution logic.

# Idempotent SQL execution pattern using logical_date variables
SQL_IDEMPOTENT_WRITE = """
DELETE FROM analytics.daily_revenue 
WHERE metric_date = '{{ ds }}';

INSERT INTO analytics.daily_revenue (metric_date, total_revenue)
SELECT 
    DATE(transaction_time) AS metric_date,
    SUM(amount) AS total_revenue
FROM raw.transactions
WHERE transaction_time >= '{{ data_interval_start }}'
  AND transaction_time < '{{ data_interval_end }}'
GROUP BY 1;
"""

Read the full file on GitHub · 164 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. 2mo ago First seen · 164 lines · 41 tokens per session scan A 1b8dda9a7f9d

Subscribe to this mod's changes

apache-airflow-dag-orchestration is a skill published in the GitHub repository hamzabellouch/agent-skills (8 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 1,555 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

apache-airflow-dag-orchestration compared with skills from other repositories

apache-airflow-dag-orchestration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
apache-airflow-dag-orchestrationhamzabellouch/agent-skillsSkill81mo agoMITA41Claude Code, Codex
spec-investigatebenjaminthomas/spec-driven-devSkill2yesterdayMITA229Claude Code
spec-implementbenjaminthomas/spec-driven-devSkill2yesterdayMITA137Claude Code
spec-shipbenjaminthomas/spec-driven-devSkill2yesterdayMITA119Claude Code
spec-walkthroughbenjaminthomas/spec-driven-devSkill2yesterdayMITA172Claude Code
spec-setupbenjaminthomas/spec-driven-devSkill2yesterdayMITA223Claude Code
spec-escapesbenjaminthomas/spec-driven-devSkill2yesterdayMITA148Claude Code