google-cloud-waf-cost-optimization
它能做什么
这个技能根据 Well-Architected Framework 的成本支柱,检查你的 Google Cloud 资源使用金钱的效率。它适用于希望有条理地降低云账单的团队。
适用场景
- ✓当你想分析 Google Cloud 支出或降低云账单的时候。
- ✓当你需要调整 Compute、GKE、存储或数据库资源规格的时候。
- ✓当你想比较承诺使用折扣或 Spot VM 等折扣选项的时候。
技能链接
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-waf-cost-optimization/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请查看我的 Google Cloud 支出,并告诉我哪些闲置或规格过大的资源在让我多付钱。”
每周 5 个新技能,1 分钟读完。
工作原理
它会逐一检查 Well-Architected Framework 的成本优化方面,涵盖可见性、规格调整、承诺和闲置容量。然后它会针对你的配置列出实用建议。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Google Cloud Well-Architected Framework skill for the Cost Optimization pillar
Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
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 reso
常见问题
它涵盖所有标准的成本策略吗?
涵盖。它会针对服务或场景给出相关建议的完整列表。
它涵盖安全或可靠性吗?
不涵盖。这些主题不在其范围内。
它推荐哪些可见性工具?
首先是 Cloud Billing 报告,自定义仪表板则推荐 Looker Studio。
详情
作者的原始描述
Evaluates Google Cloud workloads for cost efficiency and FinOps alignment using the Google Cloud Well-Architected Framework Cost Optimization pillar. Use when the user asks to analyze Google Cloud spend, reduce cloud bills, rightsize resources (for example, Compute, GKE, Storage, Databases), evaluate discount options (for example, CUDs, SUDs, Spot VMs), or eliminate idle capacity. Do not use for standalone product pricing lookups or non-cost architecture design.
repo: google/skills
热度
- GitHub 星标
- 22k
- 排名
- #10332
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
finding-google-skills
22k帮你的智能体为某项设置任务找到合适的 Google 指南,例如托管、数据库、存储、登录或 AI 模型服务。
gcloud
22k帮你的智能体编写并检查 Google Cloud gcloud 命令,在运行任何内容之前查阅准确的语法,避免猜测参数。
google-cloud-recipe-auth
22k引导你的智能体了解 Google Cloud 的身份与访问管理,包括人员和服务如何登录,以及它们各自获得哪些权限。
google-cloud-recipe-onboarding
22k带领新开发者完成在 Google Cloud 上的第一步,包括选择项目、关联计费,以及部署第一个资源。