Agent skill

Aliyun Ecs Spot Provision

by cinience in cinience/alicloud-skills

Plan, price, provision, and verify one Alibaba Cloud ECS spot instance with minimal VPC networking, restricted SSH access, a managed key pair, configurable system-disk size, and optional scheduled…

MITAuto-check passed

Install Aliyun Ecs Spot Provision

skills CLI
$ npx skills add cinience/alicloud-skills --skill aliyun-ecs-spot-provision -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cinience/alicloud-skills aliyun-ecs-spot-provision --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cinience/alicloud-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/compute/ecs/aliyun-ecs-spot-provision .claude/skills/aliyun-ecs-spot-provision && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
aliyun-ecs-spot-provision
GitHub stars
397
Token cost
~1.2k tokens
SKILL.md length
497 words
Files
5 (incl. scripts, references)
Skills in repo
96
Repo updated
First seen
Licence
MIT

At a glance

Plan, price, provision, and verify one Alibaba Cloud ECS spot instance with minimal VPC networking, restricted SSH access, a managed key pair, configurable system-disk size, and optional scheduled…

  • Works in 7 steps: Run plan to discover exact CPU/memory… → Review plan.json. Report compute, disk,… → Run apply --confirm-create only after… → …
  • Reproduce a complete preemptible/spot ECS workflow rather than only manage an existing instance
  • SKILL.md covers Preconditions, Workflow, Commands and Safety Rules, plus 3 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Aliyun Ecs Spot Provision is an agent skill from cinience/alicloud-skills. Plan, price, provision, and verify one Alibaba Cloud ECS spot instance with minimal VPC networking, restricted SSH access, a managed key pair, configurable system-disk size, and optional scheduled release. Use when Codex must buy, launch, or reproduce a complete preemptible/spot ECS workflow rather than only manage an existing instance.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/operations.md` and `references/sources.md`).

It works with Alibaba Cloud. The repository describes itself as: alibaba cloud skills,qwen ,wan and all skills. The licence is MIT.

When your agent uses it

  • Reproduce a complete preemptible/spot ECS workflow rather than only manage an existing instance

Example prompts

  • “/aliyun-ecs-spot-provision”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Run plan to discover exact CPU/memory matches, select an available zone and instance type, resolve a current Ubuntu image, verify a disk…
  2. Review plan.json. Report compute, disk, and fixed bandwidth prices separately; pay-by-traffic outbound transfer is not an hourly fixed…
  3. Run apply --confirm-create only after the requested region, size, disk, public bandwidth, SSH CIDR, and release behavior are settled.
  4. Let the script create or reuse a VPC, vSwitch, security group, and key pair. Never print or commit the private key.
  5. Require the RunInstances dry run to return DryRunOperation before submitting the real request.
  6. Verify the returned instance with DescribeInstances until it reaches Running.
  7. Report all created IDs, the private-key path, current quote, verification evidence, and remaining interruption/data-retention risks.

What it can do on your machine

Read from SKILL.md and the folder at commit 1818263. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Aliyun Ecs Spot Provision loads about 1.2k tokens when it runs, and up to ~2.3k if it reads all its reference files. Until then it costs about 91 tokens; SKILL.md has 497 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~91
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from cinience/alicloud-skills at commit 1818263, republished under its MIT licence (© cinience). 497 words, ~1,238 tokens.

Download SKILL.mdSave it as .claude/skills/aliyun-ecs-spot-provision/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
aliyun-ecs-spot-provision
description
Plan, price, provision, and verify one Alibaba Cloud ECS spot instance with minimal VPC networking, restricted SSH access, a managed key pair, configurable system-disk size, and optional scheduled release. Use when Codex must buy, launch, or reproduce a complete preemptible/spot ECS workflow rather than only manage an existing instance.

Provision an Alibaba Cloud Spot ECS Instance

Use the bundled CLI wrapper to preserve the fragile ordering and evidence trail of a spot purchase. Keep account-specific IDs, IP addresses, image dates, and prices out of the skill.

Preconditions

  • Require Alibaba Cloud CLI v3 and credentials with least-privilege ECS and VPC permissions.
  • Treat plan as read-only and run it before every apply.
  • Obtain an explicit region. Obtain an explicit SSH source CIDR when public SSH is requested.
  • Explain that spot capacity and price can change between planning and creation.
  • Write all evidence beneath output/aliyun-ecs-spot-provision/<name>/.

Workflow

  1. Run plan to discover exact CPU/memory matches, select an available zone and instance type, resolve a current Ubuntu image, verify a disk category, and query the current hourly quote.
  2. Review plan.json. Report compute, disk, and fixed bandwidth prices separately; pay-by-traffic outbound transfer is not an hourly fixed charge.
  3. Run apply --confirm-create only after the requested region, size, disk, public bandwidth, SSH CIDR, and release behavior are settled.
  4. Let the script create or reuse a VPC, vSwitch, security group, and key pair. Never print or commit the private key.
  5. Require the RunInstances dry run to return DryRunOperation before submitting the real request.
  6. Verify the returned instance with DescribeInstances until it reaches Running.
  7. Report all created IDs, the private-key path, current quote, verification evidence, and remaining interruption/data-retention risks.

Do not automatically delete partially created infrastructure after an error. Preserve state.json, diagnose, and resume with the same command so resource IDs are reused.

Commands

Read-only plan:

bash
python3 skills/compute/ecs/aliyun-ecs-spot-provision/scripts/provision_spot_ecs.py plan \
  --name batch-worker \
  --region ap-southeast-8 \
  --cpu 8 \
  --memory-gib 16 \
  --system-disk-size 800 \
  --internet-bandwidth-out 5 \
  --ssh-cidr 203.0.113.10/32

Create exactly one instance from the saved plan:

bash
python3 skills/compute/ecs/aliyun-ecs-spot-provision/scripts/provision_spot_ecs.py apply \
  --name batch-worker \
  --region ap-southeast-8 \
  --cpu 8 \
  --memory-gib 16 \
  --system-disk-size 800 \
  --internet-bandwidth-out 5 \
  --ssh-cidr 203.0.113.10/32 \
  --confirm-create

Prefer --instance-type and --zone when the user chooses an exact offer. Use --auto-release-time for a true scheduled release; --spot-duration 1 is only a one-hour protection period.

Show full SKILL.md (209 more words)Show less

Safety Rules

  • Never infer 0.0.0.0/0 for SSH. Require an explicit CIDR for public SSH.
  • Default public bandwidth to zero. A public IP is requested only when --internet-bandwidth-out is positive.
  • Generate a new RSA private key with mode 0600; fail instead of overwriting an existing key.
  • Use automatic spot bidding by default. Use --spot-price-limit only when the user supplies a maximum hourly compute price.
  • Set the system-disk size during creation. For resizing an existing disk and filesystem, use aliyun-ecs-manage instead.
  • Warn that a system disk created with the instance is normally released with a reclaimed spot instance.
  • Never equate ExpiredTime=2099... or SpotDuration=1 with a scheduled deletion.

References

Read references/operations.md when diagnosing partial creation, interpreting prices, configuring release behavior, or validating the guest filesystem. See references/sources.md for the official ECS and VPC documentation checked for this skill.

Output And Evidence

  • Save the resolved request and current quote to output/aliyun-ecs-spot-provision/<name>/plan.json.
  • Save every CLI response and error stream beside the plan using operation-specific names.
  • Save created resource IDs and recovery state to state.json; save the final normalized result to summary.json.
  • Store generated private keys only below the evidence directory's private/ folder with directory mode 0700 and key mode 0600.
  • Never copy private keys, AccessKeys, or credential files into reports or committed fixtures.

Validation

bash
python3 -m py_compile skills/compute/ecs/aliyun-ecs-spot-provision/scripts/provision_spot_ecs.py
python3 skills/compute/ecs/aliyun-ecs-spot-provision/scripts/provision_spot_ecs.py --help
python3 /home/vipas/.codex/skills/.system/skill-creator/scripts/quick_validate.py \
  skills/compute/ecs/aliyun-ecs-spot-provision

© cinience, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in skills/compute/ecs/aliyun-ecs-spot-provision of cinience/alicloud-skills.

  • SKILL.md
  • agents/openai.yaml
  • references/operations.md
  • references/sources.md
  • scripts/provision_spot_ecs.py

Open the folder on GitHubat commit 1818263

Compare with similar skills

Aliyun Ecs Spot Provision next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Aliyun Ecs Spot Provision compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Aliyun Ecs Spot Provision this skillcinience/alicloud-skills397—~1.2kAutomated safety check: PassMIT
Deploy Observabilityaliyun/alibabacloud-observability-mcp-server166—~2.6kAutomated safety check: NotesNone
Sls Dashboard Builderalibaba/loongsuite-pilot201—~1.8kAutomated safety check: PassApache-2.0
Alibabacloud Ecs Sec Kernelaliyun/alibabacloud-ecs-troubleshoot-skills148—~2.4kAutomated safety check: NotesApache-2.0
Bailian Media Generationmodelstudioai/cli542—~2kAutomated safety check: PassApache-2.0
Alibabacloud Ecs Sec Userspacealiyun/alibabacloud-ecs-troubleshoot-skills148—~2.6kAutomated safety check: NotesApache-2.0

Similar skills

  • Deploy Observability

    aliyun/alibabacloud-observability-mcp-server

    Deploy, start, and update the Alibaba Cloud Observability MCP Server (阿里云可观测 MCP Server).

    166 GitHub stars~2.6k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check: notes
  • Sls Dashboard Builder

    alibaba/loongsuite-pilot

    当任务需要创建、修改、扩展或重组阿里云 SLS 的 dashboard JSON 或可导入的大盘配置时使用;尤其适用于线上大盘、强对比的分析看板、已校验的查询包,或需要专业中文标签与指标定义的运维向大盘。

    201 GitHub stars~1.8k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Alibabacloud Ecs Sec Kernel

    aliyun/alibabacloud-ecs-troubleshoot-skills

    Linux 内核态 CVE 漏洞检测与 PoC 验证工具,专为 AI Agent 设计. An agent skill from aliyun/alibabacloud-ecs-troubleshoot-skills.

    148 GitHub stars~2.4k tokensUpdated 1 mo ago
    SecurityAuto-check: notes
  • Bailian Media Generation

    modelstudioai/cli

    Chinese-language entry point into Alibaba Cloud Bailian's image, video and speech generation and understanding, routed through separate image, video, speech and vision commands.

    542 GitHub stars~2k tokensUpdated 2 days ago
    Media & CreativeAuto-check passed
  • Alibabacloud Ecs Sec Userspace

    aliyun/alibabacloud-ecs-troubleshoot-skills

    Linux 用户态安全入侵检测与取证工具,专为 AI Agent 设计。自动判断服务器是否被入侵, 提供完整证据链和可执行修复建议。51 个安全分析器覆盖进程/网络/认证/持久化/Rootkit/ 恶意软件/内存取证/容器逃逸等 12 类检测维度,10 个数据采集器全面采集系统状态, 映射 103+ MITRE ATT&CK 技术,支持 standalone/docker/k8s 三种部署模式。

    148 GitHub stars~2.6k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check: notes
  • Aliyun Fullstack Deploy

    FAIRY123456789/human-edge-agent-skills

    Deploy full-stack apps to user-authorized Alibaba Cloud ECS or comparable Linux VPS hosts with preflight, canary verification, and rollback.

    103 GitHub stars~2.7k tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from cinience/alicloud-skills

All 96 skills in this repo
  • Aliyun Skill Creator

    cinience/alicloud-skills

    A skill your agent uses when creating, migrating, or optimizing skills for this alicloud-skills repository.

    397 GitHub stars~2.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Alicloud Acs Agent Sandbox

    cinience/alicloud-skills

    Bootstrap, create, connect to, operate, secure, scale, upgrade, troubleshoot, inspect, and tear down Alibaba Cloud Container Compute Service (ACS) Agent Sandbox environments.

    397 GitHub stars~2.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Alicloud Acs Cluster

    cinience/alicloud-skills

    Create, inspect, connect to, inventory, and delete Alibaba Cloud Container Compute Service (ACS) clusters through the official CS OpenAPI.

    397 GitHub stars~1.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Aliyun Adb Mysql

    cinience/alicloud-skills

    A skill your agent uses when managing Alibaba Cloud AnalyticDB for MySQL (ADB) via OpenAPI/SDK, including the user needs AnalyticDB resource lifecycle and configuration operations, status checks, or…

    397 GitHub stars~708 tokensUpdated 2 mo ago
    Auto-check passed
  • Aliyun Aicontent Generate

    cinience/alicloud-skills

    A skill your agent uses when managing Alibaba Cloud AIContent (AiContent) via OpenAPI/SDK, including the user needs AI content generation or content workflow operations in Alibaba Cloud, including…

    397 GitHub stars~734 tokensUpdated 2 mo ago
    Auto-check passed
  • Aliyun Aimiaobi Generate

    cinience/alicloud-skills

    A skill your agent uses when managing Alibaba Cloud Quan Miao (AiMiaoBi) via OpenAPI/SDK, including the user asks for Alibaba Cloud MiaoBi content operations, including listing resources…

    397 GitHub stars~724 tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Aliyun Ecs Spot Provision

What does Aliyun Ecs Spot Provision do?

Plan, price, provision, and verify one Alibaba Cloud ECS spot instance with minimal VPC networking, restricted SSH access, a managed key pair, configurable system-disk size, and optional scheduled…. Aliyun Ecs Spot Provision is an agent skill from cinience/alicloud-skills. Plan, price, provision, and verify one Alibaba Cloud ECS spot instance with minimal VPC networking, restricted SSH access, a managed key pair, configurable system-disk size, and optional scheduled release.

When should I use Aliyun Ecs Spot Provision?

Aliyun Ecs Spot Provision fits situations like: reproduce a complete preemptible/spot ECS workflow rather than only manage an existing instance.

How do I install Aliyun Ecs Spot Provision in Claude Code?

Run `npx skills add cinience/alicloud-skills --skill aliyun-ecs-spot-provision -a claude-code`. Or copy the skill folder (skills/compute/ecs/aliyun-ecs-spot-provision in cinience/alicloud-skills) into .claude/skills/aliyun-ecs-spot-provision in your project. Claude Code loads it when a task matches its description.

How do I install Aliyun Ecs Spot Provision in Codex?

Run `npx skills add cinience/alicloud-skills --skill aliyun-ecs-spot-provision -a codex`. Or copy the skill folder (skills/compute/ecs/aliyun-ecs-spot-provision in cinience/alicloud-skills) into .agents/skills/aliyun-ecs-spot-provision in your project. Codex loads it when a task matches its description.

Can I use Aliyun Ecs Spot Provision in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cinience/alicloud-skills --skill aliyun-ecs-spot-provision -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aliyun-ecs-spot-provision, .gemini/skills/aliyun-ecs-spot-provision, .github/skills/aliyun-ecs-spot-provision and .opencode/skills/aliyun-ecs-spot-provision in your project.

What does Aliyun Ecs Spot Provision need to run?

Going by SKILL.md and its folder, Aliyun Ecs Spot Provision needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Aliyun Ecs Spot Provision access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Aliyun Ecs Spot Provision safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Aliyun Ecs Spot Provision use?

Aliyun Ecs Spot Provision is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Aliyun Ecs Spot Provision use?

About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.

What are the alternatives to Aliyun Ecs Spot Provision?

Skills that share tags, products or a category with Aliyun Ecs Spot Provision: Deploy Observability (aliyun/alibabacloud-observability-mcp-server, 166 stars), Sls Dashboard Builder (alibaba/loongsuite-pilot, 201 stars), Alibabacloud Ecs Sec Kernel (aliyun/alibabacloud-ecs-troubleshoot-skills, 148 stars) and Bailian Media Generation (modelstudioai/cli, 542 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Aliyun Ecs Spot Provision?

cinience (a GitHub user) maintains it in cinience/alicloud-skills, which has 397 GitHub stars. The repository holds 96 skills in this directory. The repository was last updated on August 11, 2026.

Source: cinience/alicloud-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.