3.1k microsoft

cost-estimation Skill

预测 Azure 支出,并为计划中的资源或工作负载定价。适用场景:"预测 Azure 支出"、"预估下月成本"、"对比预测与我的规划目标"、"Azure 会花多少钱"、"估算 VM 成本"、"对比存储层级"、"对比 Azure 区域"、"零售价"、"EA 费率卡"、"协商价目表"。不适用于:已配置预算的健康状况或警报、账单分析、成本激增、资源规格调整或承诺消费。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(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

  1. Distinguish forecasts from hypothetical pricing.
  2. Confirm scope, assumptions, period, region, OS, and currency.
  3. Load the matching workflow and label every value type.
  4. 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. |