微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🧩

云成本优化

cost-optimization · v
作者 wshobson 公开目录收录

简介

通过资源规格调整、标签策略、预留实例与支出分析,优化 AWS、Azure、GCP 和 OCI 的云成本。

原始描述

Optimize cloud costs across AWS, Azure, GCP, and OCI through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses, analyzing infrastructure costs, or implementing cost governance policies.

通过你的 Agent 添加

安装目录:cost-optimization/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/cost-optimization/
Codex CLI~/.codex/skills/cost-optimization/
DeepSeek Harness~/.agents/skills/cost-optimization/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: cost-optimization description: "Optimize existing Azure resources and analyze Reservations or Savings Plans. WHEN: "optimize Azure costs", "reduce cloud spending", "rightsize resources", "find idle resources", "orphaned disk", "deleted VM still charged", "public IP still charging", "reservation utilization", "Savings Plan coverage", "commitment recommendation", "why is pay-as-you-go still charged". DO NOT USE FOR: cost spikes, forecasts, pricing estimates, budgets, or governance." license: MIT metadata: author: Microsoft version: "1.0.2"

Azure Cost Optimization

Quick Reference

Intent Workflow Primary tools
Reduce waste or rightsize Optimization Cost and Resource Graph tools
Review commitments Commitments list_benefit_utilization, list_reservation_transactions, get_benefit_recommendations

When to Use This Skill

Use for waste, rightsizing, and commitments.

MCP Tools

Use cost and Resource Graph tools for optimization and benefit tools for commitments. Validate queries. Fallback: API mappings.

Workflow

  1. Confirm scope, period, currency, and commitment intent.
  2. Load only the matching workflow above.
  3. Never transform MCP results in a shell or interpreter; request validated server-side projection, aggregation, or bounded follow-up queries.
  4. Separate measured cost, reported savings, and qualitative opportunities.
  5. Recommend changes only; do not delete, resize, purchase, or deploy resources.

Error Handling

Error Action
Access denied Name the scope and permission.
Multiple currencies Group and report each currency separately.
Missing evidence State the gap; do not invent values.
Server error Retry once; then report the trace ID.

正文来自原始仓库, 版权归作者所有,许可:MIT。 权利人认为有不妥,可申请下架。

原始仓库

作者的项目地址:https://github.com/microsoft/azure-skills

标签

没有标签

同类 Skill