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.

referencesbudget-setup.md

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

Budget Setup

Assess the Existing State

  1. Call list_budgets at the requested scope before proposing another budget. Surface an existing budget and ask whether the user wants another one. Flag a budget far below current spend as potentially stale rather than replacing it.
  2. Build a baseline with last-month query_costs and current-month forecast_costs, keeping currencies separate. Forecast output can contain Actual and Forecast rows for the same date; count the Actual row when present, otherwise count the Forecast row. Summarize the trend as growing, stable, or declining.

Shape the Proposal

  1. Ask whether this is a firm business limit or a tracking threshold and whether planned deployments, migrations, commitments, or seasonal peaks will change expected spend. Azure budgets only send alerts; they do not stop, throttle, or disable resources.
  2. Ground the amount in the baseline and stated business context. Never add a growth buffer silently. For a firm limit, use that limit and consider earlier thresholds. For planned changes, show the expected delta separately before adding it. If the user wants a growth buffer, show it separately.
  3. Prefer subscription scope for environment-level control or resource-group scope for a workload in a shared subscription. create_budget supports those scopes. For management-group or billing scopes, explain that this tool cannot create the budget and direct the user to a supported management experience.
  4. Recommend no more than five notifications. A useful starting model is 80% and 100% Actual plus 80% and 100% Forecasted, adjusted for the user's desired response time.

Confirm and Create

  1. Present the complete proposal and obtain explicit confirmation of scope, budget name, amount and currency, time period, thresholds, recipient emails, and optional action-group resource ID.
  2. Only after that confirmation, call create_budget. Put recipient emails inside every notification object; top-level contacts do not apply when custom notifications are supplied. Every notification must have a recipient.
  3. Never overwrite a budget with the same name. If a conflict exists, preserve it and ask whether to use a different name. Explain that changing the existing budget requires a separate supported update path; do not simulate an update by deleting it. Verify a successful creation with list_budgets and report the resulting configuration.

Never infer recipients, fabricate an action group, or claim creation before the verification call succeeds.

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