Skills
Skill 4 of 47
Optimize existing Azure resources and analyze Reservations or Savings Plans.
1 minute · 144 words · 6 sections
Install
npx skills add microsoft/azure-skills --skill cost-optimizationnpx skills add microsoft/azure-skills/plugin marketplace add microsoft/azure-skillsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
| Intent | Workflow | Primary tools |
|---|---|---|
| Reduce waste or rightsize | Optimization (opens in a new tab) | Cost and Resource Graph tools |
| Review commitments | Commitments (opens in a new tab) | list_benefit_utilization, list_reservation_transactions, get_benefit_recommendations |
Use for waste, rightsizing, and commitments.
Use cost and Resource Graph tools for optimization and benefit tools for commitments. Validate queries. Fallback: API mappings (opens in a new tab).
| Error | Action |
|---|---|
| Access denied | Name the scope and permission. |
| Multiple currencies | Group and report each currency separately. |
| Missing evidence | State the gap; do not invent values. |
| Server error | Retry once; then report the trace ID. |
Optimize existing Azure resources and analyze Reservations or Savings Plans. WHEN: "optimize Azure costs", "reduce cloud spending", "rightsize resources", "find idle resources", "orphaned disk", "deleted VM still charged", "public IP still charging", "reservation utilization", "Savings Plan coverage", "commitment recommendation", "why is pay-as-you-go still charged". DO NOT USE FOR: cost spikes, forecasts, pricing estimates, budgets, or governance.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
.github/plugins/azure-cost/skills/cost-optimization/SKILL.mdmain, last pushed 23 September 2026.SKILL.md, not by matching a directory convention. 10 distinct layouts observed: .github/plugins/azure-cost/skills/*/SKILL.md, .github/plugins/azure-kusto-graph-skills/skills/*/SKILL.md, .github/plugins/azure-local-skills/skills/*/SKILL.md, .github/plugins/foundry-iq-skills/skills/*/SKILL.md, 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 5 plugins. It is read for editorial metadata only — never as the skill index, which is always the repository tree./microsoft/azure-skills.md, and each skill at its own .md URL.8 files · 19 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of skill 4.
Documentation the agent loads on demand, rather than up front.