K8s Cost Optimizer

PassAudited by VirusTotal on May 3, 2026.

Overview

Type: OpenClaw Skill Name: k8s-cost-optimizer Version: 1.0.0 The k8s-cost-optimizer skill bundle is a comprehensive set of instructions for an AI agent to perform Kubernetes FinOps audits. It outlines legitimate data collection methods (kubectl, Prometheus, cloud billing APIs) and provides detailed logic for identifying cost-saving opportunities like overprovisioned resources, idle workloads, and spot instance migration. The instructions include explicit safety constraints and staged rollout plans to prevent service disruption, and there is no evidence of malicious intent, data exfiltration, or unauthorized execution in SKILL.md or _meta.json.

Findings (0)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

If run with broad credentials, the agent may see production cluster structure, workload metadata, usage patterns, and billing details.

Why it was flagged

The skill expects cluster-wide Kubernetes inventory and cloud billing data. That access is purpose-aligned for cost optimization, but it can expose sensitive infrastructure and financial information.

Skill content
The agent collects from four sources ... `kubectl get all,pvc,svc -A -o json` ... AWS Cost Explorer, GCP billing export, Azure Cost Management
Recommendation

Use read-only Kubernetes and cloud billing roles where possible, confirm the active kube context/cloud account, or provide redacted exports instead of broad live credentials.

What this means

Applying generated patches or scale commands without review could reduce resources, stop workloads, or disrupt service.

Why it was flagged

The skill may produce ready-to-apply Kubernetes changes. This is aligned with cost optimization, but applying those commands can mutate production workloads.

Skill content
The agent produces ... per-recommendation YAML patches or commands ... Action: scale to zero ... `kubectl scale --replicas=0`
Recommendation

Treat generated YAML and commands as proposals. Require human approval, use dry-run/diff workflows, stage changes gradually, and keep rollback plans.

What this means

A mistaken recommendation or an unreviewed change could propagate into production outages, degraded performance, or data migration risk.

Why it was flagged

The instructions acknowledge that resource right-sizing and storage migration can cause OOM kills or downtime if applied incorrectly.

Skill content
patch container.resources.requests.memory down ... NOTE: never set requests below working-set-p99 — OOMKills kill the savings ... snapshot migration ... Plan downtime
Recommendation

Validate metrics windows, test in non-production or canary deployments, schedule risky storage changes during maintenance windows, and monitor after rollout.