gcp-finops
GCP cost optimization and resilience skill. Use for GCP billing budget alerts, committed use discounts, sustained use discounts, cost allocation labels, GCP Recommender, Cloud SQL PITR, multi-region DR, and RTO/RPO planning. Triggers: GCP cost, billing, committed use discount, sustained use discount, cost optimization GCP, DR planning, RTO, RPO, disaster recovery GCP.
Works with
---
name: gcp-finops
description: GCP cost optimization and resilience skill. Use for GCP billing budget alerts, committed use discounts, sustained use discounts, cost allocation labels, GCP Recommender, Cloud SQL PITR, multi-region DR, and RTO/RPO planning. Triggers: GCP cost, billing, committed use discount, sustained use discount, cost optimization GCP, DR planning, RTO, RPO, disaster recovery GCP.
license: MIT
---
# GCP FinOps
## Iron Law
```
NO GCP COST WORK WITHOUT:
1. Verifying cost allocation labels are applied to all resources (project, service, environment)
2. A billing budget alert configured before committing spend
3. Using terraform-specialist agent for Committed Use Discount reservations (never manual console)
```
---
## This Skill vs Related Agents
| Task | Use This Skill | Use Which Agent |
|------|---------------|-----------------|
| Cost analysis, Recommender review | YES | — |
| Right-sizing Cloud Run services | YES + | `deployment-engineer` |
| CUD / Spend-based reservations (Terraform) | NO | `terraform-specialist` |
| Billing budget Terraform resource | YES (pattern here) | `terraform-specialist` (apply) |
| DR runbook, RTO/RPO planning | YES | — |
| Multi-region Cloud Run deploy pipeline | NO | `deployment-engineer` |
| Cloud SQL HA Terraform config | YES (pattern here) | `terraform-specialist` (apply) |
---
## Pattern Selector
```
What do you need?
|
+-- Reduce GCP spend / right-size resources?
| -> Load: reference/gcp-cost-optimization.md
| -> Section: Cloud Run Cost Optimization + Monthly Cost Audit Checklist
|
+-- Set up billing budget alerts?
| -> Load: reference/gcp-cost-optimization.md
| -> Section: GCP Billing Budget Alert (Terraform resource)
|
+-- Plan disaster recovery / set RTO+RPO targets?
| -> Load: reference/gcp-resilience-dr.md
| -> Section: RTO/RPO Targets by Tier
|
+-- Run GCP Recommender to find cost savings?
| -> Load: reference/gcp-cost-optimization.md
| -> Section: GCP Recommender — Cost Insights (gcloud commands)
|
+-- Cloud SQL HA or PITR recovery?
-> Load: reference/gcp-resilience-dr.md
-> Section: Cloud SQL High Availability + PITR Recovery
```
---
## GCP Cost Tools — Quick Reference
- **GCP Billing Console** — `console.cloud.google.com/billing` — cost breakdown by project, service, label
- **Cloud Cost Management** — cost table, cost breakdown report, budget history
- **GCP Recommender** — automated right-sizing, idle resource, and CUD recommendations (`gcloud recommender`)
- **Active Assist** — umbrella for all Recommender signals; surfaces in Cloud Console dashboard
- **Committed Use Discounts** — 1-yr (~37% off) or 3-yr (~55% off); resource-based or spend-based
- **Sustained Use Discounts** — automatic for Compute Engine VMs running >25% of month; no action needed
Deep patterns, gcloud snippets, and Terraform resources → reference files below.
---
## Reference Files
| File | Load When |
|------|-----------|
| `reference/gcp-cost-optimization.md` | Cost analysis, CUD/SUD, Cloud Run sizing, billing budgets, Recommender, label enforcement, monthly audit |
| `reference/gcp-resilience-dr.md` | RTO/RPO planning, Cloud SQL HA + PITR, multi-region Cloud Run, Global LB failover, Firestore multi-region, DR runbook |
---
## Cross-References
- **Terraform resources (CUD, budgets, SQL HA)**: Dispatch `terraform-specialist` agent to apply patterns from reference files
- **Cloud Run deployment / right-sizing**: Use `deployment-engineer` agent with sizing flags from `reference/gcp-cost-optimization.md`
- **Architecture decisions (multi-region)**: Use `architecture-design` skill + `architect` agent for ADR
- **Security review (WIF, IAM)**: Dispatch `security-reviewer` after any infrastructure change
- **Cloud Run functions**: See `gcp-cloud-run` skillRelated free tools on this site
More DevOps & Infrastructure skills
azure-ai
microsoft/azure-skills
Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.
appinsights-instrumentation
microsoft/azure-skills
Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices.
azure-storage
microsoft/azure-skills
Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake. Answers questions about storage access tiers (hot, cool, cold, archive), when to use each tier, and tier comparison. Provides object storage, SMB file shares, async messaging, NoSQL key-value, and big data analytics. Includes lifecycle management. USE FOR: blob storage, file shares, queue storage, table storage, data lake, upload files, download blobs, storage accounts, access tiers, storage tiers, hot cool cold archive, storage tier comparison, when to use storage tiers, lifecycle management, Azure Storage concepts. DO NOT USE FOR: SQL databases, Cosmos DB (use azure-prepare), messaging with Event Hubs or Service Bus (use azure-messaging).

