cost-optimization Skill for Claude Code: Cut Cloud Costs on AWS, Azure, GCP, OCI
Teaches Claude a framework for cutting cloud bills on AWS, Azure, GCP and OCI: see the spend, rightsize, pick pricing models and fix the architecture.
- Installs
- 11.7K
- on skills.sh
- Stars
- 42.1K
- on GitHub
- Files
- 1
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
cost-optimization gives Claude a four-step framework: visibility, right-sizing, pricing models and architecture changes. It then lists tactics per provider, such as reserved instances and savings plans on AWS, hybrid benefit on Azure, committed use discounts on GCP and flexible shapes on OCI. It adds Terraform examples for S3 lifecycle rules, budgets and autoscaling, a tagging strategy, and a 15-item checklist.
It triggers when you ask about reducing cloud expenses or analyzing spend. The folder holds 2 Markdown files and no scripts. The discount percentages in the SKILL.md are static text, so check current pricing before you commit to a purchase.
Good for
- Engineers and FinOps owners asked to reduce cloud spend
- Teams running on AWS, Azure, GCP or OCI
- Teams writing a tagging standard for cost allocation
Install cost-optimization
Claude Code
- 1
Copy this prompt.
Install the cost-optimization skill in Claude Code. Run this command: /plugin marketplace add wshobson/agents /plugin install cloud-infrastructure@claude-code-workflows Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Pick one route. The cloud-infrastructure plugin adds 7 more cloud skills and 7 agents. The skills-only route installs just this skill, without the plugin's agents or commands (README).
Built from the package data we hold. Not yet tested by us.
What's in the skill
When it loads
Optimize cloud costs across AWS, Azure, GCP, and OCI through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses, analyzing infrastructure costs, or implementing cost governance policies.
Sections in SKILL.md
- Purpose
- When to Use
- Cost Optimization Framework
- 1. Visibility
- 2. Right-Sizing
- 3. Pricing Models
- 4. Architecture Optimization
- AWS Cost Optimization
- Reserved Instances
- Savings Plans
- Spot Instances
- S3 Cost Optimization
- Azure Cost Optimization
- Reserved VM Instances
- Azure Hybrid Benefit
- Azure Advisor Recommendations
Key facts
- Author
- Seth Hobson
- Repo
- wshobson/agents
- License
- MIT
- Installs on skills.sh
- 11,724 (Nov 2, 2026)
- GitHub stars
- 42,081 (Nov 2, 2026), whole repo
- Last commit
- Oct 30, 2026 (repo)
- Files in the skill folder
- 2 files including SKILL.md
What it includes
Four steps: visibility, right-sizing, pricing models, architecture.
The core outline of the skill.
Cost optimization frameworkReserved instances, savings plans, spot instances and S3 lifecycle rules.
Includes a Terraform S3 lifecycle example that expires objects after 365 days.
Delete ·
AWS tacticsReserved VM instances, Hybrid Benefit and Advisor recommendations.
Azure tacticsCommitted use discounts, sustained use discounts and preemptible VMs.
GCP tacticsFlexible shapes, commitments and budgets, preemptible capacity.
OCI tacticsCommon tags such as Environment, Project, CostCenter and Owner, in Terraform.
Detail in references/tagging-standards.md.
Write ·
Tagging strategyA Terraform AWS budget with an 80 percent alert, plus anomaly detection per provider.
The example sends alerts to an email address you set.
Write ·
Cost monitoringServerless first, right-sized databases, multi-tier storage and autoscaling.
Four patterns with examples.
Architecture patterns15 items, from tags and unused resources to weekly reviews.
Cost optimization checklistNames native tools per cloud and CloudHealth, Cloudability and Kubecost for multi-cloud.
Tools list
From the official docs
Permissions
Medium risk
The skill's examples include lifecycle rules that expire objects and a checklist item to delete unused EBS volumes, IPs and snapshots. Review every Terraform plan and every deletion before you apply it.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
Examples can delete stored data
The S3 example moves objects to cheaper storage and expires them after 365 days. Applying it unchanged to a bucket you care about removes data. github.com
The checklist says to delete unused resources
It lists EBS volumes, elastic IPs and snapshots. Confirm each is unused before any deletion. github.com
Budget alerts need a real email address
The AWS budget example sends alerts to an address you set. Replace the placeholder before applying. github.com
Technical details
| Scopes |
|
|---|
Questions
What does cost-optimization do?
It teaches Claude a repeatable approach to lowering cloud costs across AWS, Azure, GCP and OCI. It covers rightsizing, tagging, discounts, budgets and architecture changes, with Terraform examples.
How do I install it?
Use the install box above. The README offers the cloud-infrastructure plugin, which adds 7 more skills and 7 agents, or a skills-only install of just this skill.
Does it connect to my cloud account?
The skill bundles no scripts; it names cost tools such as Cost Explorer and Kubecost. Whether Claude can read your account depends on the CLI or MCP servers you have set up (our note, not from the SKILL.md).
Are the savings numbers current?
They are static text in the SKILL.md, for example reserved instance savings and spot discounts. Confirm current terms with your provider before buying commitments.
Does it work in Claude.ai, Codex or Cursor?
The README documents Claude Code and Codex plugins and a Cursor plugin marketplace, plus skills-only installers for other tools. It does not describe the Claude app.
Is it safe?
The skill bundles no scripts, but its examples include lifecycle rules that delete objects and a checklist item to delete unused resources. Review any Terraform change and any deletion before you apply it.
Information
updated Nov 2, 2026
- Repository
- wshobson/agents
- Folder
plugins/cloud-infrastructure/skills/cost-optimization
Sources
Docs, issue trackers and discussions this page is built from.
Show all 4Hide
- wshobson/agents README · github.com
- cost-optimization SKILL.md · github.com
- tagging-standards.md · github.com
- cloud-infrastructure plugin.json · github.com