Skip to content

Guide · Agent skill

How to use the Azure Resource Health Diagnosis agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

This guide explains the azure-resource-health-diagnose agent skill, a set of written instructions that tells an AI agent how to examine one Azure resource, look for problems in its logs and telemetry, and produce a remediation plan. It is written for readers who have not used agent skills before. By the end you will know how to install the skill, how to ask for it in plain language, and what to check before acting on its output.

Azure Resource Health Diagnosisgithub/awesome-copilot · MIT

Quick start

  1. 1Confirm prerequisites. Make sure the Azure MCP server is configured and authenticated, and that the Azure CLI (az) is available as a fallback.
  2. 2Download and unzip the skill. Download the ZIP from this page and unzip it to get SKILL.md.
  3. 3Place the skill folder. Copy the unzipped folder into ~/.claude/skills/ for personal use, or into .claude/skills/ inside a project. Alternatively, upload it under Settings → Capabilities → Skills in the Claude apps.
  4. 4Name the resource. Ask for the diagnosis in plain language and give the resource name, plus resource group or subscription if you know them.
  5. 5Review the health summary. Check the resource status and the issues grouped as Critical, High, Medium or Low.
  6. 6Verify before changing anything. Confirm the findings against the logs and review each rollback plan before applying any remediation to a live service.

What the skill makes the agent do

The skill is a file named SKILL.md that describes a step-by-step workflow. Once it is installed, the agent follows that workflow when you ask it to look into an Azure resource such as a web app, database, virtual machine or storage account.

The workflow checks the resource's status and metrics, runs queries against its logs and telemetry to find errors and patterns, and sorts the problems it finds by severity. It then writes a remediation plan with immediate, short-term and longer-term actions.

  • Resource lookup: finds the resource by name, and asks you to specify subscription or resource group if several match.
  • Health check: reviews provisioning state, availability, recent changes and utilization.
  • Log analysis: finds Log Analytics workspaces and Application Insights instances, then runs KQL queries.
  • Classification: ranks issues as Critical, High, Medium or Low.
  • Remediation plan: lists immediate, short-term and long-term actions, with rollback plans and verification steps, and asks for your approval before acting.

What you need before you start

The skill depends on Azure's own tools. You need an Azure MCP server that is configured and authenticated, and the Azure CLI (az) is used as a fallback when needed. You also need access to an Azure subscription that contains a deployed, running target resource with its Log Analytics or Application Insights data.

Without a subscription or access to the resource, the workflow cannot run.

  • Azure MCP server configured and authenticated
  • Azure CLI (az) as a fallback
  • An Azure subscription with a deployed, running target resource
  • Log Analytics and/or Application Insights data for that resource

Install the skill from the ZIP download

Download the ZIP for this skill from this page and unzip it. The package contains a single file, SKILL.md. Place the unzipped skill folder in one of two locations depending on how you want to use it.

For a personal install available across your projects, put it in ~/.claude/skills/. For a single project, put it in that project's .claude/skills/ folder.

In the Claude apps you can instead upload the skill under Settings → Capabilities → Skills.

  • Personal: ~/.claude/skills/
  • Project only: .claude/skills/ inside the project folder
  • Claude apps: Settings → Capabilities → Skills, then upload

Trigger the skill with natural requests

You do not need a special command. Describe the problem and name the resource, and the agent should pick up the skill from its description. Include the resource name, and the resource group or subscription if you know them, so the lookup is quicker.

Requests that work well describe a symptom and a target, for example asking the agent to check why a named web app is returning errors, or to review a database that has been slow since yesterday.

  • "Diagnose the health of the web app orders-api in resource group prod-rg."
  • "Why is the storage account logsarchive showing failed requests this week? Make a remediation plan."
  • "Check my SQL database for connection failures in the last 24 hours."

Read the output and verify before acting

The skill asks for confirmation before remediation work. The health summary lists the resource, its status, location and the number of issues at each severity level, followed by the plan.

Treat the plan as a well-organized starting point. The skill's own guidance says the plan is only as good as the available logs and the agent's interpretation, so a person should verify findings before changing anything in production. Remediation steps can affect live services.

  • Check that the cited log results match what you see in the portal.
  • Review each rollback plan before applying a fix.
  • Test changes outside production where you can.

Safety notes: scripts and network access

This skill does not run scripts. It is made of instructions only. It does use the network, because it calls Azure services through the Azure MCP tools and the Azure CLI to read resource status, metrics and logs. Those calls run under the credentials you have authenticated with.

Use an account with the least access needed to read the resource and its logs. Do not apply remediation commands from the plan to production without review.

  • Runs scripts: no
  • Uses network: yes, to query Azure
  • Actions run under your authenticated Azure identity

What people use it for

  • Triage a web app that is returning HTTP errors after a deployment.
  • Check a SQL database for connection failures and slow queries.
  • Review a storage account for failed requests and latency problems.
  • Get KQL query examples to investigate errors in Log Analytics or Application Insights.
  • Produce a written incident follow-up with immediate, short-term and long-term actions.

Frequently asked questions

How do I install the azure-resource-health-diagnose skill?

Download the ZIP from this page and unzip it to get SKILL.md. Put the folder in ~/.claude/skills/ for personal use or in a project's .claude/skills/ folder, or upload it in the Claude apps under Settings → Capabilities → Skills.

What do I need to use this skill?

You need an Azure MCP server that is configured and authenticated, the Azure CLI (az) as a fallback, and access to an Azure subscription with a deployed, running resource and its Log Analytics or Application Insights data. The workflow cannot run without access to the resource.

Is this skill free and what is its licence?

The skill is listed under the MIT licence. This page does not state any price, so check the source repository for licence terms in full.

Does the skill run scripts or access the internet?

It runs no scripts. It does use the network, because it queries Azure through the Azure MCP tools and the Azure CLI, using your authenticated access.

Can the skill find the root cause of a problem?

Not with certainty. The plan depends on the logs available and the agent's interpretation, so a human should verify findings before acting on any fix.

What should I do if the skill cannot find my resource?

Give the resource group and subscription along with the name. The skill's own steps say that if several resources match, it will ask you to specify the subscription or resource group, and it uses az resource list to search.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits on-call engineers and cloud teams who want a consistent, structured first look at a misbehaving Azure resource and a written plan afterwards, as well as developers who want help writing KQL. It is not a good fit if you have no Azure access to the resource, need a guaranteed root cause, or plan to apply changes straight to production without review.

Download the skill