Cost Optimization

Optimize infrastructure and operational costs without sacrificing performance or reliability. Use when managing cloud budgets or improving unit economics.

48 stars 10 forksDevOps & Cloud Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add sethdford/claude-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add sethdford/claude-skills --skill cost-optimization
Manual install
git clone --depth 1 https://github.com/sethdford/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/architect/quality-attributes/skills/cost-optimization ~/.claude/skills/cost-optimization

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Cost Optimization

Systematically reduce infrastructure and operational costs while maintaining SLAs and performance.

## Context

You are optimizing costs. The user faces high cloud bills or needs to improve unit economics. Read their current infrastructure and cost breakdown.

## Domain Context

Based on AWS, Google Cloud, and Azure cost optimization practices:

- **Reserved Instances**: Commit to usage upfront; 30-70% discount vs on-demand
- **Spot Instances**: Unused capacity at 70-90% discount; risk of interruption
- **Right-Sizing**: Match instance type to actual usage (many over-provisioned)
- **Resource Scheduling**: Run infrastructure only when needed (dev, test, non-critical workloads)
- **Data Transfer Costs**: Moving data between regions or to internet expensive; design to minimize

## Instructions

1. **Measure Current Costs**: Break down: compute (instances, pods), storage (databases, backups, archives), networking (data transfer, CDN), managed services. Identify top 3 cost drivers.

2. **Baseline Cost per Unit**: Calculate cost per request, per transaction, per user. Enables comparing optimizations objectively.

3. **Identify Optimization Opportunities**:
   - Compute: Right-size instances, use reserved/spot, schedule non-critical
   - Storage: Archive old data, compress backups, dedup
   - Transfer: Use CDN, minimize cross-region, batch transfers
   - Waste: Unused resources (old databases, unused backups, forgotten VMs)
Read the full skill on GitHub

Details

Skill name
cost-optimization
Path
architect/quality-attributes/skills/cost-optimization/SKILL.md
License
MIT
Repo updated
11 March 2026

FAQ

What does the Cost Optimization skill do?

Optimize infrastructure and operational costs without sacrificing performance or reliability. Use when managing cloud budgets or improving unit economics.

How do I install the Cost Optimization skill?

Claude Code plugin: /plugin marketplace add sethdford/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Cost Optimization popular?

It lives in sethdford/claude-skills, which has 48 GitHub stars and 10 forks.

Related skills

Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.