azure-advisor-cost-optimization — Claude Code skill: install
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.
MIT ★ 3,232 updated 2026-11-18
/plugin marketplace add microsoft/skills
/plugin install azure-advisor@skillsWhat azure-advisor-cost-optimization does
The skill works with Azure Advisor findings under Cost and IdleResources, using existing Advisor tools. It keeps the chosen scope, resource type, tenant, and supplied identities intact. Requests about other cost subcategories, general cost questions, or multiple categories go to azure-advisor.
Each workflow requires its matching files from references; scoped calls also require the scope-resolution guide. If a required file cannot be read, the skill reports that and stops the affected workflow. Savings come from structured retail-savings results returned by MCP. The skill does not derive amounts from dates or substitute raw pricing data. An estimate does not prove a resource is idle or authorize its deletion.
Completed reports use realized savings. Monetary figures show their currency and pricing basis. A missing amount is marked unavailable, while a numeric zero stays zero.
What it helps with
- find idle Azure resources
- review savings from IdleResources findings
- inspect historical savings for idle resources
- check whether selected resources are safe to delete
Example prompts for the agent
- Find unused Azure resources and review the Advisor
IdleResourcesfindings. - Show historical savings from idle Azure resources.
- Are these Azure resources safe to delete?
How to install azure-advisor-cost-optimization
1Plugin marketplace
/plugin marketplace add microsoft/skills/plugin install azure-advisor@skillsThis installs the whole azure-advisor plugin with all its skills
2Skills CLI (Vercel)
npx skills add microsoft/skills --skill azure-advisor-cost-optimization -a claude-code3Manually: put the files in place
~/.claude/skills/azure-advisor-cost-optimization/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/azure-advisor-cost-optimization/
1Skills CLI (Vercel)
npx skills add microsoft/skills --skill azure-advisor-cost-optimization -a codex2Manually: put the files in place
.agents/skills/azure-advisor-cost-optimization/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add microsoft/skills --skill azure-advisor-cost-optimization -a cursor2Manually: put the files in place
.cursor/skills/azure-advisor-cost-optimization/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install microsoft/skills .github/plugins/azure-advisor/skills/azure-advisor-cost-optimization2Manually: put the files in place
.github/skills/azure-advisor-cost-optimization/SKILL.md1Skills CLI (Vercel)
npx skills add microsoft/skills --skill azure-advisor-cost-optimization -a gemini-cli2Platform CLI
gemini skills install https://github.com/microsoft/skills --path .github/plugins/azure-advisor/skills/azure-advisor-cost-optimizationManually: put the files in place
.devin/skills/azure-advisor-cost-optimization/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.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-cost-optimization
How do I install azure-advisor-cost-optimization in Claude Code?
Run /plugin marketplace add microsoft/skills first, then run /plugin install azure-advisor@skills.
What does azure-advisor-cost-optimization do?
It reviews Azure Advisor findings for idle resources and performs a read-only precheck of deletion safety. Requests for other cost categories are routed to azure-advisor.
Does a savings estimate confirm that a resource is safe to delete?
No. An estimate does not establish that a resource is idle, and it does not authorize deletion.
Source text
SKILL.md · MIT
--- name: azure-advisor-cost-optimization description: "Analyze Azure Advisor Cost/IdleResources findings and prevalidate deletion safety, including Service Groups. WHEN: \"find unused Azure resources\", \"what resources am I paying for but no longer using\", \"idle-resource savings\", \"historical idle-resource savings\", \"are these idle resources safe to delete\". Generic Cost, other subcategories, and cross-category requests use azure-advisor." license: MIT metadata: author: Microsoft version: "1.0.11" --- # Azure Advisor Cost Optimization Use existing Advisor tools only with `category=Cost` and `sub-category=IdleResources`. Never substitute billing, inventory or runtime KQL. Preserve selected scope, type and tenant; pass supplied identities unchanged. ## Shared rules Use only returned structured retail savings; MCP owns calculations. Never annualize, reconstruct amounts from dates, or fall back to legacy annualSavingsAmount/savingsAmount or raw pricing. Cost is accumulated Advisor cost, not monthly spend or yearly savings. Completed reports use Realized savings. Every monetary answer or proposal visibly shows Currency and `Pricing basis: <basis>` from the calculated measure or its documented source. Missing amounts are Unavailable, not zero; numeric zero stays zero. Preserve a known basis even when amounts are missing. Potential savings depend on validating and deleting eligible resources. Estimates do not establish inactivity or safe deletion and never authorize remediation. ## Workflow Before each flow, read its matching references below, including when using supplied results. Before scoped calls, read [Scope resolution](references/scope-resolution.md). Reuse already loaded references. If a required file is unavailable, report it and stop the affected flow. Use the matching scenario guidance; [Reference index](references/README.md). ## Quick reference | Flow | Required reference | |---|---| | Discovery and type expansion | [Workflow](references/workflow.md) | | Counts, savings field mapping and pricing-source interpretation | [Output and savings](references/output-and-savings.md) | | Tables and selected resources | [Table format](references/table-format.md) | | Completed/historical reports | [Lifecycle](references/lifecycle.md) | | State changes | [State updates](references/state-updates.md) | | Selection/remediation handoff | [Selection](references/selection-and-handoff.md) | | Explicit prevalidation/safety checks | [Selection](references/selection-and-handoff.md#read-only-prevalidation) | | Filters/errors | [Tools and recovery](references/tools-and-recovery.md) | | Routing examples | [Examples](references/examples.md) | ## Response guidance Use shared headings and column order across models, with documented scope/lifecycle variations. Visibly show results/proposals before dependent questions; reasoning, tool output or text inside `ask_user` does not count. Ask directly for missing input.
© Microsoft · MIT · microsoft/skills