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

troubleshoot-mwaa-dag

Skill by ministryofjustice

Diagnoses Airflow DAG pods in the mwaa Kubernetes namespace when a DAG fails, a pod gets stuck, or a run needs monitoring. Gives step-by-step kubectl checks on pod status, logs, processes and dbt progress. Aimed at users investigating MWAA workflows.

  • Score 61
  • 24 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install troubleshoot-mwaa-dag

Built from the published package, never by AI.

git clone --depth 1 https://github.com/ministryofjustice/analytical-platform /tmp/analytical-platform && mkdir -p ~/.claude/skills && cp -r /tmp/analytical-platform/.github/skills/troubleshoot-mwaa-dag ~/.claude/skills/troubleshoot-mwaa-dag

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

Step-by-step: install troubleshoot-mwaa-dag in Claude Code

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

About

Troubleshoot MWAA DAG is an agent skill that diagnoses Airflow DAG pods running in the mwaa Kubernetes namespace. It guides an assistant through finding the pod by DAG ID, workflow label or pod name, then reviewing pod status, events, logs and resource limits. It also covers OOM kills, image pull errors and pods stuck in Pending.

The procedure checks the main process state and memory on running pods, and searches stdout and internal log files for errors. It includes a deep dive for dbt pods (CaDeT), covering model progress, stuck threads and Athena queries, plus checks for Python script and generic workloads. It is aimed at people who need to diagnose a failing, stuck or slow DAG run.

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

What it can do

  • Pod identificationFinds the relevant pod by pod name, DAG ID, workflow label or recent pod list.
  • Pod overviewReviews status, restart count, resource limits, labels, environment variables, image and events.
  • Log analysisReads current and previous container logs and searches them for errors and tracebacks.
  • Process state checkInspects the main process state, thread count and memory on running pods.
  • Internal log searchFinds and tails log files written inside the container rather than to stdout.
  • dbt deep diveTracks dbt model progress, stuck threads and Athena query activity for CaDeT pods.
  • Common issue guidanceExplains likely causes for OOMKilled, image pull errors, Pending pods and idle pods.

What you need

  • kubectl access to the mwaa Kubernetes namespace

Try asking

  • Find the pod for my failing DAG and summarise its errors.
  • Check whether this OOMKilled pod ran out of memory.
  • How many dbt models have completed in this running pod?

Good to know

  • Targets pods in the mwaa namespace only.
  • Process state checks apply to running pods only.
  • The dbt deep dive is specific to CaDeT dbt pods.

Security check

A

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

Checked automatically: .github/skills/troubleshoot-mwaa-dag/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to troubleshoot-mwaa-dag

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

troubleshoot-mwaa-dag: common questions

What kinds of pod problems does this skill cover?

The source covers OOMKilled pods, image pull errors, pods stuck in Pending, pods running with no log output, and dbt incremental models or Athena query timeouts.

Can it check dbt progress inside a running pod?

Yes. It counts started and completed models in the dbt log file and checks each thread's last activity for dbt pods.

What should I do if a pod has restarted?

The skill says to retrieve the previous container's logs with the --previous flag, because the current container's logs may be empty.

How do I install troubleshoot-mwaa-dag?

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

Is troubleshoot-mwaa-dag free?

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

Is troubleshoot-mwaa-dag safe to use?

It scores 61 of 100. Grades: maintenance A, licence A, quality C. 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 troubleshoot-mwaa-dag?

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

troubleshoot-mwaa-dag Install

Add to stack

Loading.