agentleFS
kumaran-iskumaran-is/claude-code-onboarding/.claude/skills/gcp-finops/SKILL.md

gcp-finops

Skill35 starsChanged 6 months agoMITView on GitHub

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.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Cloud Run deployment / right-sizing: Use deployment-engineer agent with sizing flags from reference/gcp-cost-optimization.md

    line 95
  2. Very specific:

    Architecture decisions (multi-region): Use architecture-design skill + architect agent for ADR

    line 96

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

TaskUse This SkillUse Which Agent
Cost analysis, Recommender reviewYES—
Right-sizing Cloud Run servicesYES +deployment-engineer
CUD / Spend-based reservations (Terraform)NOterraform-specialist
Billing budget Terraform resourceYES (pattern here)terraform-specialist (apply)
DR runbook, RTO/RPO planningYES—
Multi-region Cloud Run deploy pipelineNOdeployment-engineer
Cloud SQL HA Terraform configYES (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

FileLoad When
reference/gcp-cost-optimization.mdCost analysis, CUD/SUD, Cloud Run sizing, billing budgets, Recommender, label enforcement, monthly audit
reference/gcp-resilience-dr.mdRTO/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 skill

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.