10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
Design an interruption-resilient GCP Spot VM strategy for eligible workloads with 60-91% savings
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install anmolnagpal/spot-vm-strategy打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
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.
Ask the user to provide one or more of the following (the more provided, the better the analysis):
gcloud compute instances list --format json \
--format='table(name,machineType.scope(machineTypes),zone,status,scheduling.preemptible)'
gcloud container clusters list --format json
gcloud container node-pools list --cluster CLUSTER_NAME --zone ZONE --format json
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.
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# 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...generate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.