Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Vast.ai CLI Helper

Teaches Claude to drive the `vastai` CLI for GPU instances, volumes, serverless endpoints, and billing on Vast.ai.

Dev & CodingIntermediate★ 220⑂ 94AI score 8/10Last updated: Sep 26, 2026

What it does

  • Provides a complete map of the vastai CLI: offer search, instance create/start/stop/destroy, SSH keys, file copy, volumes, templates, serverless endpoints, teams, API keys, and invoices.
  • Documents the query filter syntax (gpu_name=RTX_4090 reliability>0.95) and sort fields such as dlperf_usd and dph_total.
  • Gives a canonical workflow: register SSH key → search offers → create instance → poll status → copy data → destroy to stop billing.
  • Includes an actual_status table plus warnings about infinite poll loops, spot (--bid_price) pitfalls, and when GPU vs. storage charges start.

Who it's for

  • ML engineers and researchers renting GPUs on Vast.ai for training or inference.
  • Anyone automating instance lifecycle from scripts or an AI agent.
  • Users of prebuilt images like vLLM, ComfyUI, or the Linux desktop image.

Example uses

  1. "Find a verified single RTX 4090 offer with the best perf-per-dollar and launch it with the PyTorch image and 20GB disk."
  2. "List my running instances with hourly cost, then destroy everything labeled training."
  3. "Serve Qwen2.5-3B with the vLLM image using my HF token, then tail the last 100 log lines."

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/vast-ai/vast-cli/HEAD/vastai/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the vastai folder from the GitHub repo vast-ai/vast-cli into my ~/.claude/skills/vastai/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/vast-ai/vast-cli.git && mkdir -p ~/.claude/skills/vastai && cp vast-cli/vastai/SKILL.md ~/.claude/skills/vastai/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/vast-ai/vast-cli.git
  3. Create the skill folder: mkdir -p ~/.claude/skills/vastai
  4. Copy the skill file: cp vast-cli/vastai/SKILL.md ~/.claude/skills/vastai/
  5. Install the CLI: curl -fsSL https://vast.ai/install.sh | bash (on Windows use pip install vastai).
  6. Create an API key at https://console.vast.ai/manage-keys/ and run vastai set api-key <key>.
  7. Verify with vastai show user, then restart Claude Code so the skill is loaded.