Skip to main content
skill CX Codex

aks-cost-optimization — Claude Code skill: features and install

aks-cost-optimization is a Claude Code skill for analyzing AKS cluster costs, including pod placement, node scaling and storage. It activates for NAP readiness, bin packing and blocked scale-down investigations.

MIT ★ 3,232 updated 2026-11-18

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add microsoft/skills
/plugin install aks-skills@skills
Open on GitHub

What aks-cost-optimization does

The skill examines cost efficiency in an existing AKS cluster when scheduling, placement or verified storage mapping is involved. It routes the analysis to NAP readiness, bin packing, node scaling bottlenecks or storage optimization. For commitment questions, it hands back demand evidence without evaluating benefits or carrying out a transaction.

First, bind the subscription, cluster, resource group and kube context. The skill prefers suitable Azure MCP reads. It uses az or kubectl only with approved shell access and a context bound to the target cluster. Reads do not modify cluster state; every change requires approval.

If a required capability is missing, the skill can analyze supplied evidence or give a collection plan, while marking dependent results unavailable. Conflicting evidence leaves the conclusion unconfirmed. Route overall AKS cost assessments, spend and anomalies, commitments, and incidents to their respective skills.

What it helps with

  • check AKS readiness for NAP
  • find bin-packing problems
  • investigate blocked node scale-down
  • map AKS storage to its costs
  • collect demand evidence for commitments and reservations

Example prompts for the agent

  • Check whether our AKS cluster is ready for NAP.
  • Find bin-packing issues and node-scaling bottlenecks in AKS.
  • Analyze AKS storage costs and gather demand evidence for reservations.

How to install aks-cost-optimization

1Plugin marketplace

/plugin marketplace add microsoft/skills
/plugin install aks-skills@skills

This installs the whole aks-skills plugin with all its skills

2Skills CLI (Vercel)

npx skills add microsoft/skills --skill aks-cost-optimization -a claude-code

3Manually: put the files in place

~/.claude/skills/aks-cost-optimization/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/aks-cost-optimization/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about aks-cost-optimization

How do I install aks-cost-optimization in Claude Code?

Add the marketplace with /plugin marketplace add microsoft/skills, then install the skill with /plugin install aks-skills@skills.

What does aks-cost-optimization do?

It analyzes pod scheduling and placement, node scaling bottlenecks, and storage costs in an existing AKS cluster. Reads are non-mutating, and changes require approval.

What does aks-cost-optimization need to run?

Bind the subscription, cluster, resource group and kube context. The skill prefers suitable Azure MCP tools; az and kubectl require approved shell access and a context bound to the target cluster.

Source text

SKILL.md · MIT
---
name: aks-cost-optimization
license: MIT
metadata:
  author: Microsoft
  version: "1.0.10"
description: "Analyze advanced AKS cost efficiency. WHEN: \"AKS NAP readiness\", \"AKS bin packing\", \"AKS node scaling bottleneck\", \"AKS blocked scale-down\", \"AKS storage cost\". DO NOT USE AS DIRECT ENTRY FOR: overall AKS cost assessments or rightsizing/VPA/CAS/Spot (azure-kubernetes); spend/anomalies/commitments (cost-analysis/cost-optimization); incidents (aks-troubleshooting)."
---

# 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](references/aks-nap.md),
   [bin-packing](references/aks-bin-packing.md),
   [node-scaling bottlenecks](references/node-scaling-bottlenecks.md), or
   [storage optimization](references/aks-storage-optimization.md).
3. When invoked for AKS commitment context, use the
   [commitment-demand handoff](references/aks-savings-plans-reservations.md)
   and return demand evidence without benefit analysis or a transaction.
4. 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.

© Microsoft · MIT · microsoft/skills

Similar skills

All skills for DevOps and infrastructure →

From the same set250

The whole set →
assess-observability-health assess-observability-health is a Claude Code skill that evaluates operational health for Azure resources and Foundry agents. Runs during incident diagnostics, error spikes, and API latency issues. CX Codex +1 ★ 3,232repo stars azure-observability azure-observability is a Claude Code hook for troubleshooting Azure web/API issues and Foundry agents, then checking recovery against evidence. It runs at session start and after tool use. ★ 3,232repo stars azure-observability azure-observability is a Claude Code plugin that guides incident investigation for Azure apps and Foundry agents. It structures troubleshooting from initial symptom analysis to fix validation. ★ 3,232repo stars azure-advisor-cost-optimization azure-advisor-cost-optimization is a Claude Code skill that reviews Azure Advisor findings for idle resources and checks deletion safety. It activates for requests about unused Azure resources and their potential savings. CX Codex +1 ★ 3,232repo stars azure The azure hook for Claude Code runs a telemetry script at session start and after a tool is used. It passes the script the claude-code label. ★ 3,232repo stars ui-widget-developer ui-widget-developer is a Claude Code skill for building MCP servers and interactive widgets for Copilot Chat, including new servers and widgets added to existing ones. CX Codex +1 ★ 3,232repo stars slack-to-teams slack-to-teams reads an existing Slack bot and walks you through porting it to Teams or building for both platforms at once. Useful once the bot works and has to go wider. CX Codex +1 ★ 3,232repo stars teams-app-developer teams-app-developer is a Claude Code skill that scaffolds, tests, and deploys Microsoft 365 agents and Teams apps with the ATK CLI. It also supports local debugging in Agents Playground and Slack migrations. CX Codex +1 ★ 3,232repo stars

Project sponsors

Companies that keep this analytics open