SkillsReviewed · microsoft

Microsoft Azure Cost Analysis

Microsoft Azure Cost Analysis is an assistant skill for developers and cloud cost teams investigating Azure bills, but it requires authenticated Azure tooling and its main query tool covers only 92 days of history. It documents spending breakdowns, bill-change investigations, Kubernetes cost allocation and AI service billing, with explicit limits on model and token attribution.

Researched 16 Nov 2026

In short.

Microsoft Azure Cost Analysis is an assistant skill for developers and cloud cost teams explaining Azure spending, but it depends on authenticated Azure tools and bounded historical queries. Its documented workflows distinguish billed costs from operational metrics, inferred causes and estimates. It covers service and resource breakdowns, bill increases, Kubernetes allocation and AI service charges; native deployment, project and token attribution are unavailable through the described Cost Management dimensions. Nothing was executed, so runtime reliability, query accuracy and savings are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is the complete .github/plugins/azure-cost/skills/cost-analysis folder at revision f03ec5392f7a0f3aca12af47477e92f1edf7b44c: SKILL.md and twelve reference documents. Related notices are .github/plugins/azure-cost/LICENSE and the repository-root LICENSE. The broader plugin, sibling skills, MCP implementation, Azure services and assistant-host configuration are excluded. Nothing was installed, executed or queried; runtime behavior, permission sufficiency, result accuracy, attribution completeness, operating cost and savings remain unverified.

The overview

Identity

Azure Cost Analysis is the cost-analysis skill in Microsoft's microsoft/skills repository. SKILL.md credits Microsoft, declares version 1.1.2 and supplies entry points into twelve supporting reference documents. The resource consists of assistant instructions and reference material.

Original source folder: [https://github.com/microsoft/skills/tree/main/.github/plugins/azure-cost/skills/cost-analysis]. The supplied source revision is f03ec5392f7a0f3aca12af47477e92f1edf7b44c.

Assessment

The documented strength is disciplined billing investigation: establish a comparable baseline, find the services and resources behind a change, then distinguish measured charges from possible explanations. Missing data, mixed currencies and incomplete result sets receive explicit treatment.

It fits questions about existing spending and unexpected bills. Forecasting, pricing estimates, rightsizing, commitments and budgets are assigned to other workflows. Its practical effectiveness remains unknown because no assistant session or Azure query was run.

Users

Likely users include developers responsible for Azure services, platform engineers, Kubernetes cluster owners and teams allocating cloud spending. AI application teams can investigate Azure AI and Foundry charges by service, account resource and billing meter.

Beginners will need help connecting the Azure tools and identifying the correct subscription or billing scope. Experienced engineers get specific query parameters, attribution rules and guidance for correlating costs with resource changes. Teams needing per-request or per-token chargeback will need additional supported usage evidence.

Capabilities

The instructions cover historical totals, trends, top spenders and comparisons between anomaly and baseline periods. Investigations narrow from services to resource groups, resources and meters, then examine charge types, pricing models and matching Resource Graph changes.

For Azure Kubernetes Service (AKS), the skill documents cluster and namespace rankings, idle and overhead categories, and investigations of cost and utilization anomalies. For AI services, it separates direct service/resource billing attribution from indirect meter-to-model interpretation and allows usage correlation when matching metrics are available.

Using it

Requirements

The primary workflow expects an assistant that can load the skill and access Azure Resource Manager MCP, including the required cost and Resource Graph operations. Authenticated access to the requested Azure scope is necessary. The error guidance names Cost Management Reader access for cost authorization failures; complete permission requirements for every supporting operation are not supplied.

Dimension discovery through list_dimensions requires the opt-in CostManagement toolset. AKS namespace allocation requires the cost-analysis add-on to be enabled. Supported assistant hosts, minimum client versions and MCP installation requirements are unknown.

Mechanism

The assistant first establishes scope, dates, currency and the requested breakdown. It calls query_costs with typed parameters for the period, metric, grouping, filtering and sorting. The server constructs the query payload, and returned rows must be interpreted using their accompanying column definitions.

Totals and grouping are requested from the tools instead of being reconstructed in a local shell or interpreter. Actual and amortized costs remain separate. Resource Graph investigations follow a generate, validate and execute sequence, and causal explanations require matching resources and time windows.

Setup

The supplied folder does not contain host installation commands or MCP server configuration steps. To use the documented approach, a compatible assistant would need SKILL.md and its relative reference files, authenticated Azure tool access, and a confirmed target scope, period, currency and reporting goal. The exact installation procedure is unknown.

For AKS, the instructions first inspect whether cost analysis is enabled. Enabling it requires an approved configuration change; a Free-to-Standard tier change also requires explicit approval because it introduces an ongoing management fee. No enablement or tier change was performed.

Example

An illustrative request is: Show the ten most expensive resources in my subscription for the last full month. The documented parameter contract supports scope=/subscriptions/{subscriptionId}, timeframe=TheLastMonth, granularity=None, groupBy=ResourceId, metric=Cost, sortDirection=desc and top=10. The subscription identifier is a placeholder.

The intended output is a resource ranking with the returned costs, currency and reporting period. Ten ranking rows do not establish total subscription spending. This example was not executed, and no measured costs or query results are available.

Assessment & evidence

Limitations

The documented query_costs interface has a rolling 92-day lookback, at most five grouping dimensions, one exact-match filter dimension, a default of 100 rows and a maximum of 5000. It has no continuation input. Tag grouping and filtering are unsupported, while resource and meter dimensions require subscription or resource-group scope. Upstream agreement rules can impose further restrictions.

AKS cost queries accept subscription scope only and support daily or monthly allocation, without hourly cost attribution. Reservation and Savings Plan charges or benefits cannot be separated by namespace through that tool. Missing add-on data or absent rows do not establish zero spending.

The described Cost Management dimensions do not natively expose AI deployments, projects, requests or input/output tokens. Shared charges cannot be assigned to a deployment without supported allocation evidence. Token-based unit costs require usage and billing evidence with matching scope, timing and completeness.

Reasoning

On the documented design, separating billing evidence, operational measurements and inferred causes should make explanations easier to audit. The instructions explicitly treat a resource change near a spending spike as a candidate cause and reserve high confidence for aligned cost, resource, meter and change evidence.

The AKS anomaly workflow also distinguishes native anomaly insights from candidate anomalies based on comparable weekdays. Current Kubernetes metrics can show that a condition persists, but cannot prove a historical cause. These are useful safeguards in the instructions; their consistent application by an assistant has not been assessed.

Alternatives

For Kubernetes cost viewing, the source names the Azure portal's Cost Management, Cost Analysis, Kubernetes view. When a required MCP operation is unavailable, it documents authenticated Azure CLI, Azure PowerShell or REST access to the relevant Azure API. These alternate access paths have not been evaluated.

The references route future-spend questions to cost-estimation, remediation and commitment questions to cost-optimization, and budget creation to cost-governance. They also name Azure Kubernetes workflows for operational changes. Those sibling resources are outside the supplied folder, so their availability and implementation are unknown.

Evidence

The supplied source covers SKILL.md and all twelve reference documents in the cost-analysis folder, together with the plugin-level and repository-level MIT notices. It includes workflows, query contracts, examples, error handling and safety guidance.

These files establish documented intent and constraints. They contain no live Azure responses, execution logs, benchmark results or demonstrated savings. The MCP server implementation and sibling skills are outside the supplied scope, so implementation conformance and operational outcomes remain unverified.

Access & freshness

Costs

The source does not establish assistant-provider charges, MCP hosting prices or a total operating cost. Those costs are unknown. It provides no measured savings or return-on-investment results.

The AKS enablement reference states that upgrading a cluster from Free to Standard introduces an ongoing cluster management fee, but supplies no amount. It calls for an official retail-price estimate and distinguishes that estimate from the customer's negotiated price.

Rights

SKILL.md declares MIT licensing. Both the plugin-level and repository-level notices grant permission to use, copy, modify, publish, distribute, sublicense and sell the software and associated documentation, subject to retaining the copyright and permission notice in copies or substantial portions.

The notices disclaim warranties and liability. Azure service terms and any separate assistant or MCP provider terms are not supplied by these files.

Freshness

The source snapshot was captured on 16 November 2026 at 13:41 UTC, pinned to commit f03ec5392f7a0f3aca12af47477e92f1edf7b44c. SKILL.md declares version 1.1.2. Current repository state, release history and compatibility with current Azure tools are unknown.

The 92-day limit and typed query parameters describe the contract documented at that revision. Later changes have not been assessed. Pinned entry file: [https://raw.githubusercontent.com/microsoft/skills/f03ec5392f7a0f3aca12af47477e92f1edf7b44c/.github/plugins/azure-cost/skills/cost-analysis/SKILL.md].

Actions

Start with one historical billing question and a narrow Azure scope. Confirm tool availability, permissions, dates, currency and whether actual or amortized cost answers the question. Request bounded totals or rankings and retain any limits on coverage.

For AKS, check add-on availability before promising namespace allocation. For AI charges, agree whether resource-level billing is sufficient or additional usage attribution is essential. Keep any enablement, tier change, purchase or remediation subject to the explicit approval requirements documented by the resource.

Evidence for this report

.github/plugins/azure-cost/LICENSEnotice · checked 2026-11-16
LICENSEnotice · checked 2026-11-16