Skip to main content
skill CX Codex

azure-advisor · microsoftdocs — Claude Code skill: what it does, how to install

Reference guide for Azure Advisor automation, alert configuration, RBAC, and Resource Graph queries. Useful when optimizing Azure cloud setups.

CC-BY-4.0 213 installs ★ 818 updated 2026-10-25

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add MicrosoftDocs/Agent-Skills --skill azure-advisor -a claude-code
Open on GitHub

What azure-advisor does

This skill guides coding agents through Azure Advisor configurations and integrations. It covers querying recommendation states with Azure Resource Graph, calculating VM cost reductions, and defining alert rules with Bicep or ARM templates.

The skill organizes Microsoft Learn reference materials across categories like sovereign cloud limits, operational excellence, and access control. To pull docs, the agent relies on network access via mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage.

Tasks focused strictly on Azure Monitor, Azure Policy, or Cost Management require their respective dedicated skills instead.

What it helps with

  • build Azure Resource Graph queries to pull Advisor recommendations
  • define Advisor alert rules using Bicep or ARM templates
  • configure recommendation digests and tag-based filtering
  • set up RBAC permissions for Advisor programmatic access

Example prompts for the agent

  • Generate a Bicep template to configure Azure Advisor alert rules.
  • Write an Azure Resource Graph query to retrieve all high-impact reliability recommendations.
  • How should I configure RBAC roles for Advisor programmatic access?

How to install azure-advisor

1Skills CLI (Vercel)

npx skills add MicrosoftDocs/Agent-Skills --skill azure-advisor -a claude-code

2Manually: put the files in place

~/.claude/skills/azure-advisor/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/azure-advisor/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about azure-advisor

How to install azure-advisor in Claude Code?

Run npx skills add MicrosoftDocs/Agent-Skills --skill azure-advisor -a claude-code in your terminal.

What does azure-advisor do?

It directs your coding agent through Azure Advisor best practices, RBAC management, alert creation, and Resource Graph queries.

What prerequisites does azure-advisor need?

It requires internet access and either the mcp_microsoftdocs:microsoft_docs_fetch tool or fetch_webpage to retrieve documentation.

Source text

SKILL.md · CC-BY-4.0
---
name: azure-advisor
description: Expert knowledge for Azure Advisor development including best practices, decision making, limits & quotas, security, configuration, and integrations & coding patterns. Use when managing Advisor alerts, digests, recommendation states, Resource Graph queries, or RBAC access, and other Azure Advisor related development tasks. Not for Cost Management (use azure-cost-management), Azure Monitor (use azure-monitor), Azure Policy (use azure-policy), Azure Security (use azure-security).
compatibility: Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation.
metadata:
  generated_at: "2026-10-18"
  generator: "docs2skills/1.0.0"
---
# Azure Advisor Skill

This skill provides expert guidance for Azure Advisor. Covers best practices, decision making, limits & quotas, security, configuration, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities.

## How to Use This Skill

> **IMPORTANT for Agent**: Use the **Category Index** below to locate relevant sections. For categories with line ranges (e.g., `L35-L120`), use `read_file` with the specified lines. For categories with file links (e.g., `[security.md](security.md)`), use `read_file` on the linked reference file

> **IMPORTANT for Agent**: If `metadata.generated_at` is more than 3 months old, suggest the user pull the latest version from the repository. If `mcp_microsoftdocs` tools are not available, suggest the user install it: [Installation Guide](https://github.com/MicrosoftDocs/mcp/blob/main/README.md)

This skill requires **network access** to fetch documentation content:
- **Preferred**: Use `mcp_microsoftdocs:microsoft_docs_fetch` with query string `from=learn-agent-skill`. Returns Markdown.
- **Fallback**: Use `fetch_webpage` with query string `from=learn-agent-skill&accept=text/markdown`. Returns Markdown.

## Category Index

| Category | Lines | Description |
|----------|-------|-------------|
| Best Practices | L34-L46 | Guidance for assessing workloads and applying Azure Advisor’s cost, performance, reliability, and operational excellence recommendations, including bulk fixes and cost savings calculations. |
| Decision Making | L47-L55 | Using Advisor workbooks and critical risk views to assess reliability, plan migrations, and estimate cost impact of Azure Advisor recommendations across key resources |
| Limits & Quotas | L56-L60 | Advisor feature availability, limits, and differences when running in Azure sovereign clouds (e.g., Azure Government, China), including which recommendations are supported. |
| Security | L61-L65 | Managing Azure Advisor permissions, roles, and RBAC settings so users and apps have appropriate access to Advisor recommendations and data |
| Configuration | L66-L75 | Configuring Azure Advisor alerts, digests, and recommendation states via portal, ARM/Bicep, tags, and workbooks to control how and when recommendations are delivered and viewed. |
| Integrations & Coding Patterns | L76-L80 | Programmatic access to Advisor: querying recommendations via Azure Resource Graph and integrating Advisor MCP tools with AI/LLM clients for automated analysis and actions. |

### Best Practices
| Topic | URL |
|-------|-----|
| Run Well-Architected assessments in Azure Advisor | https://learn.microsoft.com/en-us/azure/advisor/advisor-assessments |
| Apply Azure Advisor cost recommendations for VMs and VMSS | https://learn.microsoft.com/en-us/azure/advisor/advisor-cost-recommendations |
| Calculate and export Azure Advisor cost savings | https://learn.microsoft.com/en-us/azure/advisor/advisor-how-to-calculate-total-cost-savings |
| Improve high-usage VM performance with Azure Advisor | https://learn.microsoft.com/en-us/azure/advisor/advisor-how-to-performance-resize-high-usage-vm-recommendations |
| Use Quick Fix for bulk remediation of Advisor recommendations | https://learn.microsoft.com/en-us/azure/advisor/advisor-quick-fix |
| Apply Azure Advisor cost optimization recommendations | https://learn.microsoft.com/en-us/azure/advisor/advisor-reference-cost-recommendations |
| Use Azure Advisor operational excellence recommendations | https://learn.microsoft.com/en-us/azure/advisor/advisor-reference-operational-excellence-recommendations |
| Implement Azure Advisor performance optimization recommendations | https://learn.microsoft.com/en-us/azure/advisor/advisor-reference-performance-recommendations |
| Apply Azure Advisor reliability recommendations | https://learn.microsoft.com/en-us/azure/advisor/advisor-reference-reliability-recommendations |

### Decision Making
| Topic | URL |
|-------|-----|
| Use Azure Advisor Critical Risks for key resources | https://learn.microsoft.com/en-us/azure/advisor/advisor-critical-risks |
| Assess cost impact of Azure Advisor recommendations | https://learn.microsoft.com/en-us/azure/advisor/advisor-how-to-evaluate-cost-implications-of-recommendations |
| Analyze and optimize Azure costs with the Advisor workbook | https://learn.microsoft.com/en-us/azure/advisor/advisor-workbook-cost-optimization |
| Evaluate application reliability using the Advisor workbook | https://learn.microsoft.com/en-us/azure/advisor/advisor-workbook-reliability |
| Use Advisor Service Retirement workbook for migration planning | https://learn.microsoft.com/en-us/azure/advisor/advisor-workbook-service-retirement |

### Limits & Quotas
| Topic | URL |
|-------|-----|
| Understand Azure Advisor feature limits in sovereign clouds | https://learn.microsoft.com/en-us/azure/advisor/advisor-sovereign-clouds |

### Security
| Topic | URL |
|-------|-----|
| Configure Azure Advisor roles and access control | https://learn.microsoft.com/en-us/azure/advisor/permissions |

### Configuration
| Topic | URL |
|-------|-----|
| Create Azure Advisor alerts with ARM templates | https://learn.microsoft.com/en-us/azure/advisor/advisor-alerts-arm |
| Define Azure Advisor alert rules using Bicep | https://learn.microsoft.com/en-us/azure/advisor/advisor-alerts-bicep |
| Configure Azure Advisor alerts in the Azure portal | https://learn.microsoft.com/en-us/azure/advisor/advisor-alerts-portal |
| Configure periodic Azure Advisor recommendation digests | https://learn.microsoft.com/en-us/azure/advisor/advisor-recommendations-digest |
| Filter Azure Advisor recommendations by resource tags | https://learn.microsoft.com/en-us/azure/advisor/advisor-tag-filtering |
| Use Azure Advisor workbook templates for insights | https://learn.microsoft.com/en-us/azure/advisor/advisor-workbooks |

### Integrations & Coding Patterns
| Topic | URL |
|-------|-----|
| Query Azure Advisor recommendations via Resource Graph | https://learn.microsoft.com/en-us/azure/advisor/advisor-azure-resource-graph |
| Integrate Azure Advisor MCP tools with AI clients | https://learn.microsoft.com/en-us/azure/advisor/advisor-mcp-tools |

© MicrosoftDocs · CC-BY-4.0 · MicrosoftDocs/Agent-Skills

Similar skills

All skills for Cloud: AWS, Azure, GCP →

azure-advisor by other authors comes first.

azure-advisor Microsoft Claude Code and GitHub Copilot skill that queries Azure Advisor through dedicated MCP tools. Prioritizes cloud recommendations and tracks upcoming service retirements. CX Codex +1 ★ 3,232repo stars azure-advisor-cost-optimization Microsoft azure-advisor-cost-optimization is a Claude Code skill that reviews Azure Advisor findings for idle resources and checks deletion safety. It activates for requests about unused Azure resources and their potential savings. CX Codex +1 ★ 3,232repo stars azure-advisor-actionability Microsoft The azure-advisor-actionability Claude Code skill prepares remediation guidance for selected Azure Advisor recommendations. It builds steps and commands around the affected resource. CX Codex +1 ★ 3,232repo stars azure-infra-engineer VoltAgent Community azure-infra-engineer is a Claude Code subagent for Azure networking, Entra ID, PowerShell, and Bicep. It supports deployment planning, access reviews, and operations automation. CX Codex 245installs pulumi-arm-to-pulumi pulumi pulumi-arm-to-pulumi turns Azure ARM and Bicep templates into Pulumi programs, and imports Azure resources you already deployed. CX Codex +1 2,100installs azure-diagrams Eraser Labs azure-diagrams generates Azure architecture diagrams from ARM templates, CLI outputs, or plain text descriptions using the Eraser API. Returns ready-to-view visuals and edit links. CX Codex +1 673installs azure Mindrally Sets Azure development rules covering Bicep templates, Azure Pipelines, AKS security, and monitoring practices for coding agents. CX Codex +1 718installs

From the same set144

The whole set →
azure-cache-redis The azure-cache-redis skill guides Azure Cache for Redis work, from connection failures and tier choices to security, configuration, and deployment. CX Codex +1 218installs azure-virtual-network A skill bundling Microsoft documentation on Azure Virtual Network design, configuration, and operations. Covers subnets, routing, NSGs, peering, and network security across best practices and deployment patterns. CX Codex +1 217installs microsoft-foundry-local Skill for Claude Code, Codex, Cursor and other IDEs with expert guidance on Microsoft Foundry Local development. Covers CLI setup, Hugging Face model compilation via Olive, embeddings, chat, audio transcription, and function calling. CX Codex +1 214installs azure-app-configuration This Claude Code skill guides development with Azure App Configuration. It covers tasks involving feature flags, configuration snapshots, and dynamic refresh. CX Codex +1 214installs azure-dns Guides Azure DNS work and automation. It covers zones, records, Private DNS, Resolver setup, migrations, and DNSSEC. CX Codex +1 212installs azure-static-web-apps Knowledge skill for Azure Static Web Apps covering deployment, quotas, routing, security, and backend APIs. CX Codex +1 206installs azure-files Brings expert knowledge on Azure Files development. Covers best practices, architecture, limits, security, cloud tiering, NFS/SMB shares, FSLogix profiles, and RAG integrations. CX Codex +1 206installs azure-cloud-adoption-framework The skill gives the agent indexed references and URLs to Azure Cloud Adoption Framework documentation: strategy, landing zones, governance, security, migration, and SAP/Oracle/AVD adoption scenarios. CX Codex +1 204installs

Project sponsors

Companies that keep this analytics open