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
npx skills add MicrosoftDocs/Agent-Skills --skill azure-advisor -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/azure-advisor/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/azure-advisor/
1Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-advisor -a codex2Manually: put the files in place
.agents/skills/azure-advisor/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-advisor -a cursor2Manually: put the files in place
.cursor/skills/azure-advisor/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install MicrosoftDocs/Agent-Skills skills/azure-advisor2Manually: put the files in place
.github/skills/azure-advisor/SKILL.md1Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-advisor -a gemini-cli2Platform CLI
gemini skills install https://github.com/MicrosoftDocs/Agent-Skills --path skills/azure-advisorManually: put the files in place
.devin/skills/azure-advisor/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-advisor -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.