aks-cost-optimization

aks-cost-optimization is a skill for Claude Code from microsoft/azure-skills. It costs 97 tokens per session (428 once invoked), scanned A, a copy of aks-cost-optimization, MIT.

Advanced cost analysis for Azure Kubernetes Service (AKS), Microsoft's managed Kubernetes platform. It examines how workloads are placed on cluster machines, how nodes scale, and how storage is used.

In plain words
What is it for?
Use it to assess node bin packing, node-scaling bottlenecks, scale-down blockers, storage costs, and readiness for Node Auto Provisioning (NAP).
Why use it?
It helps explain why an existing AKS cluster may waste capacity, fail to scale down, or spend too much on storage. It keeps the analysis focused on cluster behavior rather than general cloud spending.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the aks-skills plugin — 6 skills shipped together

Good fit Use it to assess node bin packing, node-scaling bottlenecks, scale-down blockers, storage costs, and readiness for Node Auto Provisioning (NAP).

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/azure-skills/aks-cost-optimization
About the project

Azure Skills Plugin is an agent plugin that packages Azure-specific guidance with MCP server configurations for carrying out Azure work. Coding agents use it to plan, deploy, troubleshoot, monitor, govern, and optimize Azure applications and services. The catalogue entries are the plugin's skills, instructions, and execution integrations.

microsoft/azure-skills · 1,685 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add microsoft/azure-skills --skill aks-cost-optimization
Clone the repo
git clone --depth 1 https://github.com/microsoft/azure-skills

Made for: Claude Code.

Or install aks-skills, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aks-cost-optimization

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/azure-skills/aks-cost-optimization/github.svg)](https://agentmods.dev/skills/microsoft/azure-skills/aks-cost-optimization)
Your own site
<a href="https://agentmods.dev/skills/microsoft/azure-skills/aks-cost-optimization"><img src="https://agentmods.dev/badge/skills/microsoft/azure-skills/aks-cost-optimization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aks-cost-optimization

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/azure-skills/aks-cost-optimization"><img src="https://agentmods.dev/badge/skills/microsoft/azure-skills/aks-cost-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 428 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.00428
Opus 5.5 $0.00039 $0.00171
Sonnet 5.5 $0.00019 $0.00086
Haiku 4.5 $0.00010 $0.00043

Measured 1mo ago against content hash ea9fe2e18835, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aks-cost-optimization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to aks-cost-optimization — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/plugins/aks-skills/skills/aks-cost-optimization/SKILL.md · 41 lines

What it actually says

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.
  3. When invoked for AKS commitment context, use the commitment-demand handoff 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.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 41 lines · 97 tokens per session scan A ea9fe2e18835

Subscribe to this mod's changes

aks-cost-optimization is a skill published in the GitHub repository microsoft/azure-skills (1,685 stars, last pushed 3d ago), licensed MIT. It adds 97 tokens to every session and 428 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to aks-cost-optimization, differing in 0 lines, and is treated as a copy.

Related

aks-cost-optimization compared with skills from other repositories

aks-cost-optimization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aks-cost-optimizationmicrosoft/azure-skillsSkill1.7k3d agoMITA97Claude Code
gke-compute-classesgoogle/skillsSkill25ktodayApache-2.0A83Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill25ktodayApache-2.0A115Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.2k2d agoApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3k3d agoMITA78Claude Code