azure-diagnostics

azure-diagnostics is a skill for Claude Code, Codex from microsoft/azure-skills. It costs 160 tokens per session (1,439 once invoked), scanned A, a copy of azure-diagnostics, MIT.

A troubleshooting workflow for diagnosing production problems in Azure services such as App Service, Functions, Container Apps, AKS, and virtual machines.

In plain words
What is it for?
Use it to investigate application errors, failed deployments, slow or unhealthy services, Kubernetes problems, and RDP or SSH connection failures.
Why use it?
It helps narrow down the cause of crashes, deployment failures, high CPU use, connectivity problems, health-check failures, and related issues using Azure logs, metrics, and service health information.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Part of the azure plugin — 38 skills, 1 plugin shipped together

Good fit Use it to investigate application errors, failed deployments, slow or unhealthy services, Kubernetes problems, and RDP or SSH connection failures.

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

Azure Skills Plugin is an agent plugin that packages Azure-specific guidance with MCP server configurations for carrying out Azure work. Coding agents use it to plan, deploy, troubleshoot, monitor, govern, and optimize Azure applications and services. The catalogue entries are the plugin's skills, instructions, and execution integrations.

microsoft/azure-skills · 1,459 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 microsoft/azure-skills --skill azure-diagnostics
Clone the repo
git clone --depth 1 https://github.com/microsoft/azure-skills

Made for: Claude Code, Codex.

Or install azure, the plugin that ships this one along with the rest of its 38 skills, 1 plugin.

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 azure-diagnostics

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/azure-skills/azure-diagnostics.svg)](https://agentmods.dev/skills/microsoft/azure-skills/azure-diagnostics)
Your own site
<a href="https://agentmods.dev/skills/microsoft/azure-skills/azure-diagnostics"><img src="https://agentmods.dev/badge/skills/microsoft/azure-skills/azure-diagnostics.svg" alt="Measured on agentmods" height="20"></a>
Per session 160 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,439 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. Third-party audits
  • Socket pass 19 May 2026
  • Snyk warn 19 May 2026
How audits are shown
Origin 100% copy Near-identical to another mod 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.00160 $0.01439
Opus 5 $0.00080 $0.00720
Sonnet 5 $0.00032 $0.00288
Haiku 4.5 $0.00016 $0.00144

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

Security

Grade A, and why

azure-diagnostics 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 8d ago.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/aks-baseline.ps1, scripts/aks-baseline.sh, scripts/appservice-diagnostics.ps1, …), 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.

Origin

This is a copy

100% identical to azure-diagnostics — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/plugins/azure-skills/skills/azure-diagnostics/SKILL.md · 156 lines

How it starts

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

Azure Diagnostics

AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE

This document is the official source for debugging and troubleshooting Azure production issues. Follow these instructions to diagnose and resolve common Azure service problems systematically.

Triggers

Activate this skill when user wants to:

  • Debug or troubleshoot production issues
  • Diagnose errors in Azure services
  • Analyze application logs or metrics
  • Fix image pull, cold start, or health probe issues
  • Investigate why Azure resources are failing
  • Find root cause of application errors
  • Troubleshoot App Service issues (high CPU, deployment failures, crashes, slow responses, TLS/custom domains)
  • Respond to prompts like "troubleshoot app service", "app service high CPU", or "app service deployment failure"
  • Troubleshoot Azure Function Apps (invocation failures, timeouts, binding errors)
  • Find the App Insights or Log Analytics workspace linked to a Function App
  • Troubleshoot AKS clusters, nodes, pods, ingress, or Kubernetes networking issues
  • Troubleshoot Azure VM connectivity issues (RDP/SSH failures, port 3389/22 timeouts, NSG or firewall blocking, credential resets)
  • Troubleshoot Azure Messaging SDK issues (Event Hubs, Service Bus connection failures, AMQP errors, message lock issues)

Rules

  1. Start with systematic diagnosis flow
  2. Use AppLens (MCP) for AI-powered diagnostics when available
  3. Check resource health before deep-diving into logs
  4. Select appropriate troubleshooting guide based on service type
  5. Document findings and attempted remediation steps
  6. Route AKS incidents to the dedicated AKS troubleshooting document

Quick Diagnosis Flow

  1. Identify symptoms - What's failing?
  2. Check resource health - Is Azure healthy?
  3. Review logs - What do logs show?
  4. Analyze metrics - Performance patterns?
  5. Investigate recent changes - What changed?

Troubleshooting Guides by Service

Service Common Issues Reference
Container Apps Image pull failures, cold starts, health probes, port mismatches container-apps/
App Service High CPU, deployment failures, crashes, slow responses, TLS/custom domains app-service/
Function Apps App details, invocation failures, timeouts, binding errors, cold starts, missing app settings functions/
AKS Cluster access, nodes, kube-system, scheduling, crash loops, ingress, DNS, upgrades AKS Troubleshooting
Compute VM RDP/SSH connectivity, NSG/firewall blocks, credential resets, VM agent/tooling issues VM Connectivity Troubleshooting
Messaging Event Hubs & Service Bus SDK errors, AMQP failures, message lock, connectivity Messaging Troubleshooting

Read the full file on GitHub · 156 lines

Files

What ships with it

50 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 156 lines · 160 tokens per session scan A 513f4aae9d13

Subscribe to this mod's changes

azure-diagnostics is a skill published in the GitHub repository microsoft/azure-skills (1,459 stars, last pushed yesterday), licensed MIT. It adds 160 tokens to every session and 1,439 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to azure-diagnostics, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

gke-ai-troubleshooting-jobset-interruption

Diagnoses GKE JobSet interruptions, restarts, and preemptions for AI/ML training workloads autonomously. Use when troubleshooting JobSet restart loops, spot VM preemptions, node readiness failures, host VM issues, or coordinator worker crashes. Don't use for general GKE cluster creation, basic workload deployment, or…

google/skills · 83 tokens

gke-workload-troubleshooting

Diagnoses GKE workload failures (CrashLoopBackOff, OOMKilled, ImagePullBackOff, Pending, etc.) via logs and events. Use when pods fail to start or crash repeatedly. Don't use for GKE cluster infrastructure provisioning, node pool creation, or non-Kubernetes Google Cloud services.

google/skills · 69 tokens

gke-node-notready

Diagnoses GKE nodes reporting NotReady or Unknown status by inspecting node conditions, events, kubelet/containerd logs, and node metrics, then proposing safe remediations. Use when nodes show NotReady, when the kubelet stops posting node status, or when workloads are evicted or stuck Pending due to node health. Don't…

google/skills · 112 tokens

gke-ai-troubleshooting-handle-disruption-gpu-tpu

Diagnoses, predicts, and mitigates node disruptions during Compute Engine host maintenance and hardware or software maintenance events for GPU and TPU workloads on GKE. Use when diagnosing node disruptions, predicting host maintenance events on GPU/TPU nodepools, inspecting node interruption PromQL metrics, auditing…

google/skills · 117 tokens

agentcore-investigation

Investigate Bedrock AgentCore runtime sessions via CloudWatch Logs Insights — resolve session/trace IDs, query OTEL spans, filter noise, build timelines. Use when debugging AgentCore agent sessions, tracing tool calls, or analyzing latency.

awslabs/mcp · 52 tokens

troubleshoot-sandbox

Troubleshoot OpenSandbox issues by running diagnostics (logs, inspect, events, summary) via CLI or HTTP API to diagnose sandbox failures like OOM, crash, image pull errors, network problems, etc.

opensandbox-group/OpenSandbox · 48 tokens