GCP Committed Use Discount (CUD) Advisor for Openclaw

An expert analysis tool that identifies the optimal mix of Google Cloud commitments to maximize cost savings and minimize financial risk.

anmolnagpal
v1.0.0
Mar 6, 2026
0
856
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cud-advisor

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cud-advisor using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is GCP Committed Use Discount (CUD) Advisor?

The GCP Committed Use Discount (CUD) Advisor is a specialized skill designed to help cloud architects and finance teams navigate the complexities of Google Cloud's discount structures. By analyzing exported usage data from Compute Engine, GKE, and Cloud Run, the skill provides high-fidelity recommendations on whether to leverage flexible spend-based commitments or higher-discount resource-based commitments.

This skill operates as an instruction-only advisor within the Openclaw Skills ecosystem, meaning it prioritizes security by analyzing data provided by the user rather than requiring direct access to GCP credentials. It bridges the gap between raw billing data and strategic financial planning, ensuring that organizations only commit to what they actually need.

GCP Committed Use Discount (CUD) Advisor Use Cases

  • Identifying steady-state baselines for Compute Engine and GKE workloads.
  • Calculating the optimal balance between flexible spend-based CUDs and resource-specific CUDs.
  • Analyzing coverage gaps where on-demand spend could be converted to discounted commitments.
  • Evaluating the break-even timeline for 1-year versus 3-year commitment terms.
  • Auditing existing CUD utilization to prevent over-commitment in variable environments.

How GCP Committed Use Discount (CUD) Advisor Works

  1. The user gathers usage and commitment data using provided read-only gcloud and BigQuery commands.
  2. The skill analyzes the history of compute spend to separate variable workloads from steady-state candidates.
  3. It evaluates workload types against the latest 2025 GCP discount rules, including support for Cloud Run and GKE Autopilot.
  4. The advisor calculates potential savings across Conservative, Balanced, and Aggressive risk scenarios.
  5. A final report is generated featuring a recommendation table, break-even analysis, and the exact CLI commands needed to apply the discounts.

GCP Committed Use Discount (CUD) Advisor Setup

To utilize this skill, you must provide data exported from your GCP environment. No credentials or API keys are required. Use the following commands to gather the necessary data:

# Get current commitment status
gcloud compute commitments list --format json

# Query 90-day usage history from BigQuery
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'

Once you have the output, paste it into the chat for the Openclaw Skills advisor to process.

GCP Committed Use Discount (CUD) Advisor Data Schema & Taxonomy

The skill organizes its analysis based on the following data taxonomy:

Component Description
Workload Type Classification of services like GCE, GKE Autopilot, or Cloud Run.
Discount Type Spend-based (flexible) vs. Resource-based (fixed) vs. SUDs.
Risk Tier Scenarios ranging from 30% to 80% coverage to mitigate over-commitment.
Coverage Gap The percentage of eligible spend currently billed at on-demand rates.
Break-even Monthly timeline required for the discount to offset the commitment cost.

GCP Committed Use Discount (CUD) Advisor Advanced Features

  • Support for modern GCP services including Cloud Run and GKE Autopilot in CUD calculations.
  • Combined discount modeling that accounts for the stacking of CUDs and Sustained Use Discounts (SUDs).
  • Automated generation of production-ready gcloud commands for commitment execution.
  • Multi-scenario risk modeling to help teams choose between conservative and aggressive financial postures.
  • Privacy-centric design that processes raw data exports without requiring account-level permissions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*