Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

airflow-dag-analyzer

Skill by a5c-ai

Analyzes, validates, and optimizes Apache Airflow DAG definitions for reliability, performance, and best practice adherence. Aimed at data engineers and analytics engineers who maintain Airflow pipelines.

  • Score 68
  • 1.9k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install airflow-dag-analyzer

Built from the published package, never by AI.

git clone --depth 1 https://github.com/a5c-ai/babysitter /tmp/babysitter && mkdir -p ~/.claude/skills && cp -r /tmp/babysitter/library/specializations/data-engineering-analytics/skills/airflow-dag-analyzer ~/.claude/skills/airflow-dag-analyzer

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install airflow-dag-analyzer in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The airflow-dag-analyzer skill examines Apache Airflow DAG definitions to find performance bottlenecks, reliability issues, and best practice violations. It reads Python DAG code and can take optional execution history and cluster configuration. Its output covers validation errors and warnings, optimization suggestions, recommended config values, a dependency graph, and metrics.

It checks rules for DAG definitions, tasks, sensors, and security, such as missing default_args, sensors in poke mode, and hardcoded credentials. It also suggests reschedule or deferrable sensors, TaskGroups, and dynamic task mapping. The skill targets Airflow 2.x and is aimed at data engineers and analytics engineers. Input is the DAG code, with optional dagId, execution history, cluster config, and analysis scope.

Written from the project's SKILL.md and checked against it.

What it can do

  • DAG structure analysis and validationParses and validates the structure of a DAG definition.
  • Task dependency optimizationIdentifies bottlenecks and suggests parallel execution.
  • Parallelism and concurrency recommendationsSuggests pool and slot allocation changes.
  • SLA and timeout configurationRecommends appropriate timeouts and SLAs.
  • Retry and failure handling patternsValidates retry logic and alerting.
  • Sensor optimizationCovers smart sensors, deferrable operators, and reschedule mode.
  • Resource pool allocationOptimizes pool usage and worker distribution.
  • DAG scheduling optimizationReviews catchup, backfill, and schedule interval settings.
  • Cross-DAG dependency detectionIdentifies external dependencies and triggers between DAGs.

What you need

  • Python DAG definition code
  • Apache Airflow 2.x

Try asking

  • Analyze this Airflow DAG for reliability and performance issues
  • Suggest how to parallelize the tasks in my ETL DAG
  • Check my sensors and recommend deferrable or reschedule mode

Good to know

  • Version history lists Airflow 2.x support only.

Security check

B
  • Allowed to use Bash without limitsIn SKILL.md

Checked automatically: library/specializations/data-engineering-analytics/skills/airflow-dag-analyzer/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadGrepGlobBashWebFetch

Alternatives to airflow-dag-analyzer

All alternatives →
kaggle-cliKaggle
94

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.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

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.

AAA Skill 25k
data-loadingmicrosoft
94

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.

AAA Skill 18k
data-manager-api-setupgoogle
94

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.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

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.

AAA Skill 25k
data-feedsdavila7
94

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.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

airflow-dag-analyzer: common questions

What does the airflow-dag-analyzer skill check?

It checks DAG, task, sensor, and security rules. Examples include missing default_args, poke-mode sensors, and hardcoded credentials.

Can it use execution history?

Yes. It accepts optional historical run metrics such as duration and task durations to inform its analysis.

Does it cover security?

Yes. The source lists security rules, including hardcoded credentials and Variable.get without a default, and a security analysis scope.

How do I install airflow-dag-analyzer?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is airflow-dag-analyzer free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is airflow-dag-analyzer safe to use?

It scores 68 of 100. Grades: maintenance B, licence A, quality A. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.

What are alternatives to airflow-dag-analyzer?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

airflow-dag-analyzer Install

Add to stack

Loading.