managed-airflow-dag-troubleshooting
Provides guidance for troubleshooting Apache Airflow DAGs (failed DAG runs and task instances) in Managed Service for Apache Airflow (MSAA; formerly Cloud…
Skill by googleOfficial
Chalk Labs
Need help deploying managed-airflow-dag-troubleshooting?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/google-managed-airflow-dag-troubleshooting
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/managed-airflow-dag-troubleshooting
What's inside
- Skill name
managed-airflow-dag-troubleshooting- Description
- Provides guidance for troubleshooting Apache Airflow DAGs (failed DAG runs and task instances) in Managed Service for Apache Airflow (MSAA; formerly Cloud Composer). Use when figuring out reasons for DAG run or task instance failures. Don't use when looking for overall recommendations for Managed Airflow environment performance.
- License
- Apache-2.0
- Metadata
- version: 1.0.1 · category: BigDataAndAnalytics
- Instructions
- 336 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (2)
- SKILL.md
- attribution.md · references/
SKILL.md (first lines)
# Managed Service for Apache Airflow (formerly Cloud Composer) DAG troubleshooting guide
This skill provides instructions for troubleshooting Managed Airflow DAGs (DAG
runs and task instances), utilizing `gcloud composer`, `gcloud logging` and
`gcloud storage` commands to fetch remote logs and code.
## Attribution
**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you
MUST read [Usage Attribution](references/attribution.md). For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix `gcloud` with
`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:managed-airflow-dag-troubleshooting)"`
and append `agent-skills/1.0 (skill:managed-airflow-dag-troubleshooting)` to `User-Agent` headers.
## General rules
1. Provide suggestions on how to troubleshoot the failed jobs. Provide only the
steps that the user can actually take. Ground all troubleshooting advice in
direct findings.
2. When troubleshooting a failure, follow the following practices to always
provide a deterministic diagnosis:
* **Fetch relevant logs**: Always fetch the logs for a task under
investigation using `gcloud logging read`; check the logs for specific
error patterns: Python tracebacks, API error codes (e.g., 400, 403, 404,
500), or Airflow signals (e.g., `AirflowTaskTimeout`).
* **Fetch task metadata**: When troubleshooting a task, fetch the task
state and metadata (execution state, try number, timestamps, and
execution details) using:
```bash
gcloud composer environments run {env_name} \
--location {location} \
tasks states-for-dag-run -- -d {dag_id} -r {run_id}
```
or for an individual task instance:
```bash
gcloud composer environments run {env_name} \
--location {location} \
tasks state -- {dag_id} {task_id} {execution_date}
```
* **Retrieve and compare DAG source code**: Download the remote DAG source
code using `gcloud storage cp gs://{bucket_name}/dags/{dag_file}.py .`
(find the environment bucket via `gcloud composer environments describe
{env_name} --location {location}
--format="value(config.dagGcsPrefix)"`). Compare the parameters in the
code (e.g., table IDs, disk sizes, URI paths) against the error messages
found in the task logs.
* **Explain code mistakes and potential fixes**: Explain mistakes in the
code (if any are actually visible); suggest potential fixes (if they are
very likely to be meaningful); discuss source code availability if
needed - if some source code is unavailable (e.g. imported from a file
other than the main source code file), mention this (you can mention the
package name) - in such a case take into account most likely trigger
rules if they are unknown.
* **Check for environment-level errors**: Query Cloud Logging with `gcloud
logging read` to see if there are high-level environment issues or known
platform errors correlating with the failure (see **Known issues**
below). You MUST return ALL found issues.
* **Identify failing tasks in a DAG run**: When troubleshooting a failed
DAG run, mention the task that caused a failure (use `tasks
states-for-dag-run` or Cloud Logging to identify failed tasks). Provide
a task instance name. If many tasks failed, mention which task was
critical (mandatory for successful DAG run execution - look into task
dependencies and trigger rules) and focus on this one.
* **Verify service configurations in code**: If logs suggest an issue with
a specific service (e.g., BigQuery, Dataform, Compute Engine), use the
log details to verify the configuration in the DAG source code.
* **Correlate logs with code**: E.g., if BigQuery returns a 404, verify
the dataset ID or table ID in the DAG source code matches reality.
* **Prioritize known platform issues**: Check against **Known issues**
below. If Cloud Logging queries return matching platform error signals,
prioritize that diagnosis.
3. **Summarize with Evidence (Deterministic Response):** Your response must be
specific. Avoid general advice like 'check your permissions.' or 'check the
logs.' Instead, say 'The service account is missing X permission.'
* **Problem:** State the specific root cause and the exact task instance
ID. Identify if it is a code logic error, a configuration mismatch, or
an environment timeout.
* **Evidence:** **Mandatory.** Provide the verbatim text from the log
(`textPayload`) or the specific line of code from the DAG that caused
the failure. Do not summarize the evidence; show the data.
* **Recommendation:** Provide an actionable fix. If it is a code error,
provide the corrected Python snippet. If it is a resource issue, specify
the exact configuration change needed.
4. **DAGs Generated by Orchestration Pipelines:** Some DAGs may be generated by
Orchestration Pipelines. A special requirement related to those DAGs is the
need to explain the failure in terms of the logical actions defined in the
pipeline YAML.
* **Determine if a DAG is generated by Orchestration Pipelines**:
Orchestration Pipeline DAGs deployed by dedicated tools have
`bundle_name`, `version_id`, and `pipeline_name` set in their DAG Run
metadata (`DagRun.note` that contains JSON metadata). All of them (i.e.
Orchestration Pipeline DAGs deployed by dedicated tools and created
manually) have an `op:orchestration_pipeline` tag set (DAG properties,
including tags, can be verified in the DAG source code or via `gcloud
composer environments run {env_name} --location {location} dags list`).
* Orchestration Pipeline DAGs deployed by dedicated tools have
additionally the following tags (information in those tags should be
consistent with data in DAG Run attributes mentioned above):
* pipeline name - tag `op:pipeline`, e.g. `op:pipeline:xyz` indicates
a name `xyz`
* bundle name - tag `op:bundle`
* version id - tag `op:version`
* **Retrieve the resolved pipeline YAML definition from the environment
bucket**:
* Determine the YAML file location:
1. Retrieve the DAG source code from the environment bucket using
`gcloud storage cp gs://{bucket_name}/dags/{dag_file}.py .` (or
`gcloud storage cat gs://{bucket_name}/dags/{dag_file}.py`).
2. Inspect the source code for `generate` or `generate_dags`
function calls:From google/skills, Apache-2.0.
More from google/skills
- 0.865score
google-ads-api-account-diagnostics
google-ads-api-teamOfficial
Diagnoses Google Ads account performance issues such as conversion loss (value or volume), low lead flow/volume, and lost impression share (opportunities) due…
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-triage
Google LLCOfficial
Expert guidance for security alert triage in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-detection-engineering
Google LLCOfficial
Author, validate, test, and deploy YARA-L 2.0 detection rules and evaluate end-to-end detection coverage gaps in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-hunt
Google LLCOfficial
Expert guidance for proactive threat hunting in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-cases
Google LLCOfficial
Manage Google Security Operations (SecOps) SOAR cases throughout their lifecycle.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-investigate
Google LLCOfficial
Expert guidance for deep security incident and entity investigations in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.824score
google-ads-api-quickstart
google-ads-api-teamOfficial
Guides developers through Google Ads API quickstart: credential setup, choosing from 6 client libraries/REST, configuring environments, and running a…
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.819score
google-ads-api-mcp-setup
google-ads-api-teamOfficial
Guides developers through downloading, configuring, and installing the official open-source Google Ads MCP Server.
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.815score
ima-dai-sdk
Google LLCOfficial
Integrates the Google Interactive Media Ads (IMA) Dynamic Ad Insertion (DAI) SDK into websites, web apps, mobile apps, or TV apps.
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.815score
ima-sdk-client-side
Google LLCOfficial
Supports Interactive Media Ads (IMA) SDK.
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.699score
gcloud
googleOfficial
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP) services and infrastructure.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
agent-platform-deploy
googleOfficial
Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up…
SkillAFreshness: A★ 21.5KClaude Code +9
Signals
- Stars
- 21,542
- Forks
- 1,821
- Open issues
- 21
- Last commit (this folder)
- Oct 20, 2026 (19 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.1
- License
- Apache-2.0
- Repository
- github.com/google/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from google
- 0.699score
data-manager-api-setup
googleOfficial
Guides developers through client library installation and authentication setup steps for the Data Manager API.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
retrieving-developer-knowledge
googleOfficial
Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome, Web, Flutter, Go, Firebase, and…
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
agent-platform-migrate-from-ai-studio
googleOfficial
Guides agents and users through migrating from Gemini API in Google AI Studio to Gemini Enterprise Agent Platform (formerly Vertex AI).
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
gcloud
googleOfficial
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP) services and infrastructure.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
google-cloud-recipe-onboarding
googleOfficial
Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a first resource.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
agent-platform-deploy
googleOfficial
Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up…
SkillAFreshness: A★ 21.5KClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get managed-airflow-dag-troubleshooting running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
managed-airflow-dag-troubleshooting skill. Agent Mart. https://agentmart.dev/skills/google-managed-airflow-dag-troubleshooting (last updated 2026-10-24)