Skip to main content
skill Claude Code Gemini CLI CX Codex official · Google

google-cloud-waf-sustainability — Claude Code skill: setup

Assesses Google Cloud workloads for sustainability, carbon emissions, and energy use. Use it when designing or tuning cloud architecture with environmental limits in mind.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add google/skills --skill google-cloud-waf-sustainability -a claude-code
Open on GitHub

What google-cloud-waf-sustainability does

This skill reviews Google Cloud workloads against the Sustainability pillar of the Google Cloud Well-Architected Framework. It covers shared responsibility, region selection using Carbon-Free Energy indicators, idle resource reduction, rightsizing, and scale-to-zero patterns.

It also addresses energy-efficient AI/ML, specialized hardware, software activity, storage lifecycles, and emissions tracking through Google Cloud Carbon Footprint. BigQuery can be used to analyze exported emissions and billing data, while Google Cloud Region Picker, Active Assist / Recommender, and Cloud Batch support related infrastructure decisions.

The skill is available for Claude Code, Gemini CLI, and Codex. Before running gcloud, REST API, or MCP commands, read the instructions in references/attribution.md. That requirement matters when the review moves from recommendations to command execution.

What it helps with

  • assess a Google Cloud workload for sustainability
  • choose a region with lower-carbon energy
  • reduce idle compute and oversized virtual machines
  • set storage lifecycle rules for older data
  • track emissions with Google Cloud Carbon Footprint

Example prompts for the agent

  • Assess this Google Cloud workload using the Sustainability pillar of the Well-Architected Framework, then ask me the relevant constraint questions.
  • Compare deployment regions using Carbon-Free Energy, cost, and latency.
  • Review this AI/ML and storage design for energy waste and suggest changes supported by Google Cloud Carbon Footprint.

How to install google-cloud-waf-sustainability

1Skills CLI (Vercel)

npx skills add google/skills --skill google-cloud-waf-sustainability -a claude-code

2Manually: put the files in place

~/.claude/skills/google-cloud-waf-sustainability/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/google-cloud-waf-sustainability/

From the same set172

The whole set →
bigquery-basics official google Manages BigQuery resources and runs SQL queries. Use it to create datasets, tables and views, or handle basic data ingestion and analysis. Claude Code Gemini CLI CX Codex 17,678installs cloud-run-basics official google This skill helps an agent manage Cloud Run services, jobs, and worker pools when a project needs HTTP deployment, scheduled work, or pull-based background processing. Claude Code Gemini CLI CX Codex 17,532installs gemini-api official google Connects Gemini API from Google Cloud Agent Platform to the agent. Gives access to Gemini models, multimodal input, function calling, and context caching. Claude Code Gemini CLI CX Codex 17,116installs google-cloud-recipe-auth official Google LLC This skill explains Google Cloud authentication and permissions. Use it when setting up IAM, ADC, or service accounts for local code and production workloads. Claude Code Gemini CLI CX Codex 15,450installs google-cloud-recipe-onboarding official Google LLC Guides a developer through a first Google Cloud project: CLI checks, sign-in, project setup and billing. It fits a personal first project. Claude Code Gemini CLI CX Codex 15,390installs cloud-sql-basics official google This skill helps create and explain Cloud SQL resources for MySQL, PostgreSQL, and SQL Server. Use it when setting up a database in Google Cloud. Claude Code Gemini CLI CX Codex 14,679installs google-cloud-waf-security official google This skill reviews Google Cloud workloads against the security pillar of the Well-Architected Framework and suggests actions for IAM, networks, data, and operations. Claude Code Gemini CLI CX Codex 14,620installs google-cloud-waf-cost-optimization official google Reviews Google Cloud workloads through the Well-Architected Cost Optimization pillar. Use it to inspect spending, resize resources, assess discounts, or find idle capacity. Claude Code Gemini CLI CX Codex 14,266installs

Similar

sandbox-migrate-to-next cloudflare Skill guides migration of Cloudflare Sandbox applications from the stable @cloudflare/sandbox package to the prerelease @cloudflare/sandbox@next (SDK 1.0). Use it when preparing code for the future stable release. Claude Code CX Codex Cursor +1 66,900installs dotnet-upgrade official github Plan a .NET upgrade by reviewing project dependencies, choosing a migration order and preparing post-upgrade checks. GitHub Copilot 11,475installs expo-dev-client expo Skill for building and distributing custom Expo development clients to physical devices via local builds or TestFlight. Use it when your app includes native code, Apple widgets, or third-party native modules not in Expo Go. Claude Code CX Codex Cursor +1 70,000installs create-github-action-workflow-specification official github This skill turns an existing GitHub Actions workflow into a formal specification for AI-assisted maintenance and review. GitHub Copilot 10,745installs wizard Matt Pocock This skill creates an interactive bash wizard for manual setup steps, CI secrets, third-party dashboards, and one-off migrations. Claude Code 553,369installs hyperframes-cli heygen-com Controls HyperFrames video workflows from the CLI: audits layouts and contrast, edits timeline clips, captures snapshots, and renders locally or in cloud runtimes. Claude Code CX Codex Cursor +1 1,200,000installs setup-pre-commit Matt Pocock This skill configures pre-commit checks for a JavaScript repository, running Prettier, type checking, and tests before each commit. Claude Code 489,289installs using-git-worktrees Jesse Vincent Prepares an isolated workspace before feature work or plan execution. It checks the repository first, then uses native worktree support or Git. Claude Code CX Codex 217,153installs

Questions about google-cloud-waf-sustainability

How do I install google-cloud-waf-sustainability in Claude Code?

Run npx skills add google/skills --skill google-cloud-waf-sustainability -a claude-code, then run the same command again: npx skills add google/skills --skill google-cloud-waf-sustainability -a claude-code. Then open ~/.claude/skills/google-cloud-waf-sustainability/SKILL.md.

What does google-cloud-waf-sustainability do?

The skill assesses Google Cloud workloads through the sustainability guidance in the Well-Architected Framework. It covers carbon emissions, energy use, region choice, resource allocation, AI/ML, storage, and Google Cloud Carbon Footprint.

Which platforms support google-cloud-waf-sustainability?

The skill supports Claude Code, Gemini CLI, and Codex.

Source text

SKILL.md · Apache-2.0
---
name: google-cloud-waf-sustainability
metadata:
  version: "1.0.2"
  category: WellArchitectedFramework
description: >-
  Provides recommendations for environmental sustainability, carbon footprint
  reduction, and energy efficiency based on the Sustainability pillar of the
  Google Cloud Well-Architected Framework (WAF). Use when the user asks to
  assess, design, or optimize Google Cloud workloads for sustainability—including
  the shared responsibility model, selecting low-carbon regions (CFE%), reducing
  resource and AI/ML energy waste, designing efficient software and storage
  lifecycles, or measuring and tracking emissions using Google Cloud Carbon Footprint.
  Don't use for financial cost reduction (use google-cloud-waf-cost-optimization),
  latency and throughput tuning (use google-cloud-waf-performance-optimization),
  or high availability and disaster recovery (use google-cloud-waf-reliability).
---

# Google Cloud Well-Architected Framework skill for the Sustainability pillar

## Attribution

**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you
MUST read and follow the instructions in
[Usage Attribution](references/attribution.md).

## Overview

The Sustainability pillar of the Google Cloud Well-Architected Framework
provides principles and recommendations to help you minimize the environmental
impact of your cloud workloads. It focuses on a shared responsibility
model—Google optimizes the sustainability *of* the cloud, while customers
optimize sustainability *in* the cloud. By making informed decisions about
architecture, resource allocation, and region selection, you can significantly
reduce your carbon footprint and improve overall energy efficiency.

## Core principles

The recommendations in the sustainability pillar of the Well-Architected
Framework are aligned with the following core principles:

-   **Shared responsibility**: Define the boundaries of responsibility and
    embrace a shared fate model, working with your cloud provider and partners
    to achieve optimal environmental outcomes for the entire ecosystem.
    Grounding document:
    https://docs.cloud.google.com/architecture/framework/sustainability.md.txt

-   **Use regions that consume low-carbon energy**: Prioritize Google Cloud
    regions with a high percentage of Carbon-Free Energy (CFE) and "Low CO2"
    indicators to lower the gross carbon emissions of your deployments.
    Grounding document:
    https://docs.cloud.google.com/architecture/framework/sustainability/low-carbon-regions.md.txt

-   **Optimize AI and ML workloads**: Maximize computations per watt by matching
    algorithmic needs to specialized hardware (like TPUs) and applying
    mathematical techniques to reduce computational complexity. Grounding
    document:
    https://docs.cloud.google.com/architecture/framework/sustainability/ai-ml-energy-efficiency.md.txt

-   **Optimize resource usage**: Eliminate energy waste by scaling resources to
    zero when idle, rightsizing virtual machines, and prioritizing managed
    services that dynamically match actual demand. Grounding document:
    https://docs.cloud.google.com/architecture/framework/sustainability/optimize-resource-usage.md.txt

-   **Develop energy-efficient software**: Design your applications to minimize
    unnecessary CPU, memory, and network activity on both backend servers and
    end-user devices by using event-driven logic and optimized assets. Grounding
    document:
    https://docs.cloud.google.com/architecture/framework/sustainability/energy-efficient-software.md.txt

-   **Optimize data and storage**: Reduce the environmental footprint of your
    storage by implementing lifecycle management to archive cold data and
    eliminating "dark data" that provides no business value. Grounding document:
    https://docs.cloud.google.com/architecture/framework/sustainability/optimize-storage.md.txt

-   **Continuously measure and improve**: Gain visibility into your carbon
    emissions by analyzing granular data, identifying hotspots, and taking
    proactive steps to remediate inefficiencies. Grounding document:
    https://docs.cloud.google.com/architecture/framework/sustainability/continuously-measure-improve.md.txt

-   **Promote a culture of sustainability**: Embed sustainability into your
    organizational governance, connect technical decisions to environmental
    goals, and ensure staff have the skills to implement green practices.
    Grounding document:
    https://docs.cloud.google.com/architecture/framework/sustainability/culture.md.txt

-   **Align sustainability practices with industry guidelines**: Ensure that
    your sustainability initiatives are aligned with industry guidelines for
    measurement, reporting, and verification, such as W3C Web Sustainability
    Guidelines, Green Software Foundation, and Greenhouse Gas Protocol.
    Grounding document:
    https://docs.cloud.google.com/architecture/framework/sustainability/industry-guidelines.md.txt

## Relevant Google Cloud products

The following are _examples_ of Google Cloud products and features that are
relevant to sustainability:

-   **Visibility and measurement**:
    -   **Carbon Footprint**: Provides dashboard visibility into greenhouse gas
        emissions associated with Google Cloud usage.
    -   **BigQuery**: Analyzes exported Carbon Footprint data alongside billing
        data to identify emission hotspots.

-   **Infrastructure and operations**:
    -   **Google Cloud Region Picker**: Helps weigh carbon footprint, cost, and
        latency when selecting deployment locations.
    -   **Active Assist / Recommender**: Automatically identifies idle resources
        and provides VM rightsizing recommendations to reduce waste.
    -   **Cloud Run / GKE Autopilot**: Fully managed compute environments that
        optimize cluster usage and can scale to zero when idle.
    -   **Cloud Batch**: Optimizes the scheduling of batch jobs, allowing
        execution during periods of high Carbon-Free Energy.
    -   **Spot VMs**: Utilizes unused data center capacity for fault-tolerant
        workloads, improving overall hardware efficiency.

-   **Data and AI**:
    -   **Cloud Storage Lifecycle Management**: Automatically transitions older
        data to lower-energy storage classes (Nearline, Coldline, Archive).
    -   **Cloud TPUs**: Specialized hardware optimized for the energy efficiency
        of large-scale AI/ML matrix multiplications.

## Workload assessment questions

Ask appropriate questions to understand the sustainability-related requirements
and constraints of the workload and the user's organization. Choose questions
from the following list:

-   **Cloud sustainability**:
    -   How do you define the boundaries of sustainability responsibility
        between your organization and your cloud provider?
    -   How do you leverage cloud capabilities and AI to drive sustainability
        outcomes for your broader business operations?
    -   How does your cloud strategy account for the sustainability impact of
        your partner ecosystem and multi-cloud environments?

-   **Use regions that consume low-carbon energy**:
    -   How do you incorporate carbon intensity into your Google Cloud region
        selection strategy?

-   **Optimize AI and ML workloads**:
    -   How do you optimize the energy efficiency of your AI and machine
        learning lifecycles?

-   **Optimize resource usage**:
    -   How do you ensure your infrastructure footprint dynamically matches
        actual workload demand?
    -   How do you select and maintain the hardware types used for your cloud
        workloads?
    -   What is your strategy for handling non-urgent or compute-intensive
        background tasks?
    -   How do you balance the need for high availability and disaster recovery
        with sustainability?

-   **Develop energy-efficient software**:
    -   How do you ensure your backend logic minimizes unnecessary CPU, memory,
        and network activity?
    -   How do you manage the overall efficiency and maintenance of your
        codebase for sustainability?
    -   How do you minimize the data volume and processing load that your
        application places on end-user devices?
    -   How does your user experience (UX) design contribute to energy
        efficiency for the end user?

-   **Optimize data and storage**:
    -   What process do you have for managing the environmental footprint of
        your data and storage?

-   **Continuously measure and improve**:
    -   How do you analyze your carbon data to prioritize optimization efforts?
    -   How is sustainability measurement embedded into your organization’s
        governance and culture?
    -   What is your current process for gaining visibility into your
        cloud-related carbon emissions?
    -   What proactive steps do you take to remediate identified carbon
        hotspots?

-   **Promote a culture of sustainability**:
    -   How do you connect individual technical decisions to the organization's
        mission and hold teams accountable for results?
    -   How do you ensure your technical and business staff have the specific
        skills required to implement sustainability practices?

## Validation checklist

Use the following checklist to evaluate the architecture's alignment with
sustainability recommendations:

-   **Cloud sustainability**:
    -   [ ] The organization embraces a shared responsibility and shared fate
        model for sustainability.
    -   [ ] AI is used as a catalyst for profitability and resilience to
        streamline operations, or sustainability is integrated into the design
        process to create positive feedback loops.
    -   [ ] Collaborations with sustainable partners are prioritized and
        multi-cloud data portability is leveraged, or internal practices align
        with recognized global standards like the Green Software Foundation.

-   **Use regions that consume low-carbon energy**:
    -   [ ] A data-driven policy prioritizes regions with high Carbon-Free
        Energy (CFE%) and "Low CO2" indicators, or the Google Cloud Region
        Picker is actively used to balance carbon footprint with cost and
        latency.

-   **Optimize AI and ML workloads**:
    -   [ ] Algorithmic needs are matched to specialized hardware (TPUs) to
        maximize computations per watt, or mathematical techniques like model
        compression and PEFT are applied to reduce computational complexity.

-   **Optimize resource usage**:
    -   [ ] Fully managed services that scale to zero when idle are utilized, or
        Horizontal Pod Autoscaling (HPA) and Vertical Pod Autoscaling (VPA) are
        used in GKE to prevent over-provisioning.
    -   [ ] A formal process exists to upgrade to the newest machine types for
        improved performance-per-watt, or workloads are actively matched to
        specialized machine families.
    -   [ ] Batch jobs are proactively scheduled to run during periods or in
        regions with the highest proportion of CFE, or Spot VMs are utilized for
        non-critical batch jobs.
    -   [ ] "Cold DR" or serverless failover is prioritized to ensure secondary
        regions remain at zero energy consumption until an event occurs, or
        Infrastructure as Code (IaC) is used to rapidly provision a recovery
        environment only when needed.

-   **Develop energy-efficient software**:
    -   [ ] Resource-intensive busy loops or constant polling are replaced with
        event-driven logic, or algorithms with optimal time complexity and data
        structures are prioritized.
    -   [ ] The "Don't Repeat Yourself" (DRY) principle is adhered to with
        regular refactoring, or intelligent caching (e.g., Memorystore) is
        implemented with smart eviction policies.
    -   [ ] The download size of website products is measured and maintained
        against a strict budget, or CI/CD pipelines automate the minimization
        and compression of HTML, CSS, and JS files.
    -   [ ] Static sites or Progressive Web Apps (PWAs) are preferred for faster
        loading, or DOM manipulation is minimized to reduce device power
        consumption.

-   **Optimize data and storage**:
    -   [ ] Object Lifecycle Management is used to automatically move cold data
        to Archive storage, or discovery techniques (e.g., Dataplex) are used to
        identify and eliminate "dark data".

-   **Continuously measure and improve**:
    -   [ ] Carbon data is analyzed by project, region, and service to identify
        gross emitters, or carbon data is joined with Billing data in BigQuery
        to correlate cost and environmental impact.
    -   [ ] A formal GreenOps function defines accountability for carbon
        reduction targets, or verified Carbon Footprint data from BigQuery
        supports formal ESG disclosures.
    -   [ ] Applications are instrumented to measure the specific carbon
        intensity of software features, or automated exports of Carbon Footprint
        data to BigQuery are configured for deep analysis.
    -   [ ] The unattended project recommender and Active Assist are regularly
        used to decommission idle resources, or proactive projects re-architect
        hotspots by shifting workloads to low-carbon regions.

-   **Promote a culture of sustainability**:
    -   [ ] Abstract carbon metrics are transformed into tangible progress
        indicators in annual reports, or sustainability is treated as a
        first-class technical requirement (NFR) tied to KPIs and performance
        reviews.
    -   [ ] Training tailored to specific job roles (e.g., developers on code
        efficiency, FinOps on carbon unit economics) is provided, or teams are
        formally trained to access and interpret carbon footprint data.

© google · Apache-2.0 · google/skills

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor