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
/plugin marketplace add microsoft/skills
/plugin install aks-skills@skillsWhat 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@skillsThis installs the whole aks-skills plugin with all its skills
2Skills CLI (Vercel)
npx skills add microsoft/skills --skill aks-cost-optimization -a claude-code3Manually: put the files in place
~/.claude/skills/aks-cost-optimization/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/aks-cost-optimization/
1Skills CLI (Vercel)
npx skills add microsoft/skills --skill aks-cost-optimization -a codex2Manually: put the files in place
.agents/skills/aks-cost-optimization/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add microsoft/skills --skill aks-cost-optimization -a cursor2Manually: put the files in place
.cursor/skills/aks-cost-optimization/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install microsoft/skills .github/plugins/aks-skills/skills/aks-cost-optimization2Manually: put the files in place
.github/skills/aks-cost-optimization/SKILL.md1Skills CLI (Vercel)
npx skills add microsoft/skills --skill aks-cost-optimization -a gemini-cli2Platform CLI
gemini skills install https://github.com/microsoft/skills --path .github/plugins/aks-skills/skills/aks-cost-optimizationManually: put the files in place
.devin/skills/aks-cost-optimization/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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