← Files astronomer-dataARCHIVED FILE

skills/airflow/hooks/warm-uvx-cache.sh

408 Bytes · Sep 30, 2026 · 23:17 UTC

↓ Download file

#!/bin/bash
# Hook: SessionStart - Warm the af / uvx cache so the first real call is fast.
#
# `af` on PATH is typically a thin shell wrapper that exec's
# `uvx --from 'astro-airflow-mcp==<pin>' af`, so invoking it once warms the
# uvx cache for whichever pin the wrapper installs. No-op if `af` isn't on
# PATH (the skill's body tells the user how to install it).

(af --version > /dev/null 2>&1 &)

exit 0

SHA-256: be269d2ce0ab37655393ed42df4915823f9ebe1e96e2447dd4c783e266fdb86a