/google-cloud-waf-cost-optimization
Generates cost optimization guidance for Google Cloud workloads based on the Google Cloud Well-Architected Framework (WAF). Use this skill to evaluate a workload, identify cost requirements and constraints, and provide actionable recommendations for build, deploy, and manage the
$ npx -y skills add google/skills --skill google-cloud-waf-cost-optimization --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/google-cloud-waf-cost-optimization
Context preview
The summary Claude sees to decide when to auto-load this skill.
Generates cost optimization guidance for Google Cloud workloads based on the Google Cloud Well-Architected Framework (WAF). Use this skill to evaluate a workload, identify cost requirements and constraints, and provide actionable recommendations for build, deploy, and manage the
SKILL.md
google-cloud-waf-cost-optimization.SKILL.mdname: google-cloud-waf-cost-optimization
metadata:
category: WellArchitectedFramework
description: Generates cost optimization guidance for Google Cloud workloads based on the Google Cloud Well-Architected Framework (WAF). Use this skill to evaluate a workload, identify cost requirements and constraints, and provide actionable recommendations for build, deploy, and manage the workload cost-efficiently in Google Cloud.
Google Cloud Well-Architected Framework skill for the Cost Optimization pillar
Overview
The Cost Optimization pillar of the Google Cloud Well-Architected Framework provides a structured approach to optimize the costs of your cloud workloads while maximizing business value. Cloud costs differ significantly from on-premises capital expenditure (CapEx) models, requiring a shift to operational expenditure (OpEx) management and a culture of accountability (FinOps). The FinOps lifecycle consists of three iterative phases:
- **Inform**: Visibility and allocation. Always start with **Cloud Billing
reports** for built-in console visibility (filtered by department labels). Complement with **Looker Studio** for custom, shareable cross-departmental dashboards.
- **Optimize**: Rates and usage. Eliminate waste, right-size resources, and leverage commitments (**CUDs**, **SUDs**).
- **Operate**: Continuous improvement. Integrate cost management into delivery pipelines and establish governance.
Operational instructions
- **Comprehensive First**: Always provide a complete list of standard recommendations/strategies relevant to the service or scenario mentioned. Do not limit the scope or omit standard elements just because you are proposing follow-up questions.
- **Full Conjunction**: When an instruction bundles multiple actions (e.g., "A **AND** B"), you must mention and explain **BOTH** actions in your response explicitly.
- **Conditional Assessment**: Only use the 'Workload assessment questions' to refine advice *after* providing standard framework recommendations, unless the user explicitly asks for an interview or assessment first.
Core principles
The recommendations in the cost optimization pillar of the Well-Architected Framework are aligned with the following core principles:
- **Align cloud spending with business value**: Ensure that your cloud
resources deliver measurable business value by aligning IT spending with business objectives. Prioritize investments that directly contribute to revenue, customer satisfaction, or operational efficiency. Grounding document: https://docs.cloud.google.com/architecture/framework/cost-optimization/align-cloud-spending-business-value.md.txt
- **Foster a culture of cost awareness**: Ensure that people across your
organization consider the cost impact of their decisions and activities. Provide teams with the visibility and information they need to make informed, cost-conscious choices. Grounding document: https://docs.cloud.google.com/architecture/framework/cost-optimization/foster-culture-cost-awareness.md.txt
- **Optimize resource usage**: Provision only the resources that you need and
pay only for what you consume. Select the most cost-effective resource types, sizes, and locations that meet your technical and business requirements. Grounding document: https://docs.cloud.google.com/architecture/framework/cost-optimization/optimize-resource-usage.md.txt
- **Optimize continuously**: Continuously monitor your cloud resource usage and
costs, and proactively make adjustments as needed to optimize your spending. This iterative approach helps identify and address inefficiencies before they become significant. Grounding document: https://docs.cloud.google.com/architecture/framework/cost-optimization/optimize-continuously.md.txt
Relevant Google Cloud products
The following are _examples_ of Google Cloud products and features that are relevant to cost optimization:
- **Visibility and monitoring**:
- **Cloud Billing reports**: Built-in dashboards for visualizing spending and
trends. **Essential for visibility within the console.**
- **BigQuery billing export**: Enables granular, custom analysis of billing
data using SQL and BI tools.
- **Looker Studio**: Used for creating detailed, shared cost dashboards and
reports. **Use alongside Cloud Billing reports for custom visual insights.**
- **Billing alerts and budgets**: Automated notifications when spending
reaches predefined thresholds.
- **Storage Insights**: Used to analyze Cloud Storage access patterns and identify
cost-saving opportunities.
- **Automation and optimization tools**:
- **Recommender / Active Assist**: Automatically identifies idle resources,
rightsizing opportunities, and unused commitments.
- **Cloud Hub Optimization**: Integrates billing and resource utilization data
to help developers and application owners quickly identify their most expensive, fluctuating, or underutilized cloud resources.
- **FinOps hub**: Presents active savings and optimization opportunities in
one dashboard.
- **Billing quotas**: Limits on resource consumption to prevent unexpected
cost spikes.
- **Efficient infrastructure**:
- **Managed services and serverless services**: Services like Cloud Run, Cloud
Run functions, and GKE Autopilot reduce operational overhead and pay-per-use scaling.
- **Compute Engine**:
- **Committed Use Discounts (CUDs)**: Best for predictable, steady-state workloads.
- **Spot VMs**: Best for fault-tolerant, interruptible, or unpredictable batch tasks.
- **Sustained Use Discounts (SUDs)**: Passive, automatic discounts for instances running a significant portion of the month without commitments. **Always mention this as a passive alternative or complement to CUDs.**
- **Cloud Storage Lifecycle Policies**: Automated moves data to lower-cost
storage classes (Nearline, Coldline, Archive) based on age or acc
Read more
name: google-cloud-waf-cost-optimization metadata: category: WellArchitectedFramework description: Generates cost optimization guidance for Google Cloud workloads based on the Google Cloud Well-Architected Framework (WAF). Use this skill to evaluate a workload, identify cost requirements and constraints, and provide actionable recommendations for build, deploy, and manage the workload cost-efficiently in Google Cloud.
Google Cloud Well-Architected Framework skill for the Cost Optimization pillar
Overview
The Cost Optimization pillar of the Google Cloud Well-Architected Framework provides a structured approach to optimize the costs of your cloud workloads while maximizing business value. Cloud costs differ significantly from on-premises capital expenditure (CapEx) models, requiring a shift to operational expenditure (OpEx) management and a culture of accountability (FinOps). The FinOps lifecycle consists of three iterative phases:
- **Inform**: Visibility and allocation. Always start with **Cloud Billing
reports** for built-in console visibility (filtered by department labels). Complement with **Looker Studio** for custom, shareable cross-departmental dashboards.
- **Optimize**: Rates and usage. Eliminate waste, right-size resources, and leverage commitments (**CUDs**, **SUDs**).
- **Operate**: Continuous improvement. Integrate cost management into delivery pipelines and establish governance.
Operational instructions
- **Comprehensive First**: Always provide a complete list of standard recommendations/strategies relevant to the service or scenario mentioned. Do not limit the scope or omit standard elements just because you are proposing follow-up questions.
- **Full Conjunction**: When an instruction bundles multiple actions (e.g., "A **AND** B"), you must mention and explain **BOTH** actions in your response explicitly.
- **Conditional Assessment**: Only use the 'Workload assessment questions' to refine advice *after* providing standard framework recommendations, unless the user explicitly asks for an interview or assessment first.
Core principles
The recommendations in the cost optimization pillar of the Well-Architected Framework are aligned with the following core principles:
- **Align cloud spending with business value**: Ensure that your cloud
resources deliver measurable business value by aligning IT spending with business objectives. Prioritize investments that directly contribute to revenue, customer satisfaction, or operational efficiency. Grounding document: https://docs.cloud.google.com/architecture/framework/cost-optimization/align-cloud-spending-business-value.md.txt
- **Foster a culture of cost awareness**: Ensure that people across your
organization consider the cost impact of their decisions and activities. Provide teams with the visibility and information they need to make informed, cost-conscious choices. Grounding document: https://docs.cloud.google.com/architecture/framework/cost-optimization/foster-culture-cost-awareness.md.txt
- **Optimize resource usage**: Provision only the resources that you need and
pay only for what you consume. Select the most cost-effective resource types, sizes, and locations that meet your technical and business requirements. Grounding document: https://docs.cloud.google.com/architecture/framework/cost-optimization/optimize-resource-usage.md.txt
- **Optimize continuously**: Continuously monitor your cloud resource usage and
costs, and proactively make adjustments as needed to optimize your spending. This iterative approach helps identify and address inefficiencies before they become significant. Grounding document: https://docs.cloud.google.com/architecture/framework/cost-optimization/optimize-continuously.md.txt
Relevant Google Cloud products
The following are _examples_ of Google Cloud products and features that are relevant to cost optimization:
- **Visibility and monitoring**:
- **Cloud Billing reports**: Built-in dashboards for visualizing spending and
trends. **Essential for visibility within the console.**
- **BigQuery billing export**: Enables granular, custom analysis of billing
data using SQL and BI tools.
- **Looker Studio**: Used for creating detailed, shared cost dashboards and
reports. **Use alongside Cloud Billing reports for custom visual insights.**
- **Billing alerts and budgets**: Automated notifications when spending
reaches predefined thresholds.
- **Storage Insights**: Used to analyze Cloud Storage access patterns and identify
cost-saving opportunities.
- **Automation and optimization tools**:
- **Recommender / Active Assist**: Automatically identifies idle resources,
rightsizing opportunities, and unused commitments.
- **Cloud Hub Optimization**: Integrates billing and resource utilization data
to help developers and application owners quickly identify their most expensive, fluctuating, or underutilized cloud resources.
- **FinOps hub**: Presents active savings and optimization opportunities in
one dashboard.
- **Billing quotas**: Limits on resource consumption to prevent unexpected
cost spikes.
- **Efficient infrastructure**:
- **Managed services and serverless services**: Services like Cloud Run, Cloud
Run functions, and GKE Autopilot reduce operational overhead and pay-per-use scaling.
- **Compute Engine**:
- **Committed Use Discounts (CUDs)**: Best for predictable, steady-state workloads.
- **Spot VMs**: Best for fault-tolerant, interruptible, or unpredictable batch tasks.
- **Sustained Use Discounts (SUDs)**: Passive, automatic discounts for instances running a significant portion of the month without commitments. **Always mention this as a passive alternative or complement to CUDs.**
- **Cloud Storage Lifecycle Policies**: Automated moves data to lower-cost
storage classes (Nearline, Coldline, Archive) based on age or acc
This repository contains Agent Skills for Google products and technologies, including Google Cloud. This repository is under active development.
Repo: google/skills
Other skills on google-skills.
- /data-manager-api-audience-ingestion
Guides developers through managing (adding, removing, and clearing) audience members for Google products using the Data Manager API and its associated client libraries. Use this skill when the user wants to upload audience members, remove specific users, or clear/replace an
Open skill - /data-manager-api-event-ingestion
Guides developers through implementing event and conversion ingestion to Google products using the Data Manager API /v1/events/ingest endpoint and its associated client libraries. Use this skill when the user wants to upload offline conversions, enhanced conversions for leads,
Open skill - /data-manager-api-setup
Guides developers through client library installation and authentication setup steps for the Data Manager API. Use this skill when a user is getting started with the Data Manager API and needs to setup their local environment, install the client library, or setup access to the
Open skill - /google-ads-api-account-diagnostics
Diagnoses Google Ads account performance issues such as conversion loss (value or volume), low lead flow/volume, and lost impression share (opportunities) due to ad rank, bids, or budgets. Use when troubleshooting sudden performance drops, analyzing campaign impression share
Open skill - /google-ads-api-mcp-setup
Guides developers through downloading, configuring, and installing the official open-source Google Ads MCP Server. Use this skill when a user wants to connect their AI assistant (such as Gemini, Claude Code, or Cursor) to their Google Ads account to query campaigns or retrieve
Open skill - /google-ads-api-quickstart
Guides developers through Google Ads API quickstart: credential setup, choosing from 6 client libraries/REST, configuring environments, and running a "retrieve campaigns" script. Troubleshoots common setup errors: USER_PERMISSION_DENIED, login_customer_id issues, and
Open skill

