managed-airflow-dag-troubleshooting
Skill by google
Guides an AI assistant through diagnosing failed DAG runs and task instances in Managed Service for Apache Airflow, formerly Cloud Composer. Aimed at operators who need the reason for a failure.
Install managed-airflow-dag-troubleshooting
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/managed-airflow-dag-troubleshooting ~/.claude/skills/managed-airflow-dag-troubleshootingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install managed-airflow-dag-troubleshooting in Claude Code
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/cloud/managed-airflow-dag-troubleshooting ~/.gemini/antigravity-cli/skills/managed-airflow-dag-troubleshootingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install managed-airflow-dag-troubleshooting in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The managed-airflow-dag-troubleshooting skill helps an AI assistant find out why Apache Airflow DAG runs and task instances failed in Managed Service for Apache Airflow, formerly Cloud Composer. It uses gcloud composer, gcloud logging and gcloud storage commands to fetch task states, error logs and the remote DAG source code. The assistant then compares log errors with the code and checks known platform issues before giving a diagnosis.
The skill works read-only by default. It proves the root cause from logs and code before suggesting changes, and it applies fixes only when the user asks. It also covers DAGs generated by Orchestration Pipelines, tracing failed tasks back to actions in the pipeline YAML. It is meant for users investigating failures, not for general environment performance recommendations.
Written from the project's SKILL.md and checked against it.
What it can do
- Diagnose failed DAG runsIdentifies the failing task instance in a DAG run and the critical task that blocked it.
- Fetch task statesReads task state and metadata with gcloud composer environments run tasks commands.
- Read error logsUses gcloud logging read to find Python tracebacks, API error codes and Airflow signals.
- Retrieve DAG source codeDownloads the remote DAG file from the environment bucket to compare with log errors.
- Check known platform issuesQueries Cloud Logging for environment-level errors that match the failure.
- Trace orchestration pipeline tasksMaps failed Airflow tasks back to logical actions in the pipeline YAML definition.
What you need
- Google Cloud gcloud CLI
- Access to a Managed Service for Apache Airflow environment
- Access to Cloud Logging and the environment bucket
Try asking
- Why did the latest run of my Airflow DAG fail?
- Find the failed task instances in this DAG run and show the log errors.
- Compare my DAG code with the task error in the logs.
Good to know
- Read-only first: code is not changed until the user explicitly asks for a fix.
- Not for overall environment performance recommendations.
- A 404 error from GCP APIs can be misleading and may point to missing permissions.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cloud/managed-airflow-dag-troubleshooting/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md16 KB -
references/attribution.md2 KB
Alternatives to managed-airflow-dag-troubleshooting
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
managed-airflow-dag-troubleshooting: common questions
What does this skill troubleshoot?
It troubleshoots failed DAG runs and task instances in Managed Service for Apache Airflow, formerly Cloud Composer. It is not meant for overall environment performance advice.
Does it change my DAG code automatically?
No. It works read-only first and applies fixes only when explicitly requested. If the workspace is not the source of truth, it asks the user to open the correct repository or download the remote DAG.
Which commands does it use?
It uses gcloud composer, gcloud logging and gcloud storage commands to fetch task states, logs and DAG source code.
How do I install managed-airflow-dag-troubleshooting?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is managed-airflow-dag-troubleshooting free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is managed-airflow-dag-troubleshooting safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. 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 managed-airflow-dag-troubleshooting?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
