Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

debugging-mwaa-workflow

Skill by aws

Diagnoses root causes of Amazon MWAA workflow failures in Provisioned (Python DAG) and Serverless (YAML workflow) environments. Built for engineers debugging failed runs, missing DAGs, import errors and worker crashes.

  • Score 89
  • 3.6k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install debugging-mwaa-workflow

Built from the published package, never by AI.

git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws /tmp/agent-toolkit-for-aws && mkdir -p ~/.claude/skills && cp -r /tmp/agent-toolkit-for-aws/plugins/aws-data-analytics/skills/debugging-mwaa-workflow ~/.claude/skills/debugging-mwaa-workflow

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install debugging-mwaa-workflow in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill helps an AI assistant diagnose and root-cause failures in Amazon MWAA workflows. It covers failed runs and tasks, DAGs that do not appear, import errors, worker out-of-memory crashes, IAM denials and dependency drift. It detects whether the target is a Provisioned or Serverless environment and routes the diagnosis to the matching steps.

The skill follows a four-step process: identify the failure, get error details, check context, and report the root cause, impact, immediate fix and prevention. It uses read-only AWS CLI calls such as aws mwaa invoke-rest-api, get-environment and the aws mwaa-serverless API, plus CloudWatch logs. State-changing fixes are shown as commands for the user to run. It is aimed at engineers who run Amazon MWAA workflows.

Written from the project's SKILL.md and checked against it.

What it can do

  • Flavor detectionTells Provisioned (Python DAG) and Serverless (YAML workflow) environments apart and routes the diagnosis.
  • Failure identificationLists failed DAG runs, task instances and Serverless workflow runs using read-only calls.
  • Error extractionReads CloudWatch task, scheduler and worker logs to pull the real exception.
  • Context checksRuns category-based checks for infra, drift and code-data failures before naming a cause.
  • Structured reportReports root cause, impact, immediate fix, prevention and the exact commands used.

What you need

  • AWS CLI
  • Access to the MWAA environment and its CloudWatch log groups
  • IAM permission for airflow:InvokeRestApi (Provisioned)
  • Optional: AWS MCP server

Try asking

  • Why did my MWAA DAG fail last night? Check the task logs.
  • My DAG is not showing up in MWAA. Help me find the cause.
  • Check my Serverless workflow run and explain the error message.

Good to know

  • Diagnosis is read-only. Clear, rerun, backfill and start-run commands are left for the user to run.
  • Serverless has no Airflow web UI or REST API, so Airflow REST calls do not apply.
  • Does not cover authoring workflows, testing workflows or CI-CD deploy failures.
  • Provisioned errors only show if the relevant component logging is enabled.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/aws-data-analytics/skills/debugging-mwaa-workflow/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • references/failure-catalog.md12 KB
  • references/provisioned-diagnostics.md7 KB
  • references/serverless-diagnostics.md3 KB

Alternatives to debugging-mwaa-workflow

All alternatives →
deploy-release-testvercel
94

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.

AAA Skill 144k
deepeval-tracingconfident-ai
94

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.

AAA Skill 20k
azure-container-registry-cligithub
94

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.

AAA Skill 42k
crabbox-appsopenclaw
94

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.

AAA Skill 395k
gke-batch-hpcgoogle
94

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.

AAA Skill 25k
gke-cost-analysisgoogle
94

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.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

debugging-mwaa-workflow: common questions

Does it work with both MWAA Provisioned and Serverless?

Yes. It detects the flavor first. Provisioned uses Python DAGs and Serverless uses YAML workflows, and each has its own diagnostic steps.

Can it restart or clear failed runs?

Not on its own. Clear, rerun, backfill and start-workflow-run commands are shown to the user with their impact, and the user runs them.

Does it need the AWS MCP server?

No. The MCP server is optional, and every command in the skill also works with the plain AWS CLI.

How do I install debugging-mwaa-workflow?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is debugging-mwaa-workflow free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is debugging-mwaa-workflow safe to use?

It scores 89 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 debugging-mwaa-workflow?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

debugging-mwaa-workflow Install

Add to stack

Loading.