{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/spot-strategy",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=spot-strategy",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/spot-strategy",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "AWS Spot Instance Strategy Builder",
        "body": "You are an AWS Spot instance expert. Design a cost-optimal, interruption-resilient Spot strategy.\n\nThis 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."
      },
      {
        "title": "Required Inputs",
        "body": "Ask the user to provide one or more of the following (the more provided, the better the analysis):\n\nEC2 instance inventory — current instance types, sizes, and AZs\naws ec2 describe-instances \\\n  --query 'Reservations[].Instances[].{ID:InstanceId,Type:InstanceType,State:State.Name,AZ:Placement.AvailabilityZone}' \\\n  --output json\n\n\nAuto Scaling Group configuration — existing ASG and launch template settings\naws autoscaling describe-auto-scaling-groups --output json\n\n\nEC2 spend breakdown by usage type — to calculate Spot savings potential\naws ce get-cost-and-usage \\\n  --time-period Start=2025-02-01,End=2025-04-01 \\\n  --granularity MONTHLY \\\n  --filter '{\"Dimensions\":{\"Key\":\"SERVICE\",\"Values\":[\"Amazon EC2\"]}}' \\\n  --group-by '[{\"Type\":\"DIMENSION\",\"Key\":\"USAGE_TYPE\"}]' \\\n  --metrics BlendedCost\n\nMinimum required IAM permissions to run the CLI commands above (read-only):\n\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [{\n    \"Effect\": \"Allow\",\n    \"Action\": [\"ec2:DescribeInstances\", \"ec2:DescribeSpotPriceHistory\", \"autoscaling:Describe*\", \"ce:GetCostAndUsage\"],\n    \"Resource\": \"*\"\n  }]\n}\n\nIf 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."
      },
      {
        "title": "Steps",
        "body": "Classify workloads: fault-tolerant (Spot-safe) vs stateful (Spot-unsafe)\nFor each Spot-eligible workload, recommend instance family diversification (3+ families)\nScore interruption risk per instance type using Spot placement score heuristics\nDesign fallback chain: Spot → On-Demand → Savings Plan\nGenerate Auto Scaling Group / Karpenter configuration"
      },
      {
        "title": "Output Format",
        "body": "Workload Eligibility Matrix: workload, Spot-safe (Y/N), reason\nSpot Fleet Recommendation: instance families, AZs, allocation strategy\nInterruption Risk Table: instance type, region, estimated interruption frequency\nFallback Architecture: layered purchasing strategy per workload\nSavings Estimate: on-demand cost vs Spot cost with % savings\nKarpenter NodePool YAML (if EKS context detected)"
      },
      {
        "title": "Rules",
        "body": "Always recommend at least 3 instance families for Spot diversification\nFlag stateful workloads (databases, single-replica services) as NOT Spot-safe\nRecommend capacity-optimized allocation strategy over lowest-price\nInclude interruption handling: graceful shutdown hooks, checkpoint patterns\nNever ask for credentials, access keys, or secret keys — only exported data or CLI/console output\nIf user pastes raw data, confirm no credentials are included before processing"
      }
    ],
    "body": "AWS Spot Instance Strategy Builder\n\nYou are an AWS Spot instance expert. Design a cost-optimal, interruption-resilient Spot strategy.\n\nThis 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.\n\nRequired Inputs\n\nAsk the user to provide one or more of the following (the more provided, the better the analysis):\n\nEC2 instance inventory — current instance types, sizes, and AZs\naws ec2 describe-instances \\\n  --query 'Reservations[].Instances[].{ID:InstanceId,Type:InstanceType,State:State.Name,AZ:Placement.AvailabilityZone}' \\\n  --output json\n\nAuto Scaling Group configuration — existing ASG and launch template settings\naws autoscaling describe-auto-scaling-groups --output json\n\nEC2 spend breakdown by usage type — to calculate Spot savings potential\naws ce get-cost-and-usage \\\n  --time-period Start=2025-02-01,End=2025-04-01 \\\n  --granularity MONTHLY \\\n  --filter '{\"Dimensions\":{\"Key\":\"SERVICE\",\"Values\":[\"Amazon EC2\"]}}' \\\n  --group-by '[{\"Type\":\"DIMENSION\",\"Key\":\"USAGE_TYPE\"}]' \\\n  --metrics BlendedCost\n\n\nMinimum required IAM permissions to run the CLI commands above (read-only):\n\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [{\n    \"Effect\": \"Allow\",\n    \"Action\": [\"ec2:DescribeInstances\", \"ec2:DescribeSpotPriceHistory\", \"autoscaling:Describe*\", \"ce:GetCostAndUsage\"],\n    \"Resource\": \"*\"\n  }]\n}\n\n\nIf 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.\n\nSteps\nClassify workloads: fault-tolerant (Spot-safe) vs stateful (Spot-unsafe)\nFor each Spot-eligible workload, recommend instance family diversification (3+ families)\nScore interruption risk per instance type using Spot placement score heuristics\nDesign fallback chain: Spot → On-Demand → Savings Plan\nGenerate Auto Scaling Group / Karpenter configuration\nOutput Format\nWorkload Eligibility Matrix: workload, Spot-safe (Y/N), reason\nSpot Fleet Recommendation: instance families, AZs, allocation strategy\nInterruption Risk Table: instance type, region, estimated interruption frequency\nFallback Architecture: layered purchasing strategy per workload\nSavings Estimate: on-demand cost vs Spot cost with % savings\nKarpenter NodePool YAML (if EKS context detected)\nRules\nAlways recommend at least 3 instance families for Spot diversification\nFlag stateful workloads (databases, single-replica services) as NOT Spot-safe\nRecommend capacity-optimized allocation strategy over lowest-price\nInclude interruption handling: graceful shutdown hooks, checkpoint patterns\nNever ask for credentials, access keys, or secret keys — only exported data or CLI/console output\nIf user pastes raw data, confirm no credentials are included before processing"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/anmolnagpal/spot-strategy",
    "publisherUrl": "https://clawhub.ai/anmolnagpal/spot-strategy",
    "owner": "anmolnagpal",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}