aks-troubleshooting

aks-troubleshooting is a skill for Claude Code from Azure/AKS-Skills. It costs 203 tokens per session (2,118 once invoked), scanned A, original, MIT.

A read-only investigation guide for live Azure Kubernetes Service incidents, where containerized applications run in managed clusters. It gathers evidence across workloads, nodes, networking, ingress, upgrades, and disruptions, then produces a structured report.

In plain words
What is it for?
Use it to investigate crashes, failed image pulls, unavailable nodes, DNS and connectivity failures, ingress errors, network-policy issues, SNAT exhaustion, upgrade problems, and spot or zone disruptions.
Why use it?
It helps distinguish symptoms such as a pending pod or a 503 response from the specific resource, configuration, or Azure-side cause.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the aks plugin — 8 skills, 1 MCP server shipped together

Good fit Use it to investigate crashes, failed image pulls, unavailable nodes, DNS and connectivity failures, ingress errors, network-policy issues, SNAT exhaustion, upgrade problems, and spot or zone disruptions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/azure/aks-skills/aks-troubleshooting
About the project

Azure/AKS-Skills is a collection of agent skills for operating Azure Kubernetes Service clusters after they are provisioned. It helps compatible coding agents investigate incidents, control costs, assess AKS Automatic readiness, run GPU and inference workloads, capture packet-level evidence, and design clusters. The catalogue entries provide the skills, MCP integration, and plugin configuration for these AKS operations.

Azure/AKS-Skills · 4 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Azure/AKS-Skills --skill aks-troubleshooting
Clone the repo
git clone --depth 1 https://github.com/Azure/AKS-Skills

Made for: Claude Code.

Or install aks, the plugin that ships this one along with the rest of its 8 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aks-troubleshooting

README.md
[![agentmods](https://agentmods.dev/badge/skills/azure/aks-skills/aks-troubleshooting/github.svg)](https://agentmods.dev/skills/azure/aks-skills/aks-troubleshooting)
Your own site
<a href="https://agentmods.dev/skills/azure/aks-skills/aks-troubleshooting"><img src="https://agentmods.dev/badge/skills/azure/aks-skills/aks-troubleshooting/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aks-troubleshooting

Your own site · 80×15
<a href="https://agentmods.dev/skills/azure/aks-skills/aks-troubleshooting"><img src="https://agentmods.dev/badge/skills/azure/aks-skills/aks-troubleshooting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 203 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,118 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00203 $0.02118
Opus 5 $0.00102 $0.01059
Sonnet 5 $0.00041 $0.00424
Haiku 4.5 $0.00020 $0.00212

Measured 10d ago against content hash e3af604634f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

aks-troubleshooting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/cluster-snapshot.sh, scripts/pod-deep-dive.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/aks-troubleshooting/SKILL.md · 82 lines

How it starts

The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AKS Troubleshooting

Root-cause live AKS incidents with a read-only, evidence-first investigation. This skill covers the full Day-2 troubleshooting surface — workloads, nodes, networking, ingress, upgrades, and spot/zone disruptions — and produces a structured incident report.

Operating rules

Read-only by default. Do not restart, delete, cordon, drain, scale, upgrade, or reconfigure any resource unless the user explicitly asks for remediation. Gather evidence, name the root cause, and propose the fix — but do not apply it uninvited.

Evidence before conclusion. Do not state a root cause without quoting the evidence that supports it. "Pod is Pending" and "node is NotReady" are symptoms, not causes — trace them to the specific selector, taint, exhausted resource, or Azure-side condition.

Tool preference. Inspect the host's available tools for Azure MCP capabilities that advertise AKS, AppLens, Azure Monitor, or Resource Health operations. Use each matching capability under its host-assigned name, preferring the smallest operation that fits the read. Never treat a specific prefix or spelling as an availability check, and do not invent a name-mapping layer. Fall back to raw az aks and kubectl only when the host exposes no matching capability or the discovered MCP surface cannot perform the check. Default the MCP access mode to readonly. See references/aks-mcp.md.

Evidence order. Gather Azure-side state first (cluster state, resource health, recent operations, node-pool state, detector/monitoring output), then Kubernetes-side state (reachability, nodes, kube-system, events, the affected namespace, pod detail, logs). This ordering catches platform-level causes — a failed upgrade operation, a stopped cluster, a quota block — before you spend time inside the cluster.

Route by symptom

Symptom Reference
Broad investigation, unknown root cause general-diagnostics.md
Pod crash, OOMKilled, ImagePullBackOff, Pending, readiness probe pod-failures.md
Node NotReady, node pressure, node scaling / autoscaler not triggering node-issues.md
Service connectivity, DNS, pod-to-pod networking networking.md
Ingress 502/503, load-balancer health probe, external access load-balancer-and-ingress.md
Network policy blocking traffic network-policy.md
Upgrade stuck, cordon/drain failure upgrade-operations.md
Spot eviction, zone rebalance failure spot-and-zone-issues.md
Any symptom → exact commands, in order references/symptom-map.md

Read the full file on GitHub · 82 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 82 lines · 203 tokens per session scan A e3af604634f7

Subscribe to this mod's changes

aks-troubleshooting is a skill published in the GitHub repository Azure/AKS-Skills (4 stars, last pushed today), licensed MIT. It adds 203 tokens to every session and 2,118 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

aks-mcp

Azure Kubernetes Service (AKS) official MCP server.

Friz-zy/ai-capability-registry · 14 tokens

smoke-test

Health smoke tests + auto-fix for gbrain installs (and OpenClaw services when present). Run after machine/container restarts or whenever something seems broken. Tests critical services, auto-fixes bounded local issues, and reports worker topology without starting daemons. Extensible via user-defined test scripts in…

garrytan/gbrain · 79 tokens

competition-container-runtime

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for live container runtime analysis, mounted secrets, sidecars, namespaces, init containers, entrypoint drift, and route-to-container resolution. Use when the user asks why a live container differs from manifests, where a mounted secret is…

zhaoxuya520/reverse-skill · 109 tokens

applicationinsights-web-ts

Instrument browser/web apps with the Application Insights JavaScript SDK (@microsoft/applicationinsights-web). Use for Real User Monitoring (RUM) — page views, clicks, AJAX/fetch dependencies, exceptions, custom events, and browser-side GenAI agent traces correlated to backend OpenTelemetry traces. Covers SDK Loader…

microsoft/skills · 106 tokens

azure-diagnostics

Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, troubleshoot functions, troubleshoot AKS, VM RDP, Linux SSH, VM black…

microsoft/skills · 160 tokens

azure-prepare

Prepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CLI (azd) workflow. USE ONLY when the user explicitly wants to use azd as the deployment tool, or the project already has an azure.yaml file. DO NOT USE FOR: non-azd…

microsoft/skills · 166 tokens