/devops-skills:cost-optimizationfrom devops-skills
Cuts cloud spend by identifying idle resources, oversized fleets, and commitment discount opportunities, prioritized by dollar impact.
Ships in devops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Cloud bills rarely have one villain — they have a long tail of small waste and a short list of big levers. Teams that start by auditing every line item burn weeks on savings measured in dollars, while the resource that's 40% of the bill sits untouched because nobody sorted by size first. Optimization is a prioritization problem before it's an engineering problem.
The other trap is treating cost cutting as a one-time project. Spend drifts every time someone ships a new service, forgets to delete a test environment, or a traffic pattern shifts enough to make last quarter's instance sizes wrong. A cost review that runs once and declares victory is already stale by the next billing cycle.
Find the biggest lever with data, pull it, then come back for the next one.
For a ranked catalog of savings levers and how to find candidates, read
references/savings-levers.md.
Sort the bill by service, then by resource, before deciding what to fix. A single oversized database instance can dwarf a dozen idle load balancers combined, and no amount of enthusiasm for cleaning up small things substitutes for finding the one thing that's actually expensive.
Done when: the top five cost drivers are known by name and dollar amount, not by guess.
An idle resource — a stopped-but-not-deleted instance, an unattached volume, a load balancer with no healthy targets, a snapshot nobody restores from — delivers zero value at full price. Unlike rightsizing or commitment purchases, removing it carries no performance trade-off to weigh, which makes it the fastest win available.
Done when: every resource flagged as idle for 30+ days is either justified in writing or deleted.
Reserved instances and savings plans trade a discount for a commitment — they pay off only against usage you're confident will persist. Committing against your peak, or against usage you haven't rightsized yet, locks in savings on top of waste instead of on top of real need.
Done when: committed spend covers a measured baseline, not a hopeful estimate, and no commitment was purchased before the underlying fleet was rightsized.
A perfectly-priced instance that's twice the size it needs to be is still twice the cost it needs
to be — pricing optimization and sizing optimization are independent levers, and skipping the
sizing one leaves money on the table no discount can recover. See rightsizing for how to size
from measured usage instead of guessing.
Done when: no cost-optimization pass ships without checking whether the resource is the right size, not just the right price.
You cannot prioritize by dollar impact, attribute an idle resource to an owner, or hold a team
accountable for its own spend if resources aren't tagged to a cost center or owner. Cost
optimization work done on untagged infrastructure degrades into guessing who to ask before
anything can be deleted. See resource-tagging for the taxonomy and enforcement mechanics.
Done when: every resource under review is tagged well enough to identify an accountable owner without asking around.
Spend drifts continuously — new services launch, traffic patterns shift, commitments expire. A cost review that happens once and is declared done misses every dollar of drift that accumulates afterward, and the next spike arrives looking just as urgent as the last one.
Done when: cost review is a recurring calendar item with an owner, not a one-off project.
State the top cost drivers found, the dollar amount of idle/orphaned waste removed, and the commitment coverage achieved against the measured baseline. Name the honest gap — usually a category of spend (data transfer, third-party SaaS, an unrightsized fleet still under commitment) that wasn't fully addressed this pass — rather than claiming the bill is now optimal.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub arjunprabhulal/devops-skills --plugin devops-skills88 skills in this plugin
/alertingCovers designing alerts that page a human only when a human needs to act — symptom-based alerting over cause-based, multi-window burn-rate alerts on error budgets, severity tiers that route between page/ticket/dashboard, requiring every page to link a runbook, and tuning out alert fatigue. Use this whenever the user is writing a new alert rule, asking why on-call is paged too often or missing real incidents, choosing an alert threshold, or designing severity routing. For the SLO the burn-rate math comes from use `slo-definition`, and for what a runbook should contain use `runbooks`./api-gatewayCovers the managed front-door pattern for APIs — request routing, centralized auth, rate limiting and quotas, request/response shaping, and recognizing when a gateway helps versus becomes a bottleneck or single point of failure. Use this whenever the user is designing an API entry point, adding rate limits or quotas, centralizing auth for several backend services, transforming a request between an external and internal contract, or debugging a gateway timeout. For east-west traffic between internal services use `service-connectivity`, and for token issuance details use `iam-access-management`./argocd-operationsCovers running Argo CD day to day — structuring app-of-apps, choosing sync policies and waves, reading health versus sync status correctly, and unsticking a degraded or hung Application. Use this whenever the user mentions Argo CD, an Application stuck "Progressing" or "OutOfSync," app-of-apps or ApplicationSets, sync waves and hooks, or asks why a deploy shows synced but the workload is unhealthy. For the underlying model this tool implements use `gitops`; for automated canary analysis on top of it use `progressive-delivery`; for the workloads it manages use `kubernetes-operations`.