subzone

K8s Costs — DevOps skill for Claude Code

DevOps community

Kubernetes cost per namespace/team/app, idle capacity and rightsizing (OpenCost/Kubecost or an estimate; read-only).

How to install K8s Costs

Installs to ~/.claude/skills/subzone-devops-assistant-k8s-costs/SKILL.md

Terminal
mkdir -p ~/.claude/skills/subzone-devops-assistant-k8s-costs && curl -fsSL https://raw.githubusercontent.com/subzone/devops-assistant/HEAD/commands/k8s-costs.md -o ~/.claude/skills/subzone-devops-assistant-k8s-costs/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What K8s Costs does


description: Kubernetes cost per namespace/team/app, idle capacity and rightsizing (OpenCost/Kubecost or an estimate; read-only) argument-hint: "[context] [window, default 7d] [aggregate: namespace|controller|label:team]"

Delegate to the `cloud-cost-analyst` agent, following the `k8s-cost` skill: $ARGUMENTS. Default to the current context, a 7-day window and aggregation by namespace.

Return:

  • the source (OpenCost, Kubecost, or an estimate and how it was made)
  • cost per namespace (or

Alternatives in DevOps

  • Kubernetes Skill — Kubernetes Skill for Claude Code and Codex 385 ★
  • Claude AWS Cost Saver — Claude Code plugin that finds AWS cost savings 22 ★
  • K8s Health — Run comprehensive Kubernetes cluster health diagnostics with dynamic operator discovery 15 ★

Full documentation available on GitHub

View Source Repository