aws-cost-saver

aws-cost-saver is an agent for Claude Code from prajapatimehul/claude-aws-cost-saver. It costs 75 tokens per session (10,996 once invoked), scanned A, original, MIT.

An AWS cost-checking agent that scans one area of an Amazon Web Services account for possible savings. It covers services such as servers, storage, databases, networking, serverless functions, and containers, with 180 checks across 11 areas.

In plain words
What is it for?
Use it to inspect a chosen AWS area in a region, optionally using account spending hotspots, Compute Optimizer recommendations, or compliance requirements such as HIPAA, SOC 2, or PCI-DSS.
Why use it?
It helps locate unused resources, expensive configurations, data-transfer costs, and other account spending hotspots that are easy to miss.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the aws-cost-saver plugin — 2 skills, 1 command, 1 agent, 1 hook, 1 MCP server shipped together

Good fit Use it to inspect a chosen AWS area in a region, optionally using account spending hotspots, Compute Optimizer recommendations, or compliance requirements such as HIPAA, SOC 2, or PCI-DSS.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add prajapatimehul/claude-aws-cost-saver
Claude Code
/plugin install aws-cost-saver

Made for: Claude Code.

Or install aws-cost-saver, the plugin that ships this one along with the rest of its 2 skills, 1 command, 1 agent, 1 hook, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/prajapatimehul/claude-aws-cost-saver/aws-cost-saver/github.svg)](https://agentmods.dev/agents/prajapatimehul/claude-aws-cost-saver/aws-cost-saver)
Your own site
<a href="https://agentmods.dev/agents/prajapatimehul/claude-aws-cost-saver/aws-cost-saver"><img src="https://agentmods.dev/badge/agents/prajapatimehul/claude-aws-cost-saver/aws-cost-saver/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-saver

Your own site · 80×15
<a href="https://agentmods.dev/agents/prajapatimehul/claude-aws-cost-saver/aws-cost-saver"><img src="https://agentmods.dev/badge/agents/prajapatimehul/claude-aws-cost-saver/aws-cost-saver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 10,996 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 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.00075 $0.10996
Opus 5 $0.00037 $0.05498
Sonnet 5 $0.00015 $0.02199
Haiku 4.5 $0.00007 $0.01100

Measured 12d ago against content hash 86caf217ce3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

aws-cost-saver 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 12d 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/aws-cost-saver/agents/aws-cost-saver.md · 1,094 lines

How it starts

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

AWS Cost Optimization Scanner

Scan ONE domain for cost optimization findings.

Input

  • domain: compute | storage | database | networking | serverless | reservations | containers | advanced_databases | analytics | data_pipelines | storage_advanced
  • region: AWS region to scan
  • compliance: [HIPAA, SOC2, PCI-DSS] or empty
  • profile: AWS profile name
  • spend_hotspots: Optional Cost Explorer service and usage-type hotspots from the account-wide pre-scan
  • cost_optimization_hub_recommendations: Optional accelerator input if Cost Optimization Hub is enabled

11 Domains (180 checks total)

Domain Checks Resources
compute 28 EC2, EBS, AMIs, snapshots, EIPs, Compute Optimizer, Cost Optimization Hub
storage 24 S3, EFS, CloudWatch Logs, CloudTrail, Secrets Manager
database 17 RDS (incl. extended support), DynamoDB, ElastiCache (incl. Valkey migration)
networking 19 NAT, ELB, VPC endpoints, public IPv4, data transfer, Route 53
serverless 11 Lambda, API Gateway, SQS, Step Functions
reservations 13 RI coverage, Savings Plans (incl. Database SP), purchase recommendations
containers 17 ECS, EKS (incl. extended support versions), Fargate, ECR
advanced_databases 18 Aurora, DocumentDB, Neptune, Redshift
analytics 15 SageMaker, EMR, OpenSearch, QuickSight
data_pipelines 12 Kinesis, MSK, Glue, EventBridge
storage_advanced 6 FSx, AWS Backup

Workflow

  1. Read the check definitions for your domain from ${CLAUDE_PLUGIN_ROOT}/checks/all_checks.yaml. If that variable is not expanded in your prompt, locate the file with Glob (**/aws-cost-saver/checks/all_checks.yaml) — it is bundled with this plugin.
  2. Start from Cost Explorer spend hotspots and prioritize the highest-cost services or usage types first
  3. Run AWS CLI commands via MCP tool
  4. Save resource inventory
  5. Compare against thresholds
  6. Return findings + resources

Spend-Led Scan Order

Read the full file on GitHub · 1,094 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. 12d ago First seen · 1,094 lines · 75 tokens per session scan A 86caf217ce3f

Subscribe to this mod's changes

aws-cost-saver is an agent published in the GitHub repository prajapatimehul/claude-aws-cost-saver (22 stars, last pushed 2mo ago), licensed MIT. It adds 75 tokens to every session and 10,996 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.

Related

Other agents, from other repositories

cost-optimizer

Cloud and LLM cost optimization specialist — FinOps, right-sizing, caching strategies, Claude/OpenAI token reduction.

TheBeardedBearSAS/claude-craft · 26 tokens

Allocation & Policy Architect

Designs the allocation taxonomy (tags, labels, accounts) and enforces it via policy-as-code at resource creation time. Tag hygiene plus policy guardrails -- "we should not do X" becomes "X cannot be deployed." Owns the FOCUS Tags column at the source.

Cletrics/finops-agents · 62 tokens

Idle & Orphaned Resource Hunter

Enumerates and decommissions idle compute, orphaned EBS snapshots, idle load balancers, and zombie NAT Gateways. The single hunter for the four highest-frequency waste patterns in cloud accounts -- one runbook, one inventory, one savings tracker.

Cletrics/finops-agents · 59 tokens

Workload Cost Optimizer

Compute-pattern specialist for ML training/inference, serverless (Lambda/Cloud Functions/Azure Functions), and spot/preemptible/low-priority strategies. One agent for the three highest-leverage workload-shape decisions in modern cloud architecture.

Cletrics/finops-agents · 54 tokens

Kubernetes Workload Optimizer

Tunes container resource requests/limits AND node-level autoscaling (Karpenter, Cluster Autoscaler) for the right balance of cost, scheduling latency, and pod stability. Covers VPA-driven rightsizing and consolidation policy in one discipline.

Cletrics/finops-agents · 54 tokens

Cloud Onboarding Coordinator

Runs the cost-transparent migration process for workloads moving into cloud, between clouds, or between accounts/subscriptions. Designs the intake gate that prevents new workloads from landing untagged, unallocated, and unforecast.

Cletrics/finops-agents · 47 tokens