Skills
Chapter 13 of 37
Azure cost management: query costs, forecast spending, optimize to reduce waste.
1 minute · 60 words · 6 sections
Query historical costs, forecast future spending, optimize to reduce waste.
| User Intent | Workflow |
|---|---|
| Understand current costs | Cost Query (opens in a new tab) |
| Reduce costs / find waste | Cost Optimization (opens in a new tab) |
| Project future costs | Cost Forecast (opens in a new tab) |
| Property | Value |
|---|---|
| Query API | POST {scope}/providers/Microsoft.CostManagement/query?api-version=2023-11-01 |
| Forecast API | POST {scope}/providers/Microsoft.CostManagement/forecast?api-version=2023-11-01 |
| Required Role | Cost Management Reader + Monitoring Reader + Reader (on target scope) |
/subscriptions/<id>/subscriptions/<id>/resourceGroups/<name>/providers/Microsoft.Management/managementGroups/<id>/providers/Microsoft.Billing/billingAccounts/<id>Install this repository
npx skills add microsoft/azure-skills/plugin marketplace add microsoft/azure-skillsSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
Azure cost management: query costs, forecast spending, optimize to reduce waste. WHEN: "Azure costs", "Azure bill", "cost breakdown", "how much am I spending", "forecast spending", "optimize costs", "reduce spending", "orphaned resources", "rightsize VMs", "cost spike", "reduce storage costs", "AKS cost". DO NOT USE FOR: deploying resources, provisioning, diagnostics, or security audits.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
skills/azure-cost/SKILL.mdmain, last pushed 10 August 2026.SKILL.md, not by matching a directory convention. 6 distinct layouts observed: skills/*/SKILL.md, skills/azure-app-onboard/*/SKILL.md, skills/azure-kubernetes/*/SKILL.md, skills/microsoft-foundry/*/SKILL.md, skills/microsoft-foundry/models/deploy-model/*/SKILL.md, skills/microsoft-foundry/models/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Microsoft, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./microsoft/azure-skills.md, and each chapter at its own .md URL.22 files · 93 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of chapter 13.
Documentation the agent loads on demand, rather than up front.
Everything else published alongside the skill.
cost-forecast/5 files · 21 KB
cost-optimization/7 files · 24 KBcost-optimization/sdk/1 file · 1 KB
cost-optimization/services/redis/1 file · 3 KB
cost-optimization/services/storage/1 file · 8 KB
cost-query/6 files · 33 KB