About azure-advisor
A reference skill for agents working with Azure Advisor, covering recommendations, configuration, security, and integrations. It combines local quick-reference material with remote documentation retrieval, organized by topic.
Key features
- 01Cost, performance, and reliability recommendations
- 02Workload assessment and decision guidance
- 03Limits, quotas, and security guidance
- 04Alerts, digests, and recommendation settings
- 05Resource Graph and MCP integration patterns
Use cases
- 01Assess recommendations for Azure workloads
- 02Analyze recommendation cost implications
- 03Configure Advisor alerts and digests
- 04Query recommendations through Resource Graph
MCP support
Includes coding guidance for integrating Azure Advisor MCP tools with AI clients. The skill itself retrieves documentation remotely.
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ microsoftdocs/ agent-skills --skill azure-advisorAfter installing, type/azure-advisorin Claude Code to confirm it loaded.
Details
From the project READMEAzure 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), useread_filewith the specified lines. For categories with file links (e.g.,[security.md](security.md)), useread_fileon the linked reference file
IMPORTANT for Agent: If
metadata.generated_atis more than 3 months old, suggest the user pull the latest version from the repository. Ifmcp_microsoftdocstools are not available, suggest the user install it: Installation Guide
This skill requires network access to fetch documentation content:
- Preferred: Use
mcp_microsoftdocs:microsoft_docs_fetchwith query stringfrom=learn-agent-skill. Returns Markdown. - Fallback: Use
fetch_webpagewith query stringfrom=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
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 |