AGENT SKILL

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.

License 许可
MIT
最近更新
2026-11-11
Stars
★ 262
Forks
225

01 前言 Front Matter

name
cost-governance
license
MIT
metadata
{ "author": "Microsoft", "version": "0.0.0-placeholder" }
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.

02 资源文件 5

03 SKILL.md 正文

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.

04 同仓库更多 Skills

microsoft
microsoft/GitHub-Copilot-for-Azure

azure-advisor-cost-optimization

Analyze Azure Advisor Cost/IdleResources findings and prevalidate deletion safety, including Service Groups. WHEN: "find unused Azure resources", "what resources am I paying for but no longer using", "idle-resource savings", "historical idle-resource savings", "are these idle resources safe to delete". Generic Cost, other subcategories, and cross-category requests use azure-advisor.

★ 262
microsoft
microsoft/GitHub-Copilot-for-Azure

foundry-iq

Foundry IQ knowledge bases. WHEN: make local or Blob documents searchable; create/diagnose KBs; triage unsupported connectors or multi-source KB creation/reconfiguration (even with classic-search terms); connect existing KB to agents (including multi-source KBs); create/reuse a Search service; retrieve from an existing knowledge base with citations; no brand words needed. Read its procedure before query/target questions. NOT: other KB providers, repository-file search, classic Azure AI Search index/query/app work with no Foundry IQ KB or connector request, generic agent creation.

Skill与智能体开发
★ 262
microsoft
microsoft/GitHub-Copilot-for-Azure

python-appservice-deploy

Deploy Python (Flask/Django/FastAPI) code to Azure App Service Linux. WHEN: "Flask App Service", "Django App Service", "FastAPI App Service", "deploy Python to App Service". DO NOT USE FOR: Container Apps, Functions, non-Python, Terraform/Bicep/IaC, full infra — use azure-prepare.

运维与部署
★ 262
microsoft
microsoft/GitHub-Copilot-for-Azure

preset

Intelligently deploys Azure OpenAI models to optimal regions by analyzing capacity across all available regions. Automatically checks current region first and shows alternatives if needed. USE FOR: quick deployment, optimal region, best region, automatic region selection, fast setup, multi-region capacity check, high availability deployment, deploy to best location. DO NOT USE FOR: custom SKU selection (use customize), specific version selection (use customize), custom capacity configuration (use customize), PTU deployments (use customize).

运维与部署Skill与智能体开发
★ 262
microsoft
microsoft/GitHub-Copilot-for-Azure

customize

Interactive guided deployment flow for Azure OpenAI models with full customization control. Step-by-step selection of model version, SKU (GlobalStandard/Standard/ProvisionedManaged), capacity, RAI policy (content filter), and advanced options (dynamic quota, priority processing, spillover). USE FOR: custom deployment, customize model deployment, choose version, select SKU, set capacity, configure content filter, RAI policy, deployment options, detailed deployment, advanced deployment, PTU deployment, provisioned throughput. DO NOT USE FOR: quick deployment to optimal region (use preset).

Skill与智能体开发
★ 262
microsoft
microsoft/GitHub-Copilot-for-Azure

capacity

Discovers available Azure OpenAI model capacity across regions and projects. Analyzes quota limits, compares availability, and recommends optimal deployment locations based on capacity requirements. USE FOR: find capacity, check quota, where can I deploy, capacity discovery, best region for capacity, multi-project capacity search, quota analysis, model availability, region comparison, check TPM availability. DO NOT USE FOR: actual deployment (hand off to preset or customize after discovery), quota increase requests (direct user to Azure Portal), listing existing deployments.

★ 262