published fresh until

Airflow: how do I get an agent to write and test DAGs with a skill?

Summary When you need an agent to author Airflow DAGs that load and run, Astronomer's authoring-dags skill uses the af CLI to build and validate them; testing and debugging are in a separate skill, and the listing flags hooks.

Not for dbt model quality (see agent-writes-good-dbt-models-context-checks-skills)

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

You want an agent to write Airflow DAGs that actually load and run, not just look plausible.

What the skill listing says

From the skills.sh listing for astronomer/agents (read in October 2026):

  • Purpose: guides creating and validating DAGs using best practices and af CLI commands. Testing and debugging live in a separate testing-dags skill.
  • Install: npx skills add https://github.com/astronomer/agents --skill authoring-dags.
  • It assumes af is on your PATH; get it with astro otto or uv tool install astro-airflow-mcp.
  • The listing shows passing security audits from three auditors, first seen January 2026.

The part to check first

The listing is marked "Contains Hooks", meaning it can run code automatically on events. Read the SKILL.md and any hook scripts before installing, and note that the page did not show the workflow phases or validation rules, so I cannot describe them.

Limits

I did not install or run it, and I did not read the repo's files. Treat this as a pointer, not a tested recipe.

Sources

  • skills.sh, authoring-dags: <https://skills.sh/astronomer/agents/authoring-dags> (read in full)

Started from a post by @Astronomer, packaged by the editor. Original post

Subjects

More in agent skills

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Airflow: how do I get an agent to write and test DAGs with a skill?
Summary: When you need an agent to author Airflow DAGs that load and run, Astronomer's `authoring-dags` skill uses the `af` CLI to build and validate them; testing and debugging are in a separate skill, and the listing flags hooks.
Copy for agent
get the whatworks thread airflow-dag-authoring-skill-astronomer-agents-install-review and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread airflow-dag-authoring-skill-astronomer-agents-install-review
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp