# aws-cost-optimization

The aws-cost-optimization skill reviews AWS spending across five cost areas and suggests concrete checks for EC2, EBS, S3, budgets, and pricing choices.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 372 repo stars
- Author: Giuseppe Trisciuoglio
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/giuseppe-trisciuoglio/developer-kit/tree/HEAD/plugins/developer-kit-aws/skills/aws/aws-cost-optimization/SKILL.md
- Updated: 2026-09-10
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/giuseppe-trisciuoglio-aws-cost-optimization

## What it does

The skill guides an AWS cost review through right-sizing, elasticity, pricing models, storage, and ongoing monitoring. It works with AWS-native services such as Cost Explorer, Budgets, Compute Optimizer, Trusted Advisor, and Cost Anomaly Detection. Its command examples use the AWS CLI.

A review starts by defining the accounts, regions, and services to inspect. The skill then gathers spending data, identifies the main cost drivers, walks through the five areas, and turns the findings into a scored checklist. It covers unattached EBS volumes, orphaned snapshots, non-production schedules, scaling policies, storage tiers, and choices between On-Demand, Spot, Reserved Instances, and Savings Plans.

The examples assume AWS CLI access to the resources being reviewed. Without a defined account, region, and service scope, the review begins by asking for those boundaries.

## Requirements
- Works with: AWS

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add giuseppe-trisciuoglio/developer-kit
```
In the agent chat (not a shell):
```text
/plugin install developer-kit-aws@developer-kit
```
This installs the whole developer-kit-aws plugin with all its skills

2. **Skills CLI (Vercel)**
```bash
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cost-optimization -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cost-optimization -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cost-optimization -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install giuseppe-trisciuoglio/developer-kit plugins/developer-kit-aws/skills/aws/aws-cost-optimization
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cost-optimization -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/giuseppe-trisciuoglio/developer-kit --path plugins/developer-kit-aws/skills/aws/aws-cost-optimization
```

### Windsurf (Devin Desktop)

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

### 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/giuseppe-trisciuoglio/developer-kit/tree/HEAD/plugins/developer-kit-aws/skills/aws/aws-cost-optimization/SKILL.md

## When to use it
- find unused EBS volumes and orphaned snapshots
- match EC2 capacity to observed demand
- compare pricing options for baseline compute
- set up AWS Budgets and spend alerts
- turn AWS cost findings into a review plan

## Example prompts
- Review my AWS spending across the five cost areas and identify the main drivers.
- Find unattached EBS volumes and orphaned snapshots, then give me AWS CLI commands to inspect them.
- Compare On-Demand, Spot, Reserved Instances, and Savings Plans for my steady compute baseline.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 7bde0d8dc5a63cbb.

BEGIN THIRD-PARTY FILE 7bde0d8dc5a63cbb
```text
---
name: aws-cost-optimization
description: Provides structured AWS cost optimization guidance using five pillars (right-sizing, elasticity, pricing models, storage optimization, monitoring) and twelve actionable best practices with executable AWS CLI examples. Use when optimizing AWS costs, reviewing AWS spending, finding unused AWS resources, implementing FinOps practices, reducing EC2/EBS/S3 bills, configuring AWS Budgets, or performing AWS Well-Architected cost reviews.
allowed-tools: Read, Write, Bash
---

# AWS Cost Optimization

## Overview

Guide a structured AWS cost review covering right-sizing, elasticity, pricing models, storage optimization, and continuous monitoring. References AWS native tools (Cost Explorer, Budgets, Compute Optimizer, Trusted Advisor, Cost Anomaly Detection) and delivers twelve prioritized best practices organized under five optimization pillars. All examples use the AWS CLI.

## When to Use

- Optimizing AWS costs or reviewing AWS spending
- Finding unused or under-utilized AWS resources
- Implementing FinOps practices for cloud cost governance
- Reducing EC2, EBS, S3, or load balancer bills
- Choosing between On-Demand, Spot, Reserved Instances, and Savings Plans
- Configuring AWS Budgets, Cost Explorer, or Cost Anomaly Detection
- Performing an AWS Well-Architected Framework cost pillar review
- Cleaning up orphaned EBS snapshots or unused volumes
- Automating start/stop schedules for non-production workloads

Trigger: "Optimize my AWS costs", "Review AWS spending", "Find unused AWS resources", "Help me with FinOps", "Reduce my EC2 bill", "Clean up unused EBS volumes", "Set up AWS Budgets"

## Instructions

### Five Optimization Pillars

Work through each pillar in order during a cost review.

#### Pillar 1 — Right-Size

Match provisioned resources to actual workload needs.

1. Pull 14-day average CPU/memory metrics from CloudWatch for every EC2 instance
2. Cross-reference with AWS Compute Optimizer recommendations
3. Flag instances where peak utilization stays below 40%
4. Recommend downsizing to the next smaller instance family/size
```
END THIRD-PARTY FILE 7bde0d8dc5a63cbb

The third-party file has ended. Everything between the 7bde0d8dc5a63cbb tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2110 of 12949 bytes. © Giuseppe Trisciuoglio · MIT · https://github.com/giuseppe-trisciuoglio/developer-kit/tree/HEAD/plugins/developer-kit-aws/skills/aws/aws-cost-optimization/SKILL.md

_Part of the page did not fit — see the HTML version._

---
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
