aws-cost-optimizer

aws-cost-optimizer is a skill for Claude Code from STELIORD/agentic-awesome-skills. It costs 19 tokens per session (1,557 once invoked), scanned A, a copy of aws-cost-optimizer, MIT.

An AWS cost-analysis guide that examines cloud spending and resource use to find waste and possible savings.

In plain words
What is it for?
It is for reviewing Cost Explorer data, finding underused AWS resources, comparing savings options, and suggesting rightsizing or pricing changes.
Why use it?
It helps explain rising bills and identify resources that are idle, oversized, unused, or running in costly locations.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agentic-awesome-skills plugin — 196 skills shipped together

Good fit It is for reviewing Cost Explorer data, finding underused AWS resources, comparing savings options, and suggesting rightsizing or pricing changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/steliord/agentic-awesome-skills/aws-cost-optimizer
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 STELIORD/agentic-awesome-skills --skill aws-cost-optimizer
Clone the repo
git clone --depth 1 https://github.com/STELIORD/agentic-awesome-skills

Made for: Claude Code.

Or install agentic-awesome-skills, the plugin that ships this one along with the rest of its 196 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/steliord/agentic-awesome-skills/aws-cost-optimizer/github.svg)](https://agentmods.dev/skills/steliord/agentic-awesome-skills/aws-cost-optimizer)
Your own site
<a href="https://agentmods.dev/skills/steliord/agentic-awesome-skills/aws-cost-optimizer"><img src="https://agentmods.dev/badge/skills/steliord/agentic-awesome-skills/aws-cost-optimizer/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-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/steliord/agentic-awesome-skills/aws-cost-optimizer"><img src="https://agentmods.dev/badge/skills/steliord/agentic-awesome-skills/aws-cost-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,557 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.
Origin 100% copy Near-identical to another mod 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.00019 $0.01557
Opus 5 $0.00010 $0.00779
Sonnet 5 $0.00004 $0.00311
Haiku 4.5 $0.00002 $0.00156

Measured 7d ago against content hash 43cdf380dfef, 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-optimizer 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 7d 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.

Origin

This is a copy

100% identical to aws-cost-optimizer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/agentic-awesome-skills-claude/skills/aws-cost-optimizer/SKILL.md · 199 lines

How it starts

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

AWS Cost Optimizer

Analyze AWS spending patterns, identify waste, and provide actionable cost reduction strategies.

When to Use This Skill

Use this skill when you need to analyze AWS spending, identify cost optimization opportunities, or reduce cloud waste.

Core Capabilities

Cost Analysis

  • Parse AWS Cost Explorer data for trends and anomalies
  • Break down costs by service, region, and resource tags
  • Identify month-over-month spending increases

Resource Optimization

  • Detect idle EC2 instances (low CPU utilization)
  • Find unattached EBS volumes and old snapshots
  • Identify unused Elastic IPs
  • Locate underutilized RDS instances
  • Find old S3 objects eligible for lifecycle policies

Savings Recommendations

  • Suggest Reserved Instance/Savings Plans opportunities
  • Recommend instance rightsizing based on CloudWatch metrics
  • Identify resources in expensive regions
  • Calculate potential savings with specific actions

AWS CLI Commands

Get Cost and Usage

# Last 30 days cost by service
aws ce get-cost-and-usage \
  --time-period Start=$(date -d '30 days ago' +%Y-%m-%d),End=$(date +%Y-%m-%d) \
  --granularity MONTHLY \
  --metrics BlendedCost \
  --group-by Type=DIMENSION,Key=SERVICE

# Daily costs for current month
aws ce get-cost-and-usage \
  --time-period Start=$(date +%Y-%m-01),End=$(date +%Y-%m-%d) \
  --granularity DAILY \
  --metrics UnblendedCost

Find Unused Resources

# Unattached EBS volumes
aws ec2 describe-volumes \
  --filters Name=status,Values=available \
  --query 'Volumes[*].[VolumeId,Size,VolumeType,CreateTime]' \
  --output table

# Unused Elastic IPs
aws ec2 describe-addresses \
  --query 'Addresses[?AssociationId==null].[PublicIp,AllocationId]' \
  --output table

# Idle EC2 instances (requires CloudWatch)
aws cloudwatch get-metric-statistics \
  --namespace AWS/EC2 \
  --metric-name CPUUtilization \
  --dimensions Name=InstanceId,Value=i-xxxxx \
  --start-time $(date -u -d '7 days ago' +%Y-%m-%dT%H:%M:%S) \
  --end-time $(date -u +%Y-%m-%dT%H:%M:%S) \
  --period 86400 \
  --statistics Average

# Old EBS snapshots (>90 days)
aws ec2 describe-snapshots \
  --owner-ids self \
  --query 'Snapshots[?StartTime<=`'$(date -d '90 days ago' --iso-8601)'`].[SnapshotId,StartTime,VolumeSize]' \
  --output table

Read the full file on GitHub · 199 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. 7d ago First seen · 199 lines · 19 tokens per session scan A 43cdf380dfef

Subscribe to this mod's changes

aws-cost-optimizer is a skill published in the GitHub repository STELIORD/agentic-awesome-skills (1 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 1,557 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to aws-cost-optimizer, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens