Official agent skill

Cost Governance

by microsoft in microsoft/GitHub-Copilot-for-Azure

Govern Azure costs with budgets, alerts, tags, and policy restrictions.

OfficialMITAuto-check passedAI & LLM Engineering

Install Cost Governance

skills CLI
$ npx skills add microsoft/GitHub-Copilot-for-Azure --skill cost-governance -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/GitHub-Copilot-for-Azure cost-governance --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/GitHub-Copilot-for-Azure.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/azure-cost/skills/cost-governance .claude/skills/cost-governance && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cost-governance
GitHub stars
255
Token cost
~476 tokens
SKILL.md length
147 words
Files
6 (incl. references)
Skills in repo
61
Repo updated
First seen
Licence
MIT

At a glance

Govern Azure costs with budgets, alerts, tags, and policy restrictions.

  • Works in 4 steps: Confirm scope and load the matching… → Never transform MCP results in a shell… → Distinguish access failures from empty… → …
  • : planning-target forecasts
  • SKILL.md covers Quick Reference, When to Use This Skill, MCP Tools and Workflow, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Cost Governance is an agent skill from microsoft/GitHub-Copilot-for-Azure, published by the product's own GitHub organization. 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.

Its SKILL.md is about 480 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/budget-health.md`, `references/budget-setup.md` and `references/guardrails.md`).

It sits in AI & LLM Engineering, covering Cloud cost optimization and LLM guardrails. It works with Microsoft Azure. The repository describes itself as: GitHub Copilot for Azure. The licence is MIT.

When your agent uses it

  • : planning-target forecasts
  • Bill investigations

Example prompts

  • “Azure budget health”
  • “configured budget overrun”
  • “list Azure budgets”
  • “/cost-governance”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Confirm scope and load the matching workflow.
  2. Never transform MCP results in a shell or interpreter; request tool-side
  3. Distinguish access failures from empty results.
  4. Report gaps without implying budgets cap spend.

What it can do on your machine

Read from SKILL.md and the folder at commit ce94fce. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cost Governance loads about 476 tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 112 tokens; SKILL.md has 147 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~112
When it runs · the whole SKILL.md, loaded when a task matches
~476
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microsoft/GitHub-Copilot-for-Azure at commit ce94fce, republished under its MIT licence (© microsoft). 147 words, ~476 tokens.

Download SKILL.mdSave it as .claude/skills/cost-governance/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
cost-governance
description
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.
license
MIT
metadata.author
Microsoft
metadata.version
0.0.0-placeholder

Cost Governance

Quick Reference

IntentWorkflowPrimary tools
Check budget statusBudget healthlist_budgets, forecast_costs, query_costs, list_alerts
Configure a budgetBudget setupCost tools, create_budget
Review guardrailsGuardrailsResource 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

ErrorAction
Access deniedName missing permission.
No budget or forecastReport unavailable data, not zero.
Multiple currenciesNever sum or compare across currencies.
Write conflictPreserve the budget.
Server errorRetry once; then stop with the trace ID.

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in plugins/azure-cost/skills/cost-governance of microsoft/GitHub-Copilot-for-Azure.

  • SKILL.md
  • references/budget-health.md
  • references/budget-setup.md
  • references/guardrails.md
  • references/tool-fallback.md
  • version.json

Open the folder on GitHubat commit ce94fce

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in microsoft/GitHub-Copilot-for-Azure, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Cost Governance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cost Governance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cost Governance this skillmicrosoft/GitHub-Copilot-for-Azure255—~476Automated safety check: PassMIT
SkyPilot Multi-Cloud OrchestrationOrchestra-Research/AI-Research-SKILLs13k4 repos~2.4kAutomated safety check: PassMIT
Azure AI Contentsafety Pymicrosoft/skills3.1k5 repos~2.2kAutomated safety check: PassMIT
Hardening Cloud Posturetrilwu/secskills157—~1.9kAutomated safety check: PassMIT
Cloud Cost Optimizationwshobson/agents40k14 repos~1.7kAutomated safety check: PassMIT
Spotinfoalexei-led/spotinfo164—~1.8kAutomated safety check: PassApache-2.0

Similar skills

  • SkyPilot Multi-Cloud Orchestration

    Orchestra-Research/AI-Research-SKILLs

    Runs ML training and batch jobs across clouds with SkyPilot, using spot instances, automatic region selection and managed recovery to cut GPU cost.

    13k GitHub starsUsed in 4 repos~2.4k tokens
    DevOps & CloudAuto-check passed
  • Official

    Azure AI Content Safety SDK for Python. An agent skill from microsoft/skills.

    3.1k GitHub starsUsed in 5 repos~2.2k tokens
    DevOps & CloudAuto-check passed
  • Hardening Cloud Posture

    trilwu/secskills

    Proactively harden a cloud account or organization before an incident — prioritizing IAM and identity risk over checkbox findings, closing the exposures that become attack paths (public storage…

    157 GitHub stars~1.9k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Cuts cloud spend across AWS, Azure, GCP and OCI with cost tagging, rightsizing, commitment and spot pricing models, and architecture changes.

    40k GitHub starsUsed in 14 repos~1.7k tokens
    DevOps & CloudAuto-check passed
  • Spotinfo

    alexei-led/spotinfo

    Query Spot/preemptible VM prices, savings and interruption risk across AWS, GCP and Azure with the spotinfo CLI.

    164 GitHub stars~1.8k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • Frugal

    yuanboP/frugal

    Cloud cost awareness for agents. An agent skill from yuanboP/frugal.

    198 GitHub stars~2.1k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed

More from microsoft/GitHub-Copilot-for-Azure

All 61 skills in this repo
  • Capacity

    microsoft/GitHub-Copilot-for-Azure

    Official

    Discovers available Azure OpenAI model capacity across regions and projects.

    255 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Deploy Model

    microsoft/GitHub-Copilot-for-Azure

    Official

    Unified Azure OpenAI model deployment skill with intelligent intent-based routing.

    255 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Azure Storage

    microsoft/GitHub-Copilot-for-Azure

    Official

    Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake.

    255 GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check passed
  • Microsoft Foundry

    microsoft/GitHub-Copilot-for-Azure

    Official

    Build, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end.

    255 GitHub starsUsed in 1 repo~6.7k tokens
    Auto-check passed
  • Entra Agent Id

    microsoft/GitHub-Copilot-for-Azure

    Official

    Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant)…

    255 GitHub starsUsed in 2 repos~4k tokens
    Auto-check passed
  • Azure Kubernetes Automatic Readiness

    microsoft/GitHub-Copilot-for-Azure

    Official

    Assess Kubernetes workloads and cluster configuration for AKS Automatic compatibility.

    255 GitHub starsUsed in 1 repo~4.4k tokens
    Auto-check passed

Works with

Questions about Cost Governance

What does Cost Governance do?

Govern Azure costs with budgets, alerts, tags, and policy restrictions. Cost Governance is an agent skill from microsoft/GitHub-Copilot-for-Azure, published by the product's own GitHub organization. Govern Azure costs with budgets, alerts, tags, and policy restrictions.

When should I use Cost Governance?

Cost Governance fits situations like: : planning-target forecasts; bill investigations.

How do I install Cost Governance in Claude Code?

Run `npx skills add microsoft/GitHub-Copilot-for-Azure --skill cost-governance -a claude-code`. Or copy the skill folder (plugins/azure-cost/skills/cost-governance in microsoft/GitHub-Copilot-for-Azure) into .claude/skills/cost-governance in your project. Claude Code loads it when a task matches its description.

How do I install Cost Governance in Codex?

Run `npx skills add microsoft/GitHub-Copilot-for-Azure --skill cost-governance -a codex`. Or copy the skill folder (plugins/azure-cost/skills/cost-governance in microsoft/GitHub-Copilot-for-Azure) into .agents/skills/cost-governance in your project. Codex loads it when a task matches its description.

Can I use Cost Governance in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/GitHub-Copilot-for-Azure --skill cost-governance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cost-governance, .gemini/skills/cost-governance, .github/skills/cost-governance and .opencode/skills/cost-governance in your project.

What does Cost Governance need to run?

SKILL.md names no scripts, command-line tools or credentials: Cost Governance is instructions for the agent only.

Does Cost Governance access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cost Governance safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cost Governance use?

Cost Governance is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cost Governance use?

About 476 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.

What are the alternatives to Cost Governance?

Skills that share tags, products or a category with Cost Governance: SkyPilot Multi-Cloud Orchestration (Orchestra-Research/AI-Research-SKILLs, 13k stars), Azure AI Contentsafety Py (microsoft/skills, 3.1k stars), Hardening Cloud Posture (trilwu/secskills, 157 stars) and Cloud Cost Optimization (wshobson/agents, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cost Governance?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/GitHub-Copilot-for-Azure, which has 255 GitHub stars. The repository holds 61 skills in this directory. The repository was last updated on October 9, 2026.

Source: microsoft/GitHub-Copilot-for-Azure on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.