Skip to main content

gcp-cost-diagnosis-bq-billing-export

Diagnose GCP daily cost spikes from the BQ billing export when the user asks "why is X service so expensive", "why did GCP cost go up", "drill into Cloud Run spend", or any per-service or per-SKU cost breakdown for a GCP project. Encodes the working pattern when `bq query` returns the misleading "Aggregations of aggregations are not allowed" error on STRUCT field aggregations - query per-line (no GROUP BY) via subprocess, aggregate in Python. Also covers the cost-floor-vs-variable distinction (Cloud Run min-instance memory vs request memory, etc.) which is the fastest way to tell whether a daily spike is a new instance-footprint problem or just a traffic spike. Verified 2026-07-17 against project `worldarchitecture-ai` billing_export.gcp_billing_export_v1_011269_D08BDB_79D8F2 (Cloud Run $14.28/day breakdown with $8.93 min-inst-mem + $3.20 min-inst-CPU = $12.13 idle floor vs $2.09 request-driven).

跳到安装

来源信息

仓库
jleechanorg/claude-commands
最近来源活动
2026年8月2日 01:06
检测到的 SKILL.md 语言
英语
星标
3
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。