Index of every page on this site: llms.txt
All skills
microsoft avatar

/cost-governance

@147c081 official
Run it yourself

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.

  • 6 files
  • 9.4 KB
  • MIT
  • Updated 2 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/microsoft/github-copilot-for-azure/cost-governance

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesguardrails.md

≈468 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Cost Guardrails

Resolve Effective Scope

  1. Resolve the hierarchy from management group through subscription and resource group. Include inherited policy assignments and identify the assignment scope, excluded scopes, exemptions, initiative, definition, parameters, and enforcementMode.
  2. Use generate_query, validate_query, then execute_query for assignments and resource inventory. Use the Azure Policy API fallback when Resource Graph does not expose exemptions, compliance state, or definition details.
  3. Report Default assignments as enforced only when the resource is in scope and not exempt. Report DoNotEnforce as audit-only. Distinguish deny, audit, modify, append, and deploy effects rather than claiming every assignment blocks deployment.

Evaluate Coverage

  1. For SKU and location controls, resolve the effective allowed or denied values after assignment parameters and exemptions. Mark a proposed resource as allowed, denied, audit-only, or unknown.
  2. Query inventory for the organization's exact cost-allocation tag keys. Confirm casing and accepted values. Separate a missing tag, invalid value, inherited tag, and policy remediation that has not completed.
  3. Call list_budgets at supported scopes. Build a coverage matrix showing which subscriptions or resource groups have enforced policy, compliant tags, and a budget. Do not treat a parent budget as a child budget unless its scope and filters actually cover that child.

Report

Present the effective assignment, source scope, inheritance, exclusions, exemptions, effect, parameters, compliance evidence, tag gaps, budget coverage, affected resources, confidence, and owner action.

An empty Resource Graph result may reflect permissions or scope visibility. State that uncertainty instead of claiming no guardrails exist.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 147c081. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 2 months ago
metadata
{
  "author": "Microsoft",
  "version": "0.0.0-placeholder"
}

README badge

README badge for microsoft/github-copilot-for-azure/cost-governance