/cloud-skills:cloud-cost-finops-optimizationfrom cloud-skills
Guides establishing cloud cost visibility and reducing spend across AWS, Azure, and GCP through tagging, rightsizing, commitment discounts, and FinOps showback/chargeback practices.
Ships in cloud-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.
None: SKILL.md is the whole skill.
Cloud spend left ungoverned grows faster than the value it produces — not because any one decision was wrong, but because pay-as-you-go pricing removes the natural friction that used to force capacity planning conversations. FinOps closes that gap by making cost a first-class, continuously reviewed signal: every resource attributable to a team and purpose, every commitment decision (Reserved Instances, Savings Plans, Committed Use Discounts) made deliberately rather than defaulted to on-demand, and every anomaly caught within days, not discovered at month-end reconciliation. This skill covers the recurring, cross-cloud practices — tagging, rightsizing, commitment strategy, showback/ chargeback, and anomaly response — that turn cost from a lagging indicator into an operating input.
cost-center, environment, owner, service) enforced via the
landing-zone guardrails (AWS tag policies + SCP, Azure Policy, GCP
Organization Policy / labels) — see the respective landing-zone
skills.Establish cost visibility before optimizing anything. Enable and confirm data is flowing to:
Enforce and backfill cost-allocation tags/labels. Confirm the landing-zone tag-policy guardrail is active for new resources, then run a tag-coverage report and manually (or via a script) tag pre-existing untagged resources — untagged spend is invisible spend in every downstream dashboard.
Build the showback (or chargeback) view. Minimum: a dashboard or
scheduled report broken down by cost-center/owner tag, updated at
least weekly, sent to the accountable team lead — not just a
platform-team-only view. Showback (visibility without billing) is
usually the right starting point; chargeback (actual internal billing)
is a later maturity step once tagging coverage is reliably >95%.
Rightsize compute and storage using actual utilization data, not instance-family defaults:
google.compute.instance.MachineTypeRecommender
and google.compute.instanceGroupManager.MachineTypeRecommender.
Downsize or change family only after confirming the workload's actual
peak (not average) utilization has headroom — average-based
rightsizing is a common cause of production incidents.Decide commitment strategy per workload class, not organization-wide:
Set up anomaly detection and a response runbook. When a cost anomaly alert fires: identify the resource/tag responsible from the CUR/Cost Management/BigQuery export, confirm with the owning team whether it's expected (a legitimate scale-up) or a mistake (an orphaned resource, a misconfigured autoscaler, a forgotten test environment), and close the loop within the same week — cost anomalies investigated a month later are much harder to attribute.
Review and reconcile commitments quarterly. Check utilization of existing Reserved Instances/Savings Plans/CUDs; if a commitment is consistently underutilized (workload was decommissioned, migrated, or downsized), plan for it to lapse rather than renewing blindly, or use the reserved-instance marketplace (AWS RI Marketplace) where applicable.
Report unit economics, not just total spend, to leadership once the above is in place — cost per transaction, per customer, or per environment tells a more actionable story than a raw month-over-month dollar figure.
Symptom: Finance asks "why did the AWS/Azure/GCP bill jump 30% last month" and nobody can answer without a multi-day manual dig through the console. Fix: No Cost and Usage Report / Cost Management export / BigQuery billing export was enabled with sufficient granularity, or tagging coverage was too low to attribute the increase. Set up the export and a minimum tagging bar (see step 1-2) before treating any specific optimization as urgent — visibility is the actual bottleneck, not the optimization technique.
Symptom: A team purchased Reserved Instances/CUDs for peak-season capacity, and six months later most of the commitment sits unused, still billing. Fix: Commitment was sized against a temporary peak instead of sustained baseline usage. Size commitments to the trailing 90-day p10 (near-floor) usage, and cover the variable portion above that with on-demand or Savings Plans/flexible CUDs instead of Reserved Instances.
Symptom: A rightsizing recommendation is applied automatically and causes a latency-sensitive service to start throttling under load. Fix: The recommendation was based on average CPU utilization, which hid short bursts to near 100%. Cross-check peak utilization and application-level SLOs (latency, error rate) before applying automated rightsizing recommendations, and roll out during a low-traffic window with fast rollback available.
Symptom: Kubernetes cluster shows a flat, high cloud compute bill regardless of which team scales its workloads up or down. Fix: Cost is being measured at the node level, not attributed per-namespace/pod. Deploy a cost-allocation tool (OpenCost/Kubecost) to break the node-level bill down by namespace/label so showback data reflects actual team usage instead of an even split.
Symptom: A "cost optimization" cleanup script deletes what looks
like an unattached EBS volume/disk, and it turns out to be a manually
detached backup snapshot source someone needed.
Fix: Never auto-delete storage resources flagged as "idle"
without a tagged grace period and human confirmation — idle-resource
detection should open a ticket or require explicit approval before any
deletion, especially for anything holding data (see
cloud-native-storage-strategy and
disaster-recovery-and-backup-strategy for what's safe to actually
remove versus what must be retained under a backup/retention policy).
Scenario: A SaaS company's AWS bill grew 40% quarter-over-quarter with no corresponding customer growth, and finance wants an explanation within the week.
cost-center tag — backfill those tags
first so the breakdown is complete.cost-center and environment tags: the data-platform
team's non-prod environment spend tripled.db.r5.4xlarge RDS
instances in non-prod show under 10% average CPU utilization over
the trailing 30 days, with no meaningful peaks — they were sized to
match production "just in case" during a migration and never resized
down.db.r5.large after confirming
with the data-platform team that non-prod doesn't need production-
scale capacity, monitored over a one-week rollout window.data-platform cost-allocation tag so a similar unmonitored ramp is
caught within days next time, not a quarter later.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin cloud-skills14 skills in this plugin
/aws-landing-zone-setupGuides designing and implementing a multi-account AWS landing zone using AWS Organizations, Control Tower, and Account Factory — including the account/OU hierarchy, Service Control Policies, centralized logging, and baseline guardrails. Use when a user asks to "set up a new AWS account structure", "design an AWS landing zone", "implement AWS Control Tower", "create OUs and SCPs", "bootstrap a multi-account AWS environment", or "onboard a new AWS account into our organization".
/azure-landing-zone-setupGuides designing and implementing an Azure landing zone using Management Groups, subscription democratization, Azure Policy, and the Cloud Adoption Framework (CAF) Landing Zone Accelerator pattern. Use when a user asks to "design an Azure landing zone", "set up Management Groups and subscriptions", "implement Azure Policy guardrails", "onboard a new Azure subscription", "structure our Azure tenant", or "migrate to the CAF enterprise-scale landing zone".
/cloud-access-request-and-iam-lifecycle-managementHandles the everyday operational request to grant, time-box, and later revoke a scoped IAM permission for a contractor, new hire, or a temporary need (e.g. "give the new contractor read-only S3 access for 30 days," "grant break-fix access to prod for this incident," "revoke Priya's access, she left the team," "why does this access request keep getting rejected") — including expiry enforcement and the audit trail a security review will ask for. Use for a single access grant/revoke transaction, not for designing the underlying IAM policy/role structure (see cloud-iam-hardening for that).
/cloud-cost-anomaly-investigationWalks through investigating an unexpected cost spike on this month's cloud bill right now — querying AWS Cost Explorer/CUR, Azure Cost Management, or GCP BigQuery billing export to isolate the specific resource, tag, and team responsible before it becomes a formal FinOps review. Use when a user asks "why did our AWS/Azure/GCP bill jump this week/month," "what's driving this cost anomaly alert," "find what resource caused this spike," or "who do I ask about this spend before the finance review." Distinct from cloud-cost-finops-optimization, which covers the ongoing tagging/rightsizing/commitment program this investigation is a single incident inside of.
/cloud-iam-hardeningGuides hardening identity and access management across AWS, Azure, and GCP — least-privilege policy design, eliminating long-lived credentials in favor of federation (OIDC/Workload Identity), break-glass access, and periodic access review. Use when a user asks to "reduce IAM permissions", "remove unused IAM roles", "set up federated/keyless access for CI/CD", "harden our cloud identity posture", "review who has admin access", "implement least privilege", or "get rid of long-lived access keys".
/cloud-native-storage-strategyGuides choosing and configuring cloud storage services — object storage (S3, Azure Blob, GCS), block storage, file storage, and lifecycle/ tiering policies — with encryption, access control, and cost-tiering best practices across AWS, Azure, and GCP. Use when a user asks to "design a storage architecture", "choose between object/block/file storage", "set up storage lifecycle/tiering policies", "encrypt data at rest", "prevent a storage bucket from being public", "reduce storage costs", or "pick a storage class for infrequently accessed data".
Other plugins' skills for the same job