AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

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 guardrails". DO NOT USE FOR: planning-target forecasts, bill investigations, pricing, rightsizing, or commitments.

Original source
microsoft
License
MIT
Pinned revision
3f5b461b2314e01c400564051e92469114c5b68f

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read microsoft--cost-governance at revision 3f5b461b2314e01c400564051e92469114c5b68f, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 5

references/guardrails.md

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.