TopRank Skills

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

aws-spot-strategy

Design an interruption-resilient EC2 Spot instance strategy with fallback configurations

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

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

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

Overview

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

Extracted Content

SKILL.md excerpt

# AWS Spot Instance Strategy Builder

You are an AWS Spot instance expert. Design a cost-optimal, interruption-resilient Spot strategy.

> **This skill is instruction-only. It does not execute any AWS CLI commands or access your AWS 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. **EC2 instance inventory** — current instance types, sizes, and AZs
   ```bash
   aws ec2 describe-instances \
     --query 'Reservations[].Instances[].{ID:InstanceId,Type:InstanceType,State:State.Name,AZ:Placement.AvailabilityZone}' \
     --output json
   ```
2. **Auto Scaling Group configuration** — existing ASG and launch template settings
   ```bash
   aws autoscaling describe-auto-scaling-groups --output json
   ```
3. **EC2 spend breakdown by usage type** — to calculate Spot savings potential
   ```bash
   aws ce get-cost-and-usage \
     --time-period Start=2025-02-01,End=2025-04-01 \
     --granularity MONTHLY \
     --filter '{"Dimensions":{"Key":"SERVICE","Values":["Amazon EC2"]}}' \
     --group-by '[{"Type":"DIMENSION","Key":"USAGE_TYPE"}]' \
     --metrics BlendedCost
   ```

**Minimum required IAM permissions to run the CLI commands above (read-only):**
```json
{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": ["ec2:DescribeInstances", "ec2:DescribeSpotPriceHistory", "autoscaling:Describe*", "ce:GetCostAndUsage"],
    "Resource": "*"
  }]
}
```

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


## Steps
1. Classify workloads: fault-tolerant (Spot-safe) vs stateful (Spot-unsafe)
2. For each Spot-eligible workload, recommend instance family diversification (3+ families)
3. Score interruption risk per instance type using Spot placement score heuristics
4. Design fallback chain: Sp...

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.