Skip to main content
skill CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add microsoft/skills
/plugin install azure-advisor@skills
Open on GitHub

What 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 IdleResources findings.
  • 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@skills

This 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-code

3Manually: put the files in place

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

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

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

Similar skills

All skills for Cloud: AWS, Azure, GCP →

From the same set250

The whole set →
connect-observability connect-observability is a Claude Code skill that finds or connects telemetry for Azure apps and Foundry agents. It activates for explicit monitoring, alerting, health, or operational diagnosis requests. CX Codex +1 ★ 3,232repo stars assess-observability-health assess-observability-health is a Claude Code skill that evaluates operational health for Azure resources and Foundry agents. Runs during incident diagnostics, error spikes, and API latency issues. CX Codex +1 ★ 3,232repo stars azure-observability azure-observability is a Claude Code hook for troubleshooting Azure web/API issues and Foundry agents, then checking recovery against evidence. It runs at session start and after tool use. ★ 3,232repo stars azure-observability azure-observability is a Claude Code plugin that guides incident investigation for Azure apps and Foundry agents. It structures troubleshooting from initial symptom analysis to fix validation. ★ 3,232repo stars aks-cost-optimization aks-cost-optimization is a Claude Code skill for analyzing AKS cluster costs, including pod placement, node scaling and storage. It activates for NAP readiness, bin packing and blocked scale-down investigations. CX Codex +1 ★ 3,232repo stars azure The azure hook for Claude Code runs a telemetry script at session start and after a tool is used. It passes the script the claude-code label. ★ 3,232repo stars ui-widget-developer ui-widget-developer is a Claude Code skill for building MCP servers and interactive widgets for Copilot Chat, including new servers and widgets added to existing ones. CX Codex +1 ★ 3,232repo stars slack-to-teams slack-to-teams reads an existing Slack bot and walks you through porting it to Teams or building for both platforms at once. Useful once the bot works and has to go wider. CX Codex +1 ★ 3,232repo stars

Project sponsors

Companies that keep this analytics open