
Airflow Hitl
Adds approval gates, form inputs, and human-driven branching to Airflow DAGs using deferrable operators that release worker slots while waiting. You get ApprovalOperator for approve/reject flows, HITLBranchOperator for routing based on human choices, and HITLEntryOperator for pure form collection. The skill is built around a discover-then-code pattern: query the live Airflow registry for current constructor signatures before writing any tasks, since the provider changes params across releases. Responses come through the Airflow UI or REST API. Requires Airflow 3.1+. The safety checklist and external integration examples (Slack bots, custom scripts) are the most useful parts if you need humans in the loop without blocking workers.
- skills.sh installs
- 980
- GitHub stars
- 459
- last updated
- Aug 21, 2026
Install
$ npx -y skills add astronomer/agents --skill airflow-hitl --agent claude-codeInstalls into .claude/skills of the current project.
Files
Airflow Human-in-the-Loop Operators
Pause a DAG until a human responds via the Airflow UI or REST API. HITL operators are deferrable — they release their worker slot while waiting.
Requires Airflow 3.1+ (
af config version).UI location: Browse → Required Actions. Respond from the task instance page's Required Actions tab.
Cross-references:
migrating-ai-sdk-to-common-aifor AI/LLM task decorators;airflowfor registry and API discovery commands used below.
Step 1 — Pick the capability you need
| Capability | Class (verify in Step 2) |
|---|---|
| Approve or reject; downstream skips on reject | ApprovalOperator |
| Present N options and return which were chosen | HITLOperator |
| Branch to one or more downstream tasks based on a choice | HITLBranchOperator |
| Collect a form (no approve/select step) | HITLEntryOperator |
| Use the HITL trigger directly (advanced / custom operators) | HITLTrigger |
This is the only place class names are hardcoded. The provider adds, renames, and removes params across releases — do not copy parameter lists from memory. Fetch the current signature before writing code.
Sponsors
Details
- Repository
- github.com/astronomer/agents
- Categories
- AI & Agent Building, Productivity & Planning, Automation & Workflows
- First seen
- May 16, 2026
More from astronomer/agents
All 24- Creating Openlineage Extractors960
- Cosmos Dbt Fusion925
- Warehouse Init841
- Deploying Airflow817
- Troubleshooting Astro Deployments655
- Airflow Plugins622
- Managing Astro Deployments595
- Blueprint584
- Init176
- Managing Astro Local Env1.6K
- Airflow1.5K
- Analyzing Data1.4K
- Authoring Dags1.3K
- Debugging Dags1.2K
- Testing Dags1.2K
- Migrating Airflow 2 To 31.1K
- Setting Up Astro Project1.1K
- Tracing Upstream Lineage1.1K
- Profiling Tables1.1K
- Tracing Downstream Lineage1.1K
- Checking Freshness1K
- Annotating Task Lineage1K
- Cosmos Dbt Core990