airflow: Skill for Claude Code

.agents/skills/upgrade-fab-provider/SKILL.md

upgrade-fab-provider is a skill for Claude Code, Codex from apache/airflow. It costs 120 tokens per session (3,251 once invoked), scanned A, original, Apache-2.0.

A procedure for upgrading the Flask-AppBuilder dependency in Airflow’s FAB provider. Flask-AppBuilder supplies web-application and security-management components, and Airflow includes a customised copy of some of them.

In plain words
What is it for?
Use it to change the pinned version, regenerate the lock file, compare customised code with the new dependency, and pass the alignment test.
Why use it?
The dependency is tied to Airflow’s customised security code, so changing its version can cause mismatches that a simple version-pin edit would miss.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is apache/airflow's own configuration. It tells Claude Code and Codex how to work on airflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything airflow configures →

About the project

Apache Airflow is a platform for defining, scheduling, and monitoring workflows as code, with a scheduler assigning dependent tasks to workers. Teams use it to orchestrate automated data and software pipelines and inspect their progress through a user interface. Its catalogue skills and instructions help agents work with Airflow.

apache/airflow · 47,377 stars · on GitHub · airflow.apache.org

Reuse

Borrowing it

Nothing to install: this file belongs to apache/airflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/apache/airflow/main/.agents/skills/upgrade-fab-provider/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/apache/airflow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for upgrade-fab-provider

README.md
[![agentmods](https://agentmods.dev/badge/skills/apache/airflow/upgrade-fab-provider/github.svg)](https://agentmods.dev/skills/apache/airflow/upgrade-fab-provider)
Your own site
<a href="https://agentmods.dev/skills/apache/airflow/upgrade-fab-provider"><img src="https://agentmods.dev/badge/skills/apache/airflow/upgrade-fab-provider/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for upgrade-fab-provider

Your own site · 80×15
<a href="https://agentmods.dev/skills/apache/airflow/upgrade-fab-provider"><img src="https://agentmods.dev/badge/skills/apache/airflow/upgrade-fab-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,251 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk fail 6 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 123
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00120 $0.03251
Opus 5.5 $0.00048 $0.01300
Sonnet 5.5 $0.00024 $0.00650
Haiku 4.5 $0.00012 $0.00325

Measured 2mo ago against content hash ba89f9e9d7e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

upgrade-fab-provider scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/upgrade-fab-provider/SKILL.md · 271 lines

How it starts

The opening of the file, as written. The whole thing — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.

upgrade-fab-provider

Airflow's FAB provider is tightly coupled to a specific Flask-AppBuilder release because it vendors-in and subclasses large parts of FAB's security manager. A version bump is therefore never "just change the pin" — it must be reconciled against the vendored code, and that reconciliation is enforced by a pytest alignment test, not a prek hook.

The canonical reference for a real bump is PR #66841 ("Bump flask-appbuilder to 5.2.1 and mirror new auth event hooks") — commit c72b6613fd. Read its diff first when in doubt: git show c72b6613fd.

The coupling — why this is not a one-line change

  • providers/fab/pyproject.toml:75-80 explains it: Airflow vendored FAB's security-manager code into providers/fab/src/airflow/providers/fab/auth_manager/security_manager/override.py (~2700 lines) as FabAirflowSecurityManagerOverride. Every bump must review that class against upstream FAB for new / changed / removed methods.
  • test_fab_alignment.py mechanically detects drift between the installed FAB package and the vendored override, and fails CI until the developer reconciles it.

Inputs

  • Target version — the FAB version to move to. If not given, use the latest release on PyPI (https://pypi.org/pypi/flask-appbuilder/json → info.version). Confirm the target with the user if it is a major or minor bump (higher reconciliation risk); a patch bump can proceed.

The files a bump touches

Always:

  1. providers/fab/pyproject.toml — line ~80, the flask-appbuilder==X.Y.Z pin (the only real dependency pin in the repo).
  2. providers/fab/tests/unit/fab/auth_manager/security_manager/test_fab_alignment.py — EXPECTED_FAB_VERSION = "X.Y.Z" (line ~43). Must move in lockstep with the pin.
  3. providers/fab/docs/index.rst — the dependency table row ``flask-appbuilder`` ``==X.Y.Z`` (line ~114).
  4. providers/fab/README.rst — the Requirements table row (line ~60). Do not hand-edit — it is auto-generated. Regenerate it from the bumped pyproject.toml with the sync-provider-readme prek hook (Step 8); the hook re-renders the table whenever pyproject.toml changes. (Pre-existing bumps that predate this hook left it to release-time regeneration; today the hook is per-commit, so CI flags the drift — run it.)
  5. uv.lock — regenerated (see Step 4 for the pinned-uv caveat).

Conditionally:

  1. providers/fab/src/airflow/providers/fab/auth_manager/security_manager/override.py — transplant any relevant upstream FAB changes (new auth hooks, changed signatures, ported fixes). The reference bump added +37 lines here. Note: a green alignment test does not prove the transplant is unnecessary — a security fix may live inside a method Airflow vendors (see the 5.2.2 worked example below).
  2. providers/fab/src/airflow/providers/fab/www/** + providers/fab/www-hash.txt — only if the new FAB ships changed static assets / templates that are re-vendored (see Step 6).
  3. providers/fab/src/airflow/providers/fab/migrations/versions/** — only if the new FAB version ships DB migrations (see Step 7).

Never: no newsfragment, and do not hand-edit providers/fab/docs/changelog.rst — providers are released from main and the release manager regenerates the changelog from git log (per providers/AGENTS.md). The commit subject is the changelog entry.

Procedure

Step 1 — Determine the target version and current state

  • Read the current pin: grep flask-appbuilder== providers/fab/pyproject.toml.
  • Resolve the target (PyPI latest, or the user's requested version).
  • Classify the jump: patch / minor / major. For minor/major, skim the FAB release notes (https://github.com/dpgaspar/Flask-AppBuilder/releases) for security-manager / model / template changes before editing.

Step 2 — Bump the three source pins

Read the full file on GitHub · 271 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 271 lines · 120 tokens per session scan A ba89f9e9d7e5

Subscribe to this mod's changes

upgrade-fab-provider is a skill published in the GitHub repository apache/airflow (47,377 stars, last pushed yesterday), licensed Apache-2.0. It adds 120 tokens to every session and 3,251 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

upgrade-fab-provider compared with skills from other repositories

upgrade-fab-provider next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
upgrade-fab-providerapache/airflowSkill47kyesterdayApache-2.0A120Claude Code, Codex
airflow-workflowDatus-ai/Datus-agentSkill1.9kyesterdaynoneA24Claude Code
authoring-dagsastronomer/agentsSkill4584d agoApache-2.0A93Claude Code
git-workflowvstorm-co/pydantic-deepagentsSkill1.1k7d agoMITA17Claude Code, Codex
airflow-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A72Claude Code
codexerPracticalSwan/agent-skillsSkill2418d agoMITA38Codex
orchestratorellmos-ai/skillsSkill93d agoMITA38Claude Code, Codex