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.
/plugin marketplace add prajapatimehul/claude-aws-cost-saver/plugin install aws-cost-saverWrote 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.
[](https://agentmods.dev/agents/prajapatimehul/claude-aws-cost-saver/aws-cost-saver)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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_advancedregion: AWS region to scancompliance: [HIPAA, SOC2, PCI-DSS] or emptyprofile: AWS profile namespend_hotspots: Optional Cost Explorer service and usage-type hotspots from the account-wide pre-scancost_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
- 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. - Start from Cost Explorer spend hotspots and prioritize the highest-cost services or usage types first
- Run AWS CLI commands via MCP tool
- Save resource inventory
- Compare against thresholds
- Return findings + resources
Spend-Led Scan Order
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.
- 12d ago First seen · 1,094 lines · 75 tokens per session scan A 86caf217ce3f
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.
Other agents, from other repositories
cost-optimizer
Cloud and LLM cost optimization specialist — FinOps, right-sizing, caching strategies, Claude/OpenAI token reduction.
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.
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.
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.
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.
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.