Cost Optimization

by microsoft354361d83247MITListed Oct 8, 2026Updated Oct 8, 2026

Optimize existing Azure resources and analyze Reservations or Savings Plans. WHEN: "optimize Azure costs", "reduce cloud spending", "rightsize resources", "find idle resources", "orphaned disk", "deleted VM still charged", "public IP still charging", "reservation utilization", "Savings Plan coverage", "commitment recommendation", "why is pay-as-you-go still charged". DO NOT USE FOR: cost spikes, forecasts, pricing estimates, budgets, or governance.

FeaturedInstructions onlyDevOps & CloudBusiness & Finance
AI-generated overview

Analyzes Azure resources to find waste and review Reservations or Savings Plans, recommending cost optimizations.

What it does
Guides an agent through Azure cost optimization workflows: reducing waste and rightsizing resources, and reviewing commitment utilization and recommendations. It relies on cost, Resource Graph, and benefit tools, and produces recommendations only, separating measured cost, reported savings, and qualitative opportunities. It does not delete, resize, purchase, or deploy resources.
When to use it
Use when asked to optimize Azure costs, reduce cloud spending, rightsize resources, find idle or orphaned resources, or investigate charges from deleted VMs or unused public IPs. Also use for reservation utilization, Savings Plan coverage, and commitment recommendations. It is not intended for cost spikes, forecasts, pricing estimates, budgets, or governance.
Requirements
Requires access to Azure cost, Resource Graph, and benefit MCP tools with appropriate permissions; no scripts are shipped, only reference documents.

Azure Cost Optimization

Quick Reference

IntentWorkflowPrimary tools
Reduce waste or rightsizeOptimization [blocked]Cost and Resource Graph tools
Review commitmentsCommitments [blocked]list_benefit_utilization, list_reservation_transactions, get_benefit_recommendations

When to Use This Skill

Use for waste, rightsizing, and commitments.

MCP Tools

Use cost and Resource Graph tools for optimization and benefit tools for commitments. Validate queries. Fallback: API mappings [blocked].

Workflow

  1. Confirm scope, period, currency, and commitment intent.
  2. Load only the matching workflow above.
  3. Never transform MCP results in a shell or interpreter; request validated server-side projection, aggregation, or bounded follow-up queries.
  4. Separate measured cost, reported savings, and qualitative opportunities.
  5. Recommend changes only; do not delete, resize, purchase, or deploy resources.

Error Handling

ErrorAction
Access deniedName the scope and permission.
Multiple currenciesGroup and report each currency separately.
Missing evidenceState the gap; do not invent values.
Server errorRetry once; then report the trace ID.

Source and attribution

Source:microsoft/skillsin.github/plugins/azure-cost/skills/cost-optimizationat commit354361d

License: MIT

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal