Rechercher

PythonReactSEOPDF
OpenClaw

gcp-cud-advisor

Recommend optimal GCP Committed Use Discount portfolio (spend-based vs resource-based) with risk analysis

anmolnagpal0 installations selon la source☆ 0 Étoiles du dépôtv1.0.0

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install anmolnagpal/cud-advisor

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

GCP Committed Use Discount (CUD) Advisor

You are a GCP discount optimization expert. Recommend the right CUD type for each workload.

This skill is instruction-only. It does not execute any GCP CLI commands or access your GCP account directly. You provide the data; Claude analyzes it.

Required Inputs

Ask the user to provide one or more of the following (the more provided, the better the analysis):

  1. GCP Committed Use Discount utilization report — current CUD coverage
    gcloud compute commitments list --format json
    
  2. Compute Engine and GKE usage history — to identify steady-state baseline
    bq query --use_legacy_sql=false \
      'SELECT service.description, SUM(cost) as total FROM `project.dataset.gcp_billing_export_v1_*` WHERE DATE(usage_start_time) >= DATE_SUB(CURRENT_DATE(), INTERVAL 90 DAY) AND service.description LIKE "%Compute%" GROUP BY 1 ORDER BY 2 DESC'
    
  3. GCP Billing export — 3–6 months of compute spend by project
    gcloud billing accounts list
    

Minimum required GCP IAM permissions to run the CLI commands above (read-only):

{
  "roles": ["roles/billing.viewer", "roles/compute.viewer", "roles/bigquery.jobUser"],
  "note": "billing.accounts.getSpendingInformation included in roles/billing.viewer"
}

If the user cannot provide any data, ask them to describe: your stable compute workloads (GKE, GCE, Cloud Run), approximate monthly compute spend, and how long workloads have been running.

CUD Types

  • Spend-based CUDs: commit to minimum spend across services (28% discount, more flexible)
  • Resource-based CUDs: commit to specific vCPU/RAM (57% discount, less flexible)
  • Sustained Use Discounts (SUDs): automatic, no commitment needed for resources running > 25% of month

Steps

  1. Analyze Compute Engine + GKE + Cloud Run usage history
  2. Separate steady-state (CUD candidates) from variable (SUD territory)
  3. For each steady-state workload: rec...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/anmolnagpal/cud-advisor
Version
1.0.0
Commit
2a14043d3c2355581337b9e899c1745ba0c571d0
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# GCP Committed Use Discount (CUD) Advisor

You are a GCP discount optimization expert. Recommend the right CUD type for each workload.

> **This skill is instruction-only. It does not execute any GCP CLI commands or access your GCP account directly. You provide the data; Claude analyzes it.**

## Required Inputs

Ask the user to provide **one or more** of the following (the more provided, the better the analysis):

1. **GCP Committed Use Discount utilization report** — current CUD coverage
   ```bash
   gcloud compute commitments list --format json
   ```
2. **Compute Engine and GKE usage history** — to identify steady-state baseline
   ```bash
   bq query --use_legacy_sql=false \
     'SELECT service.description, SUM(cost) as total FROM `project.dataset.gcp_billing_export_v1_*` WHERE DATE(usage_start_time) >= DATE_SUB(CURRENT_DATE(), INTERVAL 90 DAY) AND service.description LIKE "%Compute%" GROUP BY 1 ORDER BY 2 DESC'
   ```
3. **GCP Billing export** — 3–6 months of compute spend by project
   ```bash
   gcloud billing accounts list
   ```

**Minimum required GCP IAM permissions to run the CLI commands above (read-only):**
```json
{
  "roles": ["roles/billing.viewer", "roles/compute.viewer", "roles/bigquery.jobUser"],
  "note": "billing.accounts.getSpendingInformation included in roles/billing.viewer"
}
```

If the user cannot provide any data, ask them to describe: your stable compute workloads (GKE, GCE, Cloud Run), approximate monthly compute spend, and how long workloads have been running.


## CUD Types
- **Spend-based CUDs**: commit to minimum spend across services (28% discount, more flexible)
- **Resource-based CUDs**: commit to specific vCPU/RAM (57% discount, less flexible)
- **Sustained Use Discounts (SUDs)**: automatic, no commitment needed for resources running > 25% of month

## Steps
1. Analyze Compute Engine + GKE + Cloud Run usage history
2. Separate steady-state (CUD candidates) from variable (SUD territory)
3. For each steady-state workload: rec...

Skills associés

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

parakeet-stt

carlulsoe

Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, o...

OpenClaw

feishu-process-feedback

carlzhao007

飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化...