AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

cost-analysis

Analyze actual Azure spend, bill changes, and AKS or AI costs. WHEN: "Azure cost breakdown", "most expensive resources", "why did my bill increase", "cost spike", "unexpected charge", "Cosmos DB charges", "Foundry model costs", "AKS cluster cost", "namespace cost", "enable AKS cost analysis", "idle AKS capacity". DO NOT USE FOR: forecasts, pricing estimates, rightsizing, commitments, or budgets.

Original source
microsoft
License
MIT
Pinned revision
3f5b461b2314e01c400564051e92469114c5b68f

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read microsoft--cost-analysis at revision 3f5b461b2314e01c400564051e92469114c5b68f, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 13

references/aks-enablement.md

Azure Kubernetes Service (AKS) Cost Analysis Enablement

Enable namespace-level cost visibility using the built-in AKS cost monitoring add-on.

Check Status

Use generate_query, validate_query, then execute_query against AKS managed clusters. Project the cluster name, resource group, SKU tier, and properties.metricsProfile.costAnalysis.enabled. Follow any skipToken.

Enable Add-on

If ARM MCP does not expose AKS cost-analysis enablement, identify the AKS Managed Clusters API operation and follow the fallback guidance. Show the proposed change and require explicit approval before using Azure CLI, Azure PowerShell, or REST. The Azure portal's Kubernetes Cost Analysis view or the azure-kubernetes skill are also valid handoffs. Do not claim the add-on was enabled without a successful response.

If Cluster is Free Tier

Warn that upgrading from Free to Standard introduces an ongoing cluster management fee. Use get_retail_prices to estimate the fee and label it as public retail pricing, not the customer's negotiated price. Obtain explicit approval before handing off the tier change.

After Enabling

Namespace-level cost data is available in:

  • Azure Portal: Cost Management -> Cost Analysis -> Kubernetes view
  • ARM MCP: query_aks_costs grouped by Cluster and Namespace

Risk: Low for enabling the add-on. Upgrading tier (Free -> Standard) has a cost — always confirm with user first.