About cost-governance
A skill for managing cloud cost governance, covering budgets, alerts, tags, and policy guardrails. It guides budget checks and setup while emphasizing confirmed scope and careful handling of currency and missing data.
Key features
- 01Budget status checks
- 02Budget configuration
- 03Guardrail reviews
- 04Scope confirmation for writes
- 05Currency and data-gap handling
Use cases
- 01Check budget health and forecasts
- 02Set up a budget with thresholds
- 03Review tags and policy guardrails
MCP support
Uses cost tools for budgets and Resource Graph for guardrail reviews. Writes require confirmed scope, amounts, thresholds, and recipients.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ microsoft/ azure-skills --skill cost-governanceAfter installing, type/cost-governancein Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/budget-health.mdbudget-setup.mdguardrails.mdtool-fallback.mdDetails
From the project READMECost 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. |
Comments
Markdown supported