cost-optimization-review — Claude Code command
cost-optimization-review runs an AWS Well-Architected review focused on cost optimization and generates a savings report.
MIT-0 ★ 280 updated 2026-10-06
.claude/commands/cost-optimization-review.mdWhat cost-optimization-review does
This command conducts a pillar-scoped assessment following the AWS Well-Architected Framework. It relies on the core framework review skill, setting its scope strictly to Cost Optimization.
To discover domain-specific findings, the command reads references/pillar-playbooks/cost-optimization.md. It inspects compute expenses, storage lifecycle rules, transfer fees, pricing models, and environment setups. Output includes a detailed report featuring a savings summary table alongside a 6-domain scorecard.
If the reference playbook file is missing from your workspace, the command cannot pull the required domain rules.
What it helps with
- Evaluate AWS workloads against the Well-Architected Cost pillar
- Detect waste in compute, data transfer, and storage setups
- Generate a 6-domain scorecard with projected savings
Example prompts for the agent
- Run /cost-optimization-review on this infrastructure
- Audit AWS spending with /cost-optimization-review
How to install cost-optimization-review
Manually: put the files in place
.claude/commands/cost-optimization-review.mdCall it with /cost-optimization-review. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/cost-optimization-review.mdCall it with /prompts:cost-optimization-review. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/cost-optimization-review.prompt.mdManually: put the files in place
.gemini/commands/cost-optimization-review.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about cost-optimization-review
How to install cost-optimization-review in Claude Code?
Place the command definition file at .claude/commands/cost-optimization-review.md in your project root.
What does cost-optimization-review do?
It reviews your workload against the AWS Cost Optimization pillar and generates a savings breakdown alongside a 6-domain scorecard.
What files does cost-optimization-review depend on?
It expects the aws-well-architected-framework-review skill and the playbook at references/pillar-playbooks/cost-optimization.md.
Source text
cost-optimization-review.md · MIT-0
Run a pillar-scoped Well-Architected review focused on the **Cost Optimization pillar**. Follow the aws-well-architected-framework-review skill with scope set to Cost. Load `references/pillar-playbooks/cost-optimization.md` for domain-specific discovery (compute costs, storage lifecycle, data transfer, pricing models, environment management). Produce a Cost report with savings summary table and 6-domain scorecard. <!-- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0 -->
© aws-samples · MIT-0 · aws-samples/sample-well-architected-skills-and-steering