writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
castai-cost-tuningAnalyze CAST AI cost, available-savings, and realized-savings reports into a defensible optimization plan. Use when investigating spend, validating savings claims, applying private-price adjustments, or prioritizing workloads and clusters. Trigger with: "tune CAST AI costs", "verify CAST AI savings", "reduce Kubernetes spend with CAST AI".
Independent GitHub snapshot · Automated classification · Original documentation governs
name: castai-cost-tuning description: 'Analyze CAST AI cost, available-savings, and realized-savings reports into a defensible optimization plan. Use when investigating spend, validating savings claims, applying private-price adjustments, or prioritizing workloads and clusters. Trigger with: "tune CAST AI costs", "verify CAST AI savings", "reduce Kubernetes spend with CAST AI".' allowed-tools: Read, Grep, Write, Edit version: 2.0.0 argument-hint: '[cluster-or-organization-report]' model: inherit effort: high license: MIT author: Jeremy Longshore jeremy@intentsolutions.io tags:
Turn reporting into a prioritized plan without treating modeled savings as invoices. Separate actual spend, available opportunity, realized savings, workload rightsizing, adoption, pricing, and baseline assumptions.
Use Read to identify whether the request concerns actual spend, a forecast, available savings, realized savings, or workload autoscaler savings. Record cluster scope, currency, time range, and comparison period.
Use Grep across exported reports and runbooks to find baseline source, public versus adjusted prices, data gaps, and adoption thresholds. Cost comparison needs sufficient history; new clusters and low automation adoption can legitimately show incomplete or zero savings.
Compare provisioned resources, requested resources, utilization, lifecycle mix, price per resource, actual cost, and modeled baseline. When private discounts or commitments matter, require reviewed Price adjustments instead of assuming public list prices match the bill.
Group opportunities into workload rightsizing, node bin-packing, spot or fallback strategy, architecture choice, idle capacity, and allocation hygiene. For each, include savings confidence, SLO risk, prerequisite, owner, and evidence window.
Use Write or Edit to create a canary hypothesis with a single policy change, expected capacity effect, performance guardrail, measurement window, and rollback. Do not combine node, vertical, horizontal, and pricing changes in one experiment.
State what CAST AI reports, what billing evidence confirms, what remains modeled, and which action is authorized. Preserve before-and-after snapshots without exporting sensitive workload names beyond their approved audience.
Use Read for reports, billing extracts, and policy context. Use Grep to reconcile repeated cluster, workload, baseline, and pricing facts. Use Write and Edit only for the analysis, experiment, and decision record; this skill does not enable automation.
A report shows high available savings but no realized savings because the cluster remains read-only. Another cluster shows modeled workload savings, but private prices are absent, so the team configures reviewed adjustments before using the number for a commitment.
| Failure | Response |
|---|---|
| Baseline source is unknown | Label savings unverified and obtain the report basis |
| CAST AI and invoice periods differ | Normalize the window before comparison |
| Private pricing is missing | Use Price adjustments or disclose list-price limitation |
| Optimization conflicts with an SLO | Reject the action regardless of modeled savings |