Skip to main content
command CX Codex

sustainability-optimization — Claude Code command

sustainability-optimization runs an AWS Well-Architected review limited to the Sustainability pillar and returns a report with a resource-efficiency table and a scorecard.

MIT-0 ★ 280 updated 2026-10-06

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/sustainability-optimization.md
Open on GitHub

What sustainability-optimization does

This slash command narrows the Well-Architected review down to a single pillar. It hands the aws-well-architected-framework-review skill a scope of Sustainability, so the rest of the framework stays out of the report.

The domain questions come from references/pillar-playbooks/sustainability.md. Five areas get checked: compute efficiency, the data lifecycle, architecture efficiency, development practice, and region or hardware choice. What comes back is a report with a table of resource-efficiency opportunities and a scorecard across those five domains.

Both pieces have to exist in the project — the playbook at that path and the review skill itself. The command only sets the scope; the analysis is the skill's job, so without it there is nothing to run.

What it helps with

  • review a workload against the Sustainability pillar alone
  • spot resource-efficiency wins in an existing stack
  • produce a five-domain scorecard for a sustainability report
  • check region and hardware choices against Well-Architected guidance
  • keep development practice in scope during an architecture review

Example prompts for the agent

  • Run the Well-Architected review scoped to Sustainability and show me where we waste resources.
  • Load references/pillar-playbooks/sustainability.md and build the report with the opportunities table and the five-domain scorecard.
  • Check this project against the Sustainability pillar and list findings on compute efficiency and the data lifecycle.

How to install sustainability-optimization

Manually: put the files in place

.claude/commands/sustainability-optimization.md

Call it with /sustainability-optimization. For all projects use ~/.claude/commands/

Questions about sustainability-optimization

How do I install sustainability-optimization in Claude Code?

Copy the command file into your project at .claude/commands/sustainability-optimization.md.

What does sustainability-optimization do?

It runs a Well-Architected review with the scope set to Sustainability and returns a report with resource-efficiency opportunities plus a scorecard across five domains.

What does the command need to work?

The aws-well-architected-framework-review skill and the playbook at references/pillar-playbooks/sustainability.md. The command passes the scope, and the skill carries out the review.

Source text

sustainability-optimization.md · MIT-0
Run a pillar-scoped Well-Architected review focused on the **Sustainability pillar**.

Follow the aws-well-architected-framework-review skill with scope set to Sustainability. Load `references/pillar-playbooks/sustainability.md` for domain-specific discovery (compute efficiency, data lifecycle, architecture efficiency, development practices, region/hardware). Produce a Sustainability report with resource efficiency opportunities table and 5-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

Similar slash commands

All slash commands for Cloud: AWS, Azure, GCP →

From the same set19

The whole set →
operational-excellence This command reviews the Operational Excellence pillar of AWS Well-Architected and returns a report with a maturity scorecard. Use it to examine CI/CD, observability, and incident management. CX Codex +1 ★ 280repo stars reliability-improvement-plan reliability-improvement-plan is a Claude Code command that runs a Well-Architected review of the Reliability pillar, checking fault tolerance, recovery, scaling, and change management. CX Codex +1 ★ 280repo stars cost-optimization-review cost-optimization-review runs an AWS Well-Architected review focused on cost optimization and generates a savings report. CX Codex +1 ★ 280repo stars performance-efficiency This command runs a Well-Architected review of the Performance Efficiency pillar and reports optimization opportunities across six domains. CX Codex +1 ★ 280repo stars prompt prompt audits AWS workloads against the Well-Architected Framework, surfacing risks in code and IaC without modifying repository files directly. CX Codex +1 ★ 280repo stars well-architected This rule applies AWS Well-Architected principles to architecture reviews, infrastructure code, and design advice. It helps agents organize findings and explain trade-offs. CX Codex +1 ★ 280repo stars wa-builder wa-builder explains AWS Well-Architected concepts for your project and generates annotated diagrams, decision trees, and remediation roadmaps. CX Codex +1 ★ 280repo stars migration-readiness The migration-readiness command analyzes a codebase to assess a workload’s readiness for AWS migration. Use it to surface blockers and map out a component-by-component migration plan. CX Codex +1 ★ 280repo stars

Project sponsors

Companies that keep this analytics open