Azure 成本估算与预测
cost-estimation
预测 Azure 支出,并为计划中的资源或工作负载定价。触发时机:“预测 Azure 支出”“推算下个月成本”“将预测与我的规划目标对比”“Azure 会花多少钱”“估算 VM 成本”“比较存储层级”“比较 Azure 区域”“零售价格”“EA 费率卡(rate card)”“协商价格表(negotiated pricesheet)”。不要用于:已配置预算的健康状况或告警、账单分析、成本突增、规格调整(rightsizing)或承诺(commitments)。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 267
01 前言 Front Matter
- name
- cost-estimation
- license
- MIT
- metadata
- { "author": "Microsoft", "version": "1.1.1" }
- description
- Forecast Azure spend and price planned resources or workloads. WHEN: "forecast Azure spending", "project next month cost", "compare forecast to my planning target", "how much will Azure cost", "estimate VM cost", "compare storage tiers", "compare Azure regions", "retail price", "EA rate card", "negotiated pricesheet". DO NOT USE FOR: configured budget health or alerts, bill analysis, cost spikes, rightsizing, or commitments.
02 资源文件 15
- 参考文档references/10_purpose-why.md1.2 KB
- 参考文档references/20_positioning.md1.4 KB
- 参考文档references/30_audience-niche.md1.5 KB
- 参考文档references/40_personality-archetype.md1.9 KB
- 参考文档references/50_voice-tone.md1.7 KB
- 参考文档references/60_narrative-story.md1.5 KB
- 参考文档references/70_founder-tension.md1.5 KB
- 参考文档references/90_SYNTHESIS.md3.0 KB
- 参考文档references/cost-forecast/error-handling.md1.3 KB
- 参考文档references/cost-forecast/examples.md772 B
- 参考文档references/cost-forecast/guardrails.md884 B
- 参考文档references/cost-forecast/request-body-schema.md1018 B
- 参考文档references/cost-forecast/workflow.md1.9 KB
- 参考文档references/pricing-estimate.md2.0 KB
- 参考文档references/tool-fallback.md1.1 KB
03 SKILL.md 正文
Azure Cost Estimation
Quick Reference
| Intent | Workflow | Primary tools |
|---|---|---|
| Forecast existing spend | Cost forecast | forecast_costs |
| Price planned resources | Pricing estimate | Pricing tools |
When to Use This Skill
Use for forecasts, pricing, and planning targets.
MCP Tools
| Tool | Use |
|---|---|
forecast_costs |
Forecast a scope. |
get_retail_prices |
Get public prices. |
start_pricesheet_download, get_pricesheet_status |
Get Enterprise Agreement (EA) or Microsoft Customer Agreement (MCA) prices. |
Fallback: API mappings.
Workflow
- Distinguish forecasts from hypothetical pricing.
- Confirm scope, assumptions, period, region, OS, and currency.
- Load the matching workflow and label every value type.
- Never transform MCP results in a shell or interpreter; request tool-side filtering or bounded follow-up queries.
Error Handling
| Error | Action |
|---|---|
| Ambiguous meter | Ask for OS, term, tier, or usage. |
| Forecast unavailable | Explain the history requirement. |
| Pricesheet pending | Honor the returned polling interval. |
| Multiple currencies | Never combine currencies. |
| Server error | Retry once; then report the trace ID. |
04 同仓库更多 Skills
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.
Python应用Azure App Service部署
python-appservice-deploy
将Python(Flask/Django/FastAPI)代码部署到Azure App Service Linux。适用场景:"Flask App Service"、"Django App Service"、"FastAPI App Service"、"将Python部署到App Service"。不适用于:Container Apps、Functions、非Python、Terraform/Bicep/IaC、完整基础设施——请使用 azure-prepare。
Azure OpenAI模型最佳区域部署
preset
通过分析所有可用区域的容量,智能地将Azure OpenAI模型部署到最佳区域。自动先检查当前区域,并在必要时显示备选方案。适用于:快速部署、最佳区域、最优区域、自动区域选择、快速设置、多区域容量检查、高可用部署、部署到最佳位置。不适用于:自定义SKU选择(请使用 customize)、特定版本选择(请使用 customize)、自定义容量配置(请使用 customize)、PTU部署(请使用 customize)。
Azure OpenAI模型自定义部署
customize
Azure OpenAI模型的交互式引导部署流程,提供完全自定义控制。逐步选择模型版本、SKU(GlobalStandard/Standard/ProvisionedManaged)、容量、RAI策略(内容过滤器)以及高级选项(动态配额、优先处理、溢出)。适用于:自定义部署、自定义模型部署、选择版本、选择SKU、设置容量、配置内容过滤器、RAI策略、部署选项、详细部署、高级部署、PTU部署、预置吞吐量。不适用于:快速部署到最佳区域(请使用 preset)。
Azure OpenAI容量查询
capacity
发现跨区域和项目的可用 Azure OpenAI 模型容量。分析配额限制、比较可用性,并根据容量需求推荐最佳部署位置。USE FOR:查找容量、检查配额、可以在哪里部署、容量发现、容量最佳区域、多项目容量搜索、配额分析、模型可用性、区域比较、检查 TPM 可用性。DO NOT USE FOR:实际部署(发现后转交给预设或自定义技能)、配额提升请求(引导用户前往 Azure 门户)、列出现有部署。
Azure OpenAI模型部署
deploy-model
统一的 Azure OpenAI 模型部署技能,具备基于意图的智能路由。处理快速预设部署、完全自定义部署(版本/SKU/容量/RAI 策略)以及跨区域和项目的容量发现。USE FOR:部署模型、部署 gpt、创建部署、模型部署、部署 openai 模型、设置模型、配置模型、查找容量、检查模型可用性、可以在哪里部署、模型最佳区域、容量分析。DO NOT USE FOR:列出现有部署(使用 foundry_models_deployments_list MCP 工具)、删除部署、创建智能体(使用 agent/create)、创建项目(使用 project/create)。