SkillLow riskUnclaimed

Azure 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.

microsoftmicrosoft/cost-analysis★ 3.1kUpdated Oct 6, 2026

Description

Quick Reference

Intent Workflow Primary tools
Query historical spend Cost query query_costs
Explain a spike Cost investigation query_costs, Resource Graph
Analyze AKS spend AKS cost analysis query_aks_costs, Resource Graph
Analyze AI service spend AI cost analysis query_costs

When to Use This Skill

Use for spend, anomalies, and AKS or AI allocation.

MCP Tools

Use cost tools and Resource Graph first. If an operation is unavailable, follow fallback and safety.

Workflow

  1. Confirm scope, period, currency, and breakdown.
  2. Load only the matching workflow above.
  3. Never transform MCP results in a shell or interpreter; request tool-side totals, grouping, sorting, or bounded follow-up queries.
  4. Respect row limits and label incomplete data.
  5. Separate measured cost from inferred causes and recommendations.

Error Handling

Error Action
Access denied Name the required scope and role.
Empty result Distinguish no data from unavailable data.
Multiple currencies Report each currency separately.
Server error Retry once; then stop with the trace ID.

Permissions

DeclaredDetected
Runs code—None
Installs—None
Runs install scripts—None
Network—None
Needs credentials—None
Outside the workspace—None
Agent tools—None

Checks

Low risk · Nothing worth a warning was found.

Not reviewed by a person · Checked by rules; the model review is not switched on yet.

Files13 files · 23.5 KB

  • SKILL.md1.9 KB
references/6
  • ai-cost-analysis.md2.1 KB
  • aks-anomaly.md1.4 KB
  • aks-cost-analysis.md1.5 KB
  • aks-enablement.md1.4 KB
  • cost-investigation.md3.2 KB
  • tools-and-safety.md2.2 KB
references/cost-query/6
  • dimensions-by-scope.md1.5 KB
  • error-handling.md1.5 KB
  • examples.md1.2 KB
  • guardrails.md1.7 KB
  • request-body-schema.md1.4 KB
  • workflow.md2.6 KB

Versions

  1. #11.1.1latestOct 7, 2026