cost-governance

cost-governance is a skill for Claude Code from microsoft/azure-skills. It costs 99 tokens per session (431 once invoked), scanned A, a copy of cost-governance, MIT.

An Azure cost-governance skill for budgets, alerts, resource tags, and policy restrictions.

In plain words
What is it for?
Use it to review or configure budgets, inspect alerts, find missing Cost Center tags, and check allowed virtual-machine types or regions.
Why use it?
It helps teams monitor budget status and check whether resources follow spending and deployment rules; a budget does not itself cap spending.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the azure-cost plugin — 4 skills, 1 MCP server shipped together

Good fit Use it to review or configure budgets, inspect alerts, find missing Cost Center tags, and check allowed virtual-machine types or regions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/azure-skills/cost-governance
About the project

Azure Skills Plugin is an agent plugin that packages Azure-specific guidance with MCP server configurations for carrying out Azure work. Coding agents use it to plan, deploy, troubleshoot, monitor, govern, and optimize Azure applications and services. The catalogue entries are the plugin's skills, instructions, and execution integrations.

microsoft/azure-skills · 1,503 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add microsoft/azure-skills --skill cost-governance
Clone the repo
git clone --depth 1 https://github.com/microsoft/azure-skills

Made for: Claude Code.

Or install azure-cost, the plugin that ships this one along with the rest of its 4 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cost-governance

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/azure-skills/cost-governance/github.svg)](https://agentmods.dev/skills/microsoft/azure-skills/cost-governance)
Your own site
<a href="https://agentmods.dev/skills/microsoft/azure-skills/cost-governance"><img src="https://agentmods.dev/badge/skills/microsoft/azure-skills/cost-governance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cost-governance

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/azure-skills/cost-governance"><img src="https://agentmods.dev/badge/skills/microsoft/azure-skills/cost-governance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 431 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.00431
Opus 5.5 $0.00040 $0.00172
Sonnet 5 $0.00020 $0.00086
Haiku 4.5 $0.00010 $0.00043

Measured 3d ago against content hash 4241add12fef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-26, from the pricing page.

Security

Grade A, and why

cost-governance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to cost-governance — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/plugins/azure-cost/skills/cost-governance/SKILL.md · 47 lines

What it actually says

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

  1. Confirm scope and load the matching workflow.
  2. Never transform MCP results in a shell or interpreter; request tool-side filtering or bounded follow-up queries.
  3. Distinguish access failures from empty results.
  4. 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.
Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 47 lines · 99 tokens per session scan A 4241add12fef

Subscribe to this mod's changes

cost-governance is a skill published in the GitHub repository microsoft/azure-skills (1,503 stars, last pushed 2d ago), licensed MIT. It adds 99 tokens to every session and 431 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to cost-governance, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

aws-cost-cleanup

Automated cleanup of unused AWS resources to reduce costs.

sickn33/agentic-awesome-skills · 15 tokens

aws-cost-operations

AWS cost optimization, monitoring, and operational excellence expert. Use when analyzing AWS bills, estimating costs, setting up CloudWatch alarms, querying logs, auditing CloudTrail activity, or assessing security posture.

sickn33/agentic-awesome-skills · 44 tokens

azure-compute

Azure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, lightweight server, website, backend, GPU, machine learning, HPC simulation, dev/test, workload, family, load balancer, Flexible orchestration, Uniform orchestration, cost…

microsoft/skills · 154 tokens

azure-cost

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…

microsoft/skills · 94 tokens

cost-estimation

Forecast Azure spend and price planned resources or workloads. WHEN: "forecast Azure spending", "project next month cost", "compare forecast to my planning target", "how much will Azure cost", "estimate VM cost", "compare storage tiers", "compare Azure regions", "retail price", "EA rate card", "negotiated pricesheet".…

microsoft/skills · 97 tokens

cost-governance

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…

microsoft/skills · 99 tokens