3.2k microsoft

aks-cost-optimization Skill

分析 AKS 高级成本效率。适用场景:"AKS NAP 就绪度"、"AKS bin packing"、"AKS 节点扩缩容瓶颈"、"AKS 缩容受阻"、"AKS 存储成本"。不要直接用于:整体 AKS 成本评估或 rightsizing/VPA/CAS/Spot(azure-kubernetes);支出/异常/承诺用量(cost-analysis/cost-optimization);故障排查(aks-troubleshooting)。

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

查看源码

技能指令原文(SKILL.md)

AKS Cost Optimization

When to Use This Skill

Use for advanced existing-cluster analysis requiring scheduling, placement, or
verified storage mapping. Route overall AKS cost assessments to
azure-kubernetes, spend/anomalies to cost-analysis, commitments to
cost-optimization, and incidents to aks-troubleshooting when those skills are available. When called from an overall assessment, return findings for its ranked report.

MCP Tools

Prefer fitting Azure MCP reads. Never invent tools or use az/kubectl
without approved shell access and a target-bound context.

Workflow/Steps

  1. Bind the subscription, cluster, resource group, and kube context.
  2. Route to NAP readiness,

bin-packing,
node-scaling bottlenecks, or
storage optimization.

  1. When invoked for AKS commitment context, use the

commitment-demand handoff
and return demand evidence without benefit analysis or a transaction.

  1. Keep reads non-mutating; require approval for every change.

Error Handling

  • Missing capability: analyze supplied evidence or provide a collection plan;

mark dependent cost or commitment results unavailable.

  • Evidence conflict: mark the conclusion unconfirmed.