airflow-hitl
Skill by astronomer
airflow-hitl is an agent skill for building human-in-the-loop Airflow workflows with approval gates, form input and human-driven branching. It is for DAG authors on Airflow 3.1 or later who need a person to respond mid-run.
Install airflow-hitl
Built from the published package, never by AI.
git clone --depth 1 https://github.com/astronomer/agents /tmp/agents && mkdir -p ~/.claude/skills && cp -r /tmp/agents/skills/airflow-hitl ~/.claude/skills/airflow-hitlRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/astronomer/agents /tmp/agents && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agents/skills/airflow-hitl ~/.gemini/antigravity-cli/skills/airflow-hitlAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
airflow-hitl is an agent skill that helps an assistant build human-in-the-loop Airflow workflows. It covers approval gates, form input and human-driven branching. HITL operators are deferrable, so they release their worker slot while waiting for a person to respond through the Airflow UI or REST API.
The skill guides the choice of operator, such as ApprovalOperator, HITLOperator, HITLBranchOperator, HITLEntryOperator or HITLTrigger. It tells the assistant to fetch current constructor signatures from the Airflow Registry before writing code. It is for Airflow DAG authors on version 3.1 or later who need a person to sign off, choose an option or enter data during a run.
Written from the project's SKILL.md and checked against it.
What it can do
- Approval gatesBuilds an ApprovalOperator step that approves or rejects, with downstream tasks skipped on reject.
- Multi-option selectionUses HITLOperator to present several options and return which ones were chosen.
- Human-driven branchingUses HITLBranchOperator to branch to downstream tasks based on a human choice.
- Form inputUses HITLEntryOperator to collect a form mid-run without an approve or select step.
- Custom operatorsShows how to use the HITLTrigger directly in advanced or custom operators.
- Registry discoveryRuns af registry commands to check the live class list and constructor parameters.
- External responsesShows how to list pending HITL tasks and respond to them through the Airflow REST API.
- Restricting respondersExplains limiting who can respond using the assigned_users parameter and the active auth manager.
- Timeout behaviorDescribes that tasks succeed on timeout when defaults are set and fail otherwise.
What you need
- Airflow 3.1 or later
- Airflow API token for external responders
- The airflow skill for af command reference
Try asking
- Add an approval gate to my DAG before the deploy task runs.
- Create a HITL branch that sends the run down a path based on a reviewer's choice.
- Write a DAG task that collects a form from a user mid-run.
Good to know
- Constructor parameters change across provider releases, so the registry must be checked before writing code.
- Without defaults set, a HITL task fails on timeout.
- Not for AI or LLM task calls; use migrating-ai-sdk-to-common-ai for those.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/airflow-hitl/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to airflow-hitl
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
airflow-hitl: common questions
What Airflow version does airflow-hitl require?
The skill requires Airflow 3.1 or later, which it checks with af config version.
Which operators does airflow-hitl cover?
It covers ApprovalOperator, HITLOperator, HITLBranchOperator, HITLEntryOperator and HITLTrigger.
Can external tools respond to HITL tasks?
Yes. The skill shows listing pending tasks and responding through the Airflow REST API using a token.
How do I install airflow-hitl?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is airflow-hitl free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is airflow-hitl safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to airflow-hitl?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
