TopRank Skills

Home / Claw Skills / Autres / gcp-spot-vm-strategy
Official OpenClaw rules 15%

gcp-spot-vm-strategy

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

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 gcp-spot-vm-strategy 技能。 若已安装,则直接安装 gcp-spot-vm-strategy 技能。

Overview

Skill Key
anmolnagpal/spot-vm-strategy
Author
anmolnagpal
Source Repo
openclaw/skills
Version
1.0.0
Source Path
skills/anmolnagpal/spot-vm-strategy
Latest Commit SHA
f4707cfaeff585b572d52eedf5d04fc28b1e332c

Extracted Content

SKILL.md excerpt

# 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 Claw Skills

capt-marbles

Task Router Skill

★ 0

Task Router

captchasco

captchas-openclaw

★ 0

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

carol-gutianle

Modelready

★ 0

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

cartoonitunes

Ethereum History

★ 0

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 documented history (what a contract is and is not). Data is non-opinionated and includes runtime bytecode, decompiled code, and editorial history when available. Base URL https://ethereumhistory.com (or set BASE_URL for local/staging).

cassh100k

agent-dna

★ 0

Portable agent identity encoding. Compress SOUL.md/MEMORY.md into transferable DNA fingerprints, detect identity drift between snapshots, and port personality across platforms (OpenClaw, Claude, GPT, CrewAI). Pure Python, zero dependencies. Use when migrating agents between platforms, detecting personality drift, or backing up agent identity.

camopel

storage-cleanup

★ 0

One-command disk cleanup for macOS and Linux — trash, caches, temp files, old kernels, snap revisions, Homebrew, Docker, and Xcode artifacts. Use when user asks to free storage, clean up disk, reclaim space, reduce disk usage, or encounters low disk / "disk full" warnings. Safe by default with dry-run mode. No dependencies beyond bash and awk.