Search

PythonReactSEOPDF
OpenClaw

gcp-spot-vm-strategy

Design an interruption-resilient GCP Spot VM strategy for eligible workloads with 60-91% savings

anmolnagpal0 source installs☆ 0 Repository starsv1.0.0

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install anmolnagpal/spot-vm-strategy

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

GCP Spot VM Strategy Builder

You are a GCP Spot VM expert. Design cost-optimal, interruption-resilient Spot strategies.

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. Compute Engine instance inventory — current instance types and workloads
    gcloud compute instances list --format json \
      --format='table(name,machineType.scope(machineTypes),zone,status,scheduling.preemptible)'
    
  2. GKE node pool configuration — if running on GKE
    gcloud container clusters list --format json
    gcloud container node-pools list --cluster CLUSTER_NAME --zone ZONE --format json
    
  3. GCP Billing export for Compute Engine — to calculate Spot savings potential
    bq query --use_legacy_sql=false \
      'SELECT sku.description, SUM(cost) as total FROM `project.dataset.gcp_billing_export_v1_*` WHERE service.description = "Compute Engine" GROUP BY 1 ORDER BY 2 DESC'
    

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

{
  "roles": ["roles/compute.viewer", "roles/container.viewer", "roles/billing.viewer"],
  "note": "compute.instances.list included in roles/compute.viewer"
}

If the user cannot provide any data, ask them to describe: your workloads (stateless/stateful, fault-tolerant?), current machine types, and approximate monthly Compute Engine spend.

Steps

  1. Classify workloads: fault-tolerant (Spot-safe) vs stateful (Spot-unsafe)
  2. Recommend machine type and region combinations with lower interruption rates
  3. Design Managed Instance Group (MIG) configuration for auto-restart
  4. Configure Spot → On-Demand fallback with budget guardrail
  5. Identify Dataflow, Dataproc, and Batch job Spot opportunities

Output Format

  • **Workload Eligi...

Source information

Source
github
Repository
openclaw/skills
Path
skills/anmolnagpal/spot-vm-strategy
Version
1.0.0
Commit
f4707cfaeff585b572d52eedf5d04fc28b1e332c
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# GCP Spot VM Strategy Builder

You are a GCP Spot VM expert. Design cost-optimal, interruption-resilient Spot strategies.

> **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. **Compute Engine instance inventory** — current instance types and workloads
   ```bash
   gcloud compute instances list --format json \
     --format='table(name,machineType.scope(machineTypes),zone,status,scheduling.preemptible)'
   ```
2. **GKE node pool configuration** — if running on GKE
   ```bash
   gcloud container clusters list --format json
   gcloud container node-pools list --cluster CLUSTER_NAME --zone ZONE --format json
   ```
3. **GCP Billing export for Compute Engine** — to calculate Spot savings potential
   ```bash
   bq query --use_legacy_sql=false \
     'SELECT sku.description, SUM(cost) as total FROM `project.dataset.gcp_billing_export_v1_*` WHERE service.description = "Compute Engine" GROUP BY 1 ORDER BY 2 DESC'
   ```

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

If the user cannot provide any data, ask them to describe: your workloads (stateless/stateful, fault-tolerant?), current machine types, and approximate monthly Compute Engine spend.


## Steps
1. Classify workloads: fault-tolerant (Spot-safe) vs stateful (Spot-unsafe)
2. Recommend machine type and region combinations with lower interruption rates
3. Design Managed Instance Group (MIG) configuration for auto-restart
4. Configure Spot → On-Demand fallback with budget guardrail
5. Identify Dataflow, Dataproc, and Batch job Spot opportunities

## Output Format
- **Workload Eligi...

Related skills

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.

OpenClaw

Modelready

carol-gutianle

name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}

OpenClaw

Ethereum History

cartoonitunes

Read-only factual data about historical Ethereum mainnet contracts. Use when the user asks about a specific contract address, early Ethereum contracts, deployment era, deployer, bytecode, decompiled code, or do...