Cost Governance skill for Claude
Govern Azure costs with budgets, alerts, tags, and policy restrictions. WHEN: \"Azure budget health\", \"configured budget overrun\", \"list Azure budgets\", \"create Azure budget\", \"budget alerts\", \"budget coverage\", \"missing CostCenter tags\", \"allowed VM SKUs\", \"allowed Azure regions\", \"would this SKU be denied\", \"cost guardrails\". DO NOT
When Claude uses it
USE FOR: planning-target forecasts, bill investigations, pricing, rightsizing, or commitments.
Cost Governance SKILL.md
The full skill file from microsoft/skills (MIT).
Cost Governance
Quick Reference
| Intent | Workflow | Primary tools |
|---|---|---|
| Check budget status | Budget health | list_budgets, forecast_costs, query_costs, list_alerts |
| Configure a budget | Budget setup | Cost tools, create_budget |
| Review guardrails | Guardrails | Resource Graph, list_budgets |
When to Use This Skill
Use for budgets, alerts, tags, and policy.
MCP Tools
Use cost tools for budgets; Resource Graph for guardrails. Writes need confirmed scope, amount, thresholds, and recipients. Fallback: API mappings.
Workflow
- Confirm scope and load the matching workflow.
- Never transform MCP results in a shell or interpreter; request tool-side filtering or bounded follow-up queries.
- Distinguish access failures from empty results.
- Report gaps without implying budgets cap spend.
Error Handling
| Error | Action |
|---|---|
| Access denied | Name missing permission. |
| No budget or forecast | Report unavailable data, not zero. |
| Multiple currencies | Never sum or compare across currencies. |
| Write conflict | Preserve the budget. |
| Server error | Retry once; then stop with the trace ID. |
How to install Cost Governance
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit microsoft/skills/.github/plugins/azure-cost/skills/cost-governance#main ~/.claude/skills/cost-governanceCodex
npx degit microsoft/skills/.github/plugins/azure-cost/skills/cost-governance#main ~/.codex/skills/cost-governanceClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What does the Cost Governance skill do?
Govern Azure costs with budgets, alerts, tags, and policy restrictions. WHEN: \"Azure budget health\", \"configured budget overrun\", \"list Azure budgets\", \"create Azure budget\", \"budget alerts\", \"budget coverage\", \"missing CostCenter tags\", \"allowed VM SKUs\", \"allowed Azure regions\", \"would this SKU be denied\", \"cost guardrails\". DO NOT USE FOR: planning-target forecasts, bill investigations, pricing, rightsizing, or commitments.
+How do I install Cost Governance in Claude Code?
Copy the skill folder into ~/.claude/skills/cost-governance, for example with "npx degit microsoft/skills/.github/plugins/azure-cost/skills/cost-governance#main ~/.claude/skills/cost-governance". Claude Code loads it automatically and uses it when a task matches.
+Does Cost Governance work with ChatGPT or Codex?
Yes. Cost Governance uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/cost-governance. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Cost Governance free?
Cost Governance is published on GitHub by microsoft under the MIT license, which allows free use.