# Send Spot Strategy to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "spot-strategy",
    "name": "Spot Strategy",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/anmolnagpal/spot-strategy",
    "canonicalUrl": "https://clawhub.ai/anmolnagpal/spot-strategy",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/spot-strategy",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=spot-strategy",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "spot-strategy",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T21:37:18.202Z",
      "expiresAt": "2026-05-10T21:37:18.202Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=spot-strategy",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=spot-strategy",
        "contentDisposition": "attachment; filename=\"spot-strategy-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "spot-strategy"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/spot-strategy"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/spot-strategy",
    "downloadUrl": "https://openagent3.xyz/downloads/spot-strategy",
    "agentUrl": "https://openagent3.xyz/skills/spot-strategy/agent",
    "manifestUrl": "https://openagent3.xyz/skills/spot-strategy/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/spot-strategy/agent.md"
  }
}
```
## Documentation

### 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):

EC2 instance inventory — current instance types, sizes, and AZs
aws ec2 describe-instances \\
  --query 'Reservations[].Instances[].{ID:InstanceId,Type:InstanceType,State:State.Name,AZ:Placement.AvailabilityZone}' \\
  --output json


Auto Scaling Group configuration — existing ASG and launch template settings
aws autoscaling describe-auto-scaling-groups --output json


EC2 spend breakdown by usage type — to calculate Spot savings potential
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):

{
  "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

Classify workloads: fault-tolerant (Spot-safe) vs stateful (Spot-unsafe)
For each Spot-eligible workload, recommend instance family diversification (3+ families)
Score interruption risk per instance type using Spot placement score heuristics
Design fallback chain: Spot → On-Demand → Savings Plan
Generate Auto Scaling Group / Karpenter configuration

### Output Format

Workload Eligibility Matrix: workload, Spot-safe (Y/N), reason
Spot Fleet Recommendation: instance families, AZs, allocation strategy
Interruption Risk Table: instance type, region, estimated interruption frequency
Fallback Architecture: layered purchasing strategy per workload
Savings Estimate: on-demand cost vs Spot cost with % savings
Karpenter NodePool YAML (if EKS context detected)

### Rules

Always recommend at least 3 instance families for Spot diversification
Flag stateful workloads (databases, single-replica services) as NOT Spot-safe
Recommend capacity-optimized allocation strategy over lowest-price
Include interruption handling: graceful shutdown hooks, checkpoint patterns
Never ask for credentials, access keys, or secret keys — only exported data or CLI/console output
If user pastes raw data, confirm no credentials are included before processing
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: anmolnagpal
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T21:37:18.202Z
- Expires at: 2026-05-10T21:37:18.202Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/spot-strategy)
- [Send to Agent page](https://openagent3.xyz/skills/spot-strategy/agent)
- [JSON manifest](https://openagent3.xyz/skills/spot-strategy/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/spot-strategy/agent.md)
- [Download page](https://openagent3.xyz/downloads/spot-strategy)