In short.
Azure Cost Optimization is a Microsoft AI assistant skill for Azure engineers and cost reviewers, but useful recommendations depend on authorized cost and workload evidence. Declared version 1.0.2 covers waste, resource sizing, Reservations, and Savings Plans, with additional Redis and Storage guidance. It separates billed costs, tool-reported savings, and opportunities that cannot yet be quantified. Its instructions require workload and ownership checks before proposing changes and keep implementation subject to approval. Host setup, exact access roles, operating costs, integration reliability, and realized savings are not established by the supplied files. Nothing was executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is limited to .github/plugins/azure-cost/skills/cost-optimization at revision f558cce7c37fcc7b0e12f32a22331d587eb92a3a: SKILL.md and references/commitments.md, optimization.md, report-template.md, resource-graph.md, tool-fallback.md, services/redis.md, services/storage.md, and services/storage-lifecycle.md. Related notices are .github/plugins/azure-cost/LICENSE and the repository-root LICENSE. All supplied file contents are covered. The surrounding plugin, MCP server implementation, optional AKS skill, and external API documentation are excluded. Nothing was executed; installation, authentication, live queries, generated reports, runtime safeguards, and financial outcomes were not tested.
The overview
Identity
Azure Cost Optimization is an instruction skill named cost-optimization, attributed to Microsoft and declaring version 1.0.2. It lives inside the azure-cost plugin directory of microsoft/skills. The resource consists of SKILL.md and eight supporting reference files that an AI assistant uses to organize Azure analysis.
The original source location is [https://github.com/microsoft/skills/tree/main/.github/plugins/azure-cost/skills/cost-optimization]. The selected resource is this skill folder; the surrounding plugin and its runtime configuration are outside the supplied scope.
Assessment
The skill is useful for structuring a review of an existing Azure estate. Its strongest feature is the connection between actual spending, Azure Advisor recommendations, resource inventory, and workload feasibility. It prioritizes quantified opportunities only when the evidence supports their savings and practical suitability.
Its safeguards are written instructions for an assistant. The files do not demonstrate runtime enforcement, correct tool integration, or successful cost reduction. Adoption therefore depends on the host following those instructions and obtaining sufficient Azure evidence.
Users
The natural users are Azure platform engineers, developers responsible for cloud resources, and FinOps practitioners reviewing cloud spending. The resource addresses questions such as whether a detached disk still incurs charges, whether a workload could use a different resource size, and whether purchased discounts are being used.
A beginner would still need an Azure operator who can interpret ownership, dependencies, reliability requirements, and billing scope. The skill expressly excludes cost spikes, forecasts, standalone pricing estimates, budgets, and governance.
Capabilities
The optimization workflow compares current and prior spending by service and resource group, retrieves Advisor cost recommendations, and checks resource configuration. Query examples cover unattached disks, public IP addresses, network interfaces, empty load balancer backend pools, resource sizes, and ownership tags. Redis and Storage references add service-specific evidence requirements.
The commitment workflow reviews Reservations and Savings Plans separately. It distinguishes utilization, meaning how much purchased commitment was consumed, from coverage, meaning how much eligible usage received commitment pricing. It also considers transaction history, amortized cost, recommendations for new commitments, and changes that could leave existing commitments unused.
A report template provides cost breakdowns, recommendations, implementation considerations, Azure Portal links, and a convention for retaining raw cost-query results.
Using it
Requirements
The skill needs an assistant host that can load its instructions and references, plus authenticated access to the relevant Azure operations. Its preferred connection is Azure Resource Manager MCP, a Model Context Protocol interface exposing cost, inventory, monitoring, pricing, and benefit tools. Supported hosts, minimum versions, exact Azure access roles, and server configuration are not specified.
Portfolio commitment utilization requires an accessible billing scope; a subscription alone may need to be resolved to its billing account and billing profile. Valid recommendations also depend on workload evidence, policies, ownership, and comparable measurement periods. API fallback requires an already authenticated Azure CLI, Azure PowerShell, or REST client.
Mechanism
The assistant first establishes scope, period, currency, and whether the question concerns resource optimization or commitments. Resource Graph queries follow generate_query, validate_query, and execute_query, with explicit subscription filtering, limited projections, and pagination. Grouping and filtering belong in validated server-side queries; the instructions prohibit using a local interpreter merely to parse or aggregate MCP responses.
Recommendations retain their evidence source, savings period, currency, confidence, feasibility, commitment interaction, owner, validation step, and rollback considerations. Missing data remains a stated gap. The skill directs the assistant to recommend changes only and provides API fallbacks for unavailable operations, excluding fallbacks for denied access, invalid input, throttling, or empty data.
Setup
Keep SKILL.md with all eight reference files so its relative links remain available. Installation must use the chosen host's supported skill-loading process; the supplied folder contains no host-specific installation commands, MCP server setup, or authentication walkthrough.
Before use, establish that the necessary tools are available and that the authenticated identity can read the intended subscription or billing scope. For Azure Kubernetes Service commitment analysis, the documentation describes an optional handoff to aks-cost-optimization when available. That separate skill is outside this resource, and its installation and compatibility are not established here.
Example
An illustrative request is to investigate disks still incurring charges after virtual machines were removed. The documented approach would establish the subscription, period, and currency, inspect costs, and run a validated Resource Graph query for disks without an attached resource.
An unattached disk would remain an investigation candidate. The recommendation would need relevant Advisor or observed usage evidence, owner confirmation, dependency and retention checks, and any commitment implications. The output could identify the next validation step without assigning invented savings or deleting the disk. This example was not executed.
Assessment & evidence
Limitations
Inventory alone cannot establish that a resource is idle, oversized, or safe to remove. Missing metrics or Advisor evidence can leave an opportunity unresolved. The Redis and Storage guides limit cross-subscription processing to ten accessible subscriptions per batch.
Storage lifecycle examples contain placeholder day values. Recommendations require observed access patterns, retention and retrieval requirements, live prices, and verification of last-access tracking where used. For AKS commitments, missing representative compute history prevents validation of stable demand.
The report template uses USD and monthly or annual placeholders. These need adaptation to the actual currencies and reported periods. The files contain no execution evidence establishing query correctness across environments or successful end-to-end integration.
Reasoning
The documented approach supports cautious financial interpretation. It preserves currencies and savings periods, treats utilization below 90% as an investigation signal, and explains why high utilization can coexist with low coverage. It also checks whether resource changes would leave purchased commitments unused and avoids counting commitment and resource-sizing savings twice.
These choices make the skill suitable for organizing evidence and explaining tradeoffs. They do not establish the magnitude of available savings or guarantee an assistant will follow every rule. Its usefulness depends on source-data quality, tool support, and workload knowledge.
Alternatives
The documented manual route uses Azure's Cost Management Query, Resource Graph, Advisor Recommendations, Monitor Metrics, benefit, and reservation APIs through an already authenticated CLI, PowerShell, or REST client. An experienced operator could use those interfaces to conduct the underlying analysis directly.
That route still requires preserving scope, currency, periods, pagination, and savings semantics. The supplied files provide no comparative evaluation of other assistant skills or commercial cost-management products.
Evidence
The supplied source consists of the skill entry point, eight Markdown references, and two related licence notices. It provides procedural instructions, query patterns, an illustrative lifecycle policy, API mappings, and a report template. It contains no actual Azure query responses, completed cost reports, benchmarks, or demonstrated savings.
The captured source can be identified at [https://github.com/microsoft/skills/tree/f558cce7c37fcc7b0e12f32a22331d587eb92a3a/.github/plugins/azure-cost/skills/cost-optimization]. Broader plugin configuration, MCP implementations, external skills, and Azure service behavior are outside this evidence.
Access & freshness
Costs
The files provide no prices for an assistant host, MCP service, model usage, or Azure API access. Total operating cost is unknown. No measured savings, return on investment, or actual customer bill is supplied.
For resource comparisons, the skill calls for live public prices through get_retail_prices or negotiated pricesheets through download and status operations. It keeps retail and negotiated prices separate and does not equate a retail-price comparison with realized savings. Storage analysis must include relevant transaction, retrieval, minimum-retention, early-deletion, and rehydration costs.
Rights
The skill declares MIT licensing, supported by MIT notices at the azure-cost plugin level and repository root. These notices permit use, modification, redistribution, sublicensing, and sale, provided the copyright and permission notices accompany copies or substantial portions. The plugin notice identifies Microsoft Corporation and 2025; both notices disclaim warranties.
Those permissions cover the supplied software and documentation. They do not establish access rights, service terms, or pricing for Azure, an assistant host, or external dependencies.
Freshness
The supplied snapshot was captured on 2026-11-16 at 21:16:40.612 UTC from revision f558cce7c37fcc7b0e12f32a22331d587eb92a3a. SKILL.md declares version 1.0.2. These identifiers establish the source snapshot, not an installed or verified working version.
Later source changes, current tool availability, and current Azure prices are unknown. The documentation itself requires live pricing and period-matched operational evidence rather than embedded rates.
Actions
Before adopting the skill, confirm that the intended assistant can load its references and access the required Azure operations. Establish the necessary read permissions, target subscription or billing scope, analysis period, and currencies. Exact permission roles and host configuration need separate verification.
For an initial use, choose a bounded waste or commitment question and inspect the evidence behind each recommendation. Confirm ownership, workload requirements, and commitment interactions before acting. Keep implementation as a separate approval step, with validation and rollback details for any proposed change.
