# aws-cost-optimization

The aws-cost-optimization skill guides AWS cost reviews, from unused-resource checks and rightsizing to commitment analysis with Reserved Instances and Savings Plans.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 222 installs · ★ 205 repo stars
- Author: ahmedasmar
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ahmedasmar/devops-claude-skills/tree/HEAD/aws-cost-optimization/skills/SKILL.md
- Updated: 2026-04-11
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/ahmedasmar-aws-cost-optimization

## What it does

The skill lays out a repeatable AWS cost review: locate idle resources, inspect cost anomalies, check EC2 and RDS sizing recommendations, rank actions, apply changes, and monitor the result. Its workflows use AWS CLI commands from `aws ec2`, `aws ce`, `aws compute-optimizer`, and `aws cloudwatch`.

A monthly review covers unattached EBS volumes, unused Elastic IPs, idle EC2 instances, old snapshots, and load balancers without healthy targets. It then gathers service-level spending and a forecast. Findings can be copied into `assets/templates/monthly_cost_report.md` and turned into a team report.

Other workflows compare Reserved Instances with Savings Plans, examine older instance generations, and track budgets and tag compliance. The operational checks rely on AWS CLI, so those command-based workflows require it to be available.

## Requirements
- Works with: AWS

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add ahmedasmar/devops-claude-skills --skill aws-cost-optimization -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/skills/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/skills/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add ahmedasmar/devops-claude-skills --skill aws-cost-optimization -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/skills/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add ahmedasmar/devops-claude-skills --skill aws-cost-optimization -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/skills/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install ahmedasmar/devops-claude-skills aws-cost-optimization/skills/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/skills/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add ahmedasmar/devops-claude-skills --skill aws-cost-optimization -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/ahmedasmar/devops-claude-skills --path aws-cost-optimization/skills
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/skills/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add ahmedasmar/devops-claude-skills --skill aws-cost-optimization -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ahmedasmar/devops-claude-skills/tree/HEAD/aws-cost-optimization/skills/SKILL.md

## When to use it
- find idle AWS resources
- break down daily spending by service
- review EC2 and RDS rightsizing options
- compare Reserved Instances with Savings Plans
- compile a monthly AWS cost report

## Example prompts
- Review our AWS costs and identify unused resources.
- Check EC2 and RDS sizing recommendations, then rank the actions by risk and savings.
- Create a report from `assets/templates/monthly_cost_report.md` using the latest cost findings.

## Similar
- [aws-billing-and-cost-management](https://affpapa.org/en/nevibecode/skills/aws-billing-and-cost-management.md) — skill · 10300 installs
- [AWS Billing and Cost Management](https://affpapa.org/en/nevibecode/mcp/aws-billing-and-cost-management.md) — MCP server · ★ 9939 repo stars
- [database-cloud-optimization-cost-optimize](https://affpapa.org/en/nevibecode/skills/database-cloud-optimization-cost-optimize.md) — skill · ★ 50109 repo stars
- [aws-cost-operations](https://affpapa.org/en/nevibecode/skills/aws-cost-operations.md) — skill · 921 installs
- [cost-optimization-review](https://affpapa.org/en/nevibecode/commands/cost-optimization-review.md) — command · ★ 280 repo stars
- [aws-cost-optimize](https://affpapa.org/en/nevibecode/skills/aws-cost-optimize.md) — skill · 68 installs

## Other versions with the same name
- [aws-cost-optimization · bagelhole](https://affpapa.org/en/nevibecode/skills/aws-cost-optimization.md) — 356 installs
- [aws-cost-optimization · giuseppe-trisciuoglio](https://affpapa.org/en/nevibecode/skills/giuseppe-trisciuoglio-aws-cost-optimization.md) — ★ 372 repo stars

From the same set: [ahmedasmar/devops-claude-skills](https://affpapa.org/en/nevibecode/by/ahmedasmar/devops-claude-skills.md) — 3 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
