Gcp finops investigation

From nwiizo/workspace_2026 · View interactive version

Gcp finops investigation is an AI agent skill from the GitHub repository nwiizo/workspace_2026. GCP プロジェクトの FinOps 調査・コスト削減分析。Billing Export (BigQuery)、Active Assist Recommender、CUD/SUD の誤認パターン、プロジェクト/フォルダ/組織階層での集計、レポート数値の分母混在を避けるための学び集。

How to use this skill

Skill file

GCP FinOps Investigation Skill

GCP 特有のコスト可視化・削減の学びのみを記載。一般的な GCP / FinOps 知識は含まない。

Trigger

参照するサブファイル

Core Principles

Phases

  1. 認証確立(gcloud ADC または SA 鍵、非対話環境で impersonation する場合はトークン生成経路を明示)
  2. 権限検証(Viewer/Billing Account Viewer/Recommender Viewer を冒頭で確認)
  3. Billing Export の BigQuery で大枠把握(Detailed export がある前提で SKU 内訳、なければ Console Reports)
  4. Recommender API で機械判定された削減候補取得(Idle VM、Unattached Disk、Idle Address、Idle Reservation)
  5. リソース棚卸し(Compute / Cloud SQL / GCS / BigQuery の並列 describe)
  6. 削減候補抽出(検出パターン + Recommender + CUD カバレッジ)
  7. レポート作成(3段階優先度、重複除外、前回差分)
  8. 独立レビュー(修正必須指摘に全対応)
  9. 学びを memory / CLAUDE.md に反映

Anti-Patterns

Output Discipline

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.