azure-diagnostics

azure-diagnostics is a command for Claude Code from WYRE-AI/msp-claude-plugins. It costs 27 tokens per session (592 once invoked), scanned A, original, Apache-2.0.

A read-only Azure health check for a resource, resource group, or subscription. It checks availability, Azure Monitor alerts, and—when needed—AppLens diagnostic findings.

In plain words
What is it for?
Use it to investigate degraded or unavailable Azure resources, review active health events, inspect fired alerts, and support post-incident reviews.
Why use it?
It gives a structured view of what may be wrong during an incident without changing or restarting Azure resources.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the azure-mcp plugin — 3 skills, 2 commands, 1 agent shipped together

Good fit Use it to investigate degraded or unavailable Azure resources, review active health events, inspect fired alerts, and support post-incident reviews.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wyre-ai/msp-claude-plugins/azure-diagnostics
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.

Clone the repo
git clone --depth 1 https://github.com/WYRE-AI/msp-claude-plugins

Made for: Claude Code.

Or install azure-mcp, the plugin that ships this one along with the rest of its 3 skills, 2 commands, 1 agent.

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/commands/wyre-ai/msp-claude-plugins/azure-diagnostics.svg)](https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/azure-diagnostics)
Your own site
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/azure-diagnostics"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/azure-diagnostics.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 592 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.00027 $0.00592
Opus 5 $0.00014 $0.00296
Sonnet 5 $0.00005 $0.00118
Haiku 4.5 $0.00003 $0.00059

Measured 4d ago against content hash 69d2cfd0b46e, 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 4d ago.

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.

msp-claude-plugins/azure-mcp/azure-mcp/commands/azure-diagnostics.md · 42 lines

How it starts

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

Azure Diagnostics Triage

Runs a focused, read-only diagnostics pass over an Azure resource, resource group, or subscription. Use it for "is something wrong with [resource]?" investigations, incident triage, and post-incident review.

This command is read-only — it diagnoses and reports; it never restarts, reconfigures, or remediates a resource.

Arguments

  • target (required) — Azure resource ID, resource group, or subscription ID to triage
  • window (optional) — Lookback window for alerts and metrics (e.g. 1h, 24h, 7d) — defaults to 24h

What it checks

  1. Resource Healthresourcehealth for the current availability state (Available / Degraded / Unavailable / Unknown) and the reason classification (platform-initiated, customer-initiated, unplanned). Surfaces any active subscription-level health events.
  2. AppLens diagnostics — when Resource Health is degraded or the picture is unclear, run applens detectors against the resource to identify the tripped detector, the failing dependency, and Microsoft's recommended mitigation.
  3. Monitor alertsmonitor to list alert rules covering the target and their fired/resolved state within the lookback window.
  4. Supporting metrics — pull relevant monitor metric series (and, where useful, a bounded Log Analytics KQL query) around the incident window to confirm and quantify impact.

Output

A triage report covering:

  • Verdict — healthy, degraded, or unavailable, with the most likely cause
  • Azure-side vs. customer-side — whether a platform-initiated event explains the symptom (nothing to fix customer-side) or a customer-side cause needs action
  • Evidence — the AppLens detector results, fired alerts, and metric/log excerpts that support the verdict
  • Recommended next steps — what to do, explicitly noting that any fix happens through a separate write-capable path, not this connector

Caveats

  • Read-only. This command cannot acknowledge alerts, restart resources, or apply fixes. It identifies the problem and the recommended action; execution is out of scope for the azure-mcp connector.
  • Scope the window to the incident — a wide window dilutes the signal and slows queries.

Read the full file on GitHub · 42 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. 4d ago First seen · 42 lines · 27 tokens per session scan A 69d2cfd0b46e

Subscribe to this mod's changes

azure-diagnostics is a command published in the GitHub repository WYRE-AI/msp-claude-plugins (45 stars, last pushed 5d ago), licensed Apache-2.0. It adds 27 tokens to every session and 592 once invoked, about $0.0001 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-09-04.