aws-cost-optimization

aws-cost-optimization is a skill for Claude Code from giuseppe-trisciuoglio/developer-kit. It costs 83 tokens per session (3,029 once invoked), scanned A, original, MIT.

A structured guide to reducing spending on AWS, Amazon's cloud platform, by reviewing resource sizes, usage patterns, pricing options, storage, and cost monitoring.

In plain words
What is it for?
Use it to review AWS spending, reduce EC2, EBS, S3, or load-balancer costs, choose between On-Demand, Spot, Reserved Instances, and Savings Plans, and set up budgets or anomaly alerts.
Why use it?
It turns a broad cloud bill review into specific checks for unused resources, inefficient capacity, and unsuitable pricing plans. It also provides AWS CLI examples for carrying out the recommendations.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Part of the developer-kit-aws plugin — 19 skills, 3 agents shipped together

Good fit Use it to review AWS spending, reduce EC2, EBS, S3, or load-balancer costs, choose between On-Demand, Spot, Reserved Instances, and Savings Plans, and set up budgets or anomaly alerts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/giuseppe-trisciuoglio/developer-kit/aws-cost-optimization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cost-optimization
Clone the repo
git clone --depth 1 https://github.com/giuseppe-trisciuoglio/developer-kit

Made for: Claude Code.

Or install developer-kit-aws, the plugin that ships this one along with the rest of its 19 skills, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aws-cost-optimization

README.md
[![agentmods](https://agentmods.dev/badge/skills/giuseppe-trisciuoglio/developer-kit/aws-cost-optimization/github.svg)](https://agentmods.dev/skills/giuseppe-trisciuoglio/developer-kit/aws-cost-optimization)
Your own site
<a href="https://agentmods.dev/skills/giuseppe-trisciuoglio/developer-kit/aws-cost-optimization"><img src="https://agentmods.dev/badge/skills/giuseppe-trisciuoglio/developer-kit/aws-cost-optimization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aws-cost-optimization

Your own site · 80×15
<a href="https://agentmods.dev/skills/giuseppe-trisciuoglio/developer-kit/aws-cost-optimization"><img src="https://agentmods.dev/badge/skills/giuseppe-trisciuoglio/developer-kit/aws-cost-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,029 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.03029
Opus 5 $0.00042 $0.01515
Sonnet 5 $0.00017 $0.00606
Haiku 4.5 $0.00008 $0.00303

Measured 11d ago against content hash 01c031666b86, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

aws-cost-optimization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/developer-kit-aws/skills/aws/aws-cost-optimization/SKILL.md · 298 lines

How it starts

The opening of the file, as written. The whole thing — 298 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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
  5. For RDS, check read/write IOPS vs. provisioned capacity
Pillar 2 — Increase Elasticity

Schedule instance stop/start and leverage Auto Scaling Groups.

  1. Identify non-production instances running 24/7 (dev, staging, QA)
  2. Propose stop/start schedules using AWS Instance Scheduler or EventBridge rules
  3. Review Auto Scaling Group policies for over-provisioned min/desired counts
  4. Recommend target-tracking scaling policies tied to actual demand metrics
  5. Consider Lambda or Fargate for bursty, event-driven workloads

Read the full file on GitHub · 298 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 298 lines · 83 tokens per session scan A 01c031666b86

Subscribe to this mod's changes

aws-cost-optimization is a skill published in the GitHub repository giuseppe-trisciuoglio/developer-kit (343 stars, last pushed today), licensed MIT. It adds 83 tokens to every session and 3,029 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.