[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7828AYXGN25GFV4E0KAZ60F":3,"skill-same:01M7828AYXGN25GFV4E0KAZ60F":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7828AYXGN25GFV4E0KAZ60F","airflow-hitl",null,"Use when the user needs human-in-the-loop workflows in Airflow (approval\u002Freject, form input, or human-driven branching). Covers ApprovalOperator, HITLOperator, HITLBranchOperator, HITLEntryOperator, HITLTrigger. Requires Airflow 3.1+. Does not cover AI\u002FLLM calls (see airflow-ai).","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_astronomer_agents_airflow-hitl\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: airflow-hitl\ndescription: Use when the user needs human-in-the-loop workflows in Airflow (approval\u002Freject, form input, or human-driven branching). Covers ApprovalOperator, HITLOperator, HITLBranchOperator, HITLEntryOperator, HITLTrigger. Requires Airflow 3.1+. Does not cover AI\u002FLLM calls (see airflow-ai).\n---\n\n# Airflow Human-in-the-Loop Operators\n\nPause a DAG until a human responds via the Airflow UI or REST API. HITL operators are deferrable — they release their worker slot while waiting.\n\n> **Requires Airflow 3.1+** (`af config version`).\n>\n> **UI location**: Browse → Required Actions. Respond from the task instance page's Required Actions tab.\n>\n> **Cross-references**: `airflow-ai` for AI\u002FLLM task decorators; `airflow` for registry and API discovery commands used below.\n\n---\n\n## Step 1 — Pick the capability you need\n\n| Capability | Class (verify in Step 2) |\n|---|---|\n| Approve or reject; downstream skips on reject | `ApprovalOperator` |\n| Present N options and return which were chosen | `HITLOperator` |\n| Branch to one or more downstream tasks based on a choice | `HITLBranchOperator` |\n| Collect a form (no approve\u002Fselect step) | `HITLEntryOperator` |\n| Use the HITL trigger directly (advanced \u002F custom operators) | `HITLTrigger` |\n\nThis 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.\n\n---\n\n## Step 2 — Discover the current signatures from the Airflow Registry\n\nBefore writing HITL code, run these to see the live roster and constructor params (see the `airflow` skill for the full `af registry` reference):\n\n```bash\n# Every HITL-related module in the standard provider\naf registry modules standard \\\n  | jq '.modules[] | select(.import_path | test(\"\\\\.hitl\\\\.\")) | {name, type, import_path, short_description, docs_url}'\n\n# Constructor signatures: name, type, default, required, description\naf registry parameters standard \\\n  | jq '.classes | to_entries[] | select(.key | test(\"\\\\.hitl\\\\.\")) | {fqn: .key, parameters: .value.parameters}'\n\n# Pin to the exact installed provider version\naf config providers \\\n  | jq '.providers[] | select(.package_name == \"apache-airflow-providers-standard\") | .version'\n# then: af registry parameters standard --version \u003CVERSION>\n```\n\nIf the registry shows a param that this skill does not mention, prefer the registry. If the registry shows a class that is not in Step 1, treat it as additive — the decision table above may be stale.\n\n---\n\n## Step 3 — Canonical example (approval gate)\n\nStarting point for any HITL task. Adapt by swapping the class name and params per Step 2.\n\n```python\nfrom airflow.providers.standard.operators.hitl import ApprovalOperator\nfrom airflow.sdk import dag, task, chain, Param\nfrom pendulum import datetime\n\n@dag(start_date=datetime(2025, 1, 1), schedule=\"@daily\")\ndef approval_example():\n    @task\n    def prepare():\n        return \"Review quarterly report\"\n\n    approval = ApprovalOperator(\n        task_id=\"approve_report\",\n        subject=\"Report Approval\",\n        body=\"{{ ti.xcom_pull(task_ids='prepare') }}\",\n        defaults=\"Approve\",              # Auto-selected on timeout\n        params={\"comments\": Param(\"\", type=\"string\")},\n    )\n\n    @task\n    def after_approval(result):\n        print(f\"Decision: {result['chosen_options']}\")\n\n    chain(prepare(), approval)\n    after_approval(approval.output)\n\napproval_example()\n```\n\nFor the other classes in Step 1, the shape is the same (`task_id`, `subject`, plus class-specific params). Verify each constructor through Step 2 — for example, `HITLBranchOperator` requires every option either to match a downstream task id directly or to be resolved via a mapping param surfaced in the registry.\n\n---\n\n## Step 4 — Behavior contracts (stable across versions)\n\n### Timeout\n- With `defaults` set: task succeeds on timeout, default option(s) selected.\n- Without `defaults`: task fails on timeout.\n\n### Markdown + Jinja in `body`\n`body` supports Markdown and is Jinja-templatable. Render XCom context directly:\n\n```python\nbody = \"\"\"**Total Budget:** {{ ti.xcom_pull(task_ids='get_budget') }}\n\n| Category | Amount |\n|----------|--------|\n| Marketing | $1M |\n\"\"\"\n```\n\n### Callbacks\nAll HITL operators accept the standard Airflow callback kwargs (`on_success_callback`, `on_failure_callback`, etc.).\n\n### Notifiers\nHITL operators accept a `notifiers` list. Inside a notifier's `notify(context)` method, build a link to the pending task with `HITLOperator.generate_link_to_ui_from_context(context, base_url=...)`.\n\n### Restricting who can respond\nThe parameter name and accepted identifier format depend on the active auth manager. Do **not** hardcode — check which one is active and which kwarg the current provider exposes:\n\n```bash\naf config show | jq '.auth_manager \u002F\u002F .core.auth_manager'\n```\n\nThen look up the current kwarg in Step 2 (at the time of writing it is `assigned_users`, accepting identifiers in whatever format the active auth manager uses — Astro uses the Astro user ID, FabAuthManager uses email, SimpleAuthManager uses username).\n\n---\n\n## Step 5 — Responding from external integrations\n\nFor Slack bots, custom apps, or scripts. Discover the live endpoint rather than hardcoding a path:\n\n```bash\naf api ls --filter hitl           # live endpoint list\naf api spec \\\n  | jq '.paths | to_entries[] | select(.key | test(\"hitl\"))'   # request\u002Fresponse schemas\n```\n\nThe PATCH-to-respond pattern is stable; the exact path is discovered. Typical shape:\n\n```python\nimport os, requests\n\nHOST = os.environ[\"AIRFLOW_HOST\"]\nTOKEN = os.environ[\"AIRFLOW_API_TOKEN\"]\nHEADERS = {\"Authorization\": f\"Bearer {TOKEN}\"}\n\n# List pending — use the path from `af api ls --filter hitl`\nrequests.get(f\"{HOST}\u002F\u003Cpath>\", headers=HEADERS, params={\"state\": \"pending\"})\n\n# Respond — same discovered path family, PATCH\nrequests.patch(\n    f\"{HOST}\u002F\u003Cpath>\u002F{dag_id}\u002F{run_id}\u002F{task_id}\",\n    headers=HEADERS,\n    json={\"chosen_options\": [\"Approve\"], \"params_input\": {\"comments\": \"ok\"}},\n)\n```\n\n---\n\n## Step 6 — Safety checks\n\n- [ ] Airflow version ≥ 3.1 (`af config version`).\n- [ ] Constructor kwargs match the current registry output from Step 2 — no `respondents`-vs-`assigned_users` style drift.\n- [ ] For branching: every option resolves to a downstream task id (directly or via the mapping kwarg from Step 2).\n- [ ] Every value in `defaults` is also in `options`.\n- [ ] `execution_timeout` set; `defaults` configured if timeout should succeed rather than fail.\n- [ ] API token configured if external responders are part of the flow.\n\n---\n\n## References\n\nThe upstream docs URL is surfaced per-module by the registry — do not hardcode:\n\n```bash\naf registry modules standard \\\n  | jq '.modules[] | select(.import_path | test(\"\\\\.hitl\\\\.\")) | {name, docs_url}'\n```\n\n## Related skills\n\n- **airflow** — `af registry`, `af api`, `af config` command reference.\n- **airflow-ai** — AI\u002FLLM task decorators and GenAI patterns.\n- **authoring-dags** — general DAG writing best practices.\n- **testing-dags** — iterative test → debug → fix cycles.\n","# Airflow Human-in-the-Loop Operators\n\nPause a DAG until a human responds via the Airflow UI or REST API. HITL operators are deferrable — they release their worker slot while waiting.\n\n> **Requires Airflow 3.1+** (`af config version`).\n>\n> **UI location**: Browse → Required Actions. Respond from the task instance page's Required Actions tab.\n>\n> **Cross-references**: `airflow-ai` for AI\u002FLLM task decorators; `airflow` for registry and API discovery commands used below.\n\n---\n\n## Step 1 — Pick the capability you need\n\n| Capability | Class (verify in Step 2) |\n|---|---|\n| Approve or reject; downstream skips on reject | `ApprovalOperator` |\n| Present N options and return which were chosen | `HITLOperator` |\n| Branch to one or more downstream tasks based on a choice | `HITLBranchOperator` |\n| Collect a form (no approve\u002Fselect step) | `HITLEntryOperator` |\n| Use the HITL trigger directly (advanced \u002F custom operators) | `HITLTrigger` |\n\nThis 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.\n\n---\n\n## Step 2 — Discover the current signatures from the Airflow Registry\n\nBefore writing HITL code, run these to see the live roster and constructor params (see the `airflow` skill for the full `af registry` reference):\n\n```bash\n# Every HITL-related module in the standard provider\naf registry modules standard \\\n  | jq '.modules[] | select(.import_path | test(\"\\\\.hitl\\\\.\")) | {name, type, import_path, short_description, docs_url}'\n\n# Constructor signatures: name, type, default, required, description\naf registry parameters standard \\\n  | jq '.classes | to_entries[] | select(.key | test(\"\\\\.hitl\\\\.\")) | {fqn: .key, parameters: .value.parameters}'\n\n# Pin to the exact installed provider version\naf config providers \\\n  | jq '.providers[] | select(.package_name == \"apache-airflow-providers-standard\") | .version'\n# then: af registry parameters standard --version \u003CVERSION>\n```\n\nIf the registry shows a param that this skill does not mention, prefer the registry. If the registry shows a class that is not in Step 1, treat it as additive — the decision table above may be stale.\n\n---\n\n## Step 3 — Canonical example (approval gate)\n\nStarting point for any HITL task. Adapt by swapping the class name and params per Step 2.\n\n```python\nfrom airflow.providers.standard.operators.hitl import ApprovalOperator\nfrom airflow.sdk import dag, task, chain, Param\nfrom pendulum import datetime\n\n@dag(start_date=datetime(2025, 1, 1), schedule=\"@daily\")\ndef approval_example():\n    @task\n    def prepare():\n        return \"Review quarterly report\"\n\n    approval = ApprovalOperator(\n        task_id=\"approve_report\",\n        subject=\"Report Approval\",\n        body=\"{{ ti.xcom_pull(task_ids='prepare') }}\",\n        defaults=\"Approve\",              # Auto-selected on timeout\n        params={\"comments\": Param(\"\", type=\"string\")},\n    )\n\n    @task\n    def after_approval(result):\n        print(f\"Decision: {result['chosen_options']}\")\n\n    chain(prepare(), approval)\n    after_approval(approval.output)\n\napproval_example()\n```\n\nFor the other classes in Step 1, the shape is the same (`task_id`, `subject`, plus class-specific params). Verify each constructor through Step 2 — for example, `HITLBranchOperator` requires every option either to match a downstream task id directly or to be resolved via a mapping param surfaced in the registry.\n\n---\n\n## Step 4 — Behavior contracts (stable across versions)\n\n### Timeout\n- With `defaults` set: task succeeds on timeout, default option(s) selected.\n- Without `defaults`: task fails on timeout.\n\n### Markdown + Jinja in `body`\n`body` supports Markdown and is Jinja-templatable. Render XCom context directly:\n\n```python\nbody = \"\"\"**Total Budget:** {{ ti.xcom_pull(task_ids='get_budget') }}\n\n| Category | Amount |\n|----------|--------|\n| Marketing | $1M |\n\"\"\"\n```\n\n### Callbacks\nAll HITL operators accept the standard Airflow callback kwargs (`on_success_callback`, `on_failure_callback`, etc.).\n\n### Notifiers\nHITL operators accept a `notifiers` list. Inside a notifier's `notify(context)` method, build a link to the pending task with `HITLOperator.generate_link_to_ui_from_context(context, base_url=...)`.\n\n### Restricting who can respond\nThe parameter name and accepted identifier format depend on the active auth manager. Do **not** hardcode — check which one is active and which kwarg the current provider exposes:\n\n```bash\naf config show | jq '.auth_manager \u002F\u002F .core.auth_manager'\n```\n\nThen look up the current kwarg in Step 2 (at the time of writing it is `assigned_users`, accepting identifiers in whatever format the active auth manager uses — Astro uses the Astro user ID, FabAuthManager uses email, SimpleAuthManager uses username).\n\n---\n\n## Step 5 — Responding from external integrations\n\nFor Slack bots, custom apps, or scripts. Discover the live endpoint rather than hardcoding a path:\n\n```bash\naf api ls --filter hitl           # live endpoint list\naf api spec \\\n  | jq '.paths | to_entries[] | select(.key | test(\"hitl\"))'   # request\u002Fresponse schemas\n```\n\nThe PATCH-to-respond pattern is stable; the exact path is discovered. Typical shape:\n\n```python\nimport os, requests\n\nHOST = os.environ[\"AIRFLOW_HOST\"]\nTOKEN = os.environ[\"AIRFLOW_API_TOKEN\"]\nHEADERS = {\"Authorization\": f\"Bearer {TOKEN}\"}\n\n# List pending — use the path from `af api ls --filter hitl`\nrequests.get(f\"{HOST}\u002F\u003Cpath>\", headers=HEADERS, params={\"state\": \"pending\"})\n\n# Respond — same discovered path family, PATCH\nrequests.patch(\n    f\"{HOST}\u002F\u003Cpath>\u002F{dag_id}\u002F{run_id}\u002F{task_id}\",\n    headers=HEADERS,\n    json={\"chosen_options\": [\"Approve\"], \"params_input\": {\"comments\": \"ok\"}},\n)\n```\n\n---\n\n## Step 6 — Safety checks\n\n- [ ] Airflow version ≥ 3.1 (`af config version`).\n- [ ] Constructor kwargs match the current registry output from Step 2 — no `respondents`-vs-`assigned_users` style drift.\n- [ ] For branching: every option resolves to a downstream task id (directly or via the mapping kwarg from Step 2).\n- [ ] Every value in `defaults` is also in `options`.\n- [ ] `execution_timeout` set; `defaults` configured if timeout should succeed rather than fail.\n- [ ] API token configured if external responders are part of the flow.\n\n---\n\n## References\n\nThe upstream docs URL is surfaced per-module by the registry — do not hardcode:\n\n```bash\naf registry modules standard \\\n  | jq '.modules[] | select(.import_path | test(\"\\\\.hitl\\\\.\")) | {name, docs_url}'\n```\n\n## Related skills\n\n- **airflow** — `af registry`, `af api`, `af config` command reference.\n- **airflow-ai** — AI\u002FLLM task decorators and GenAI patterns.\n- **authoring-dags** — general DAG writing best practices.\n- **testing-dags** — iterative test → debug → fix cycles.\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fskills_sh\u002Fs\u002Fskills-sh_astronomer_agents_airflow-hitl",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill airflow-hitl",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill airflow-hitl",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill airflow-hitl","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_astronomer_agents_airflow-hitl\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]