vastai SKILL.md skillB

vastai from vast-ai/vast-cli is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add vast-ai/vast-cli/vastai@git:20261022.19e9d0c

Pins git:20261022.19e9d0c in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
vast-ai/vast-cli
Path
vastai/SKILL.md
Versions recorded
7
Latest version
git:20261022.19e9d0c, committed Oct 22, 2026
First version recorded
Apr 28, 2026
Size
19,066 bytes
Repository stars
230
License
MIT

Vast.ai CLI to manage GPU instances, volumes, serverless endpoints, and billing.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# vastai

Manage GPU instances, templates, volumes, serverless endpoints, SSH keys, and billing on Vast.ai.

> Command is `vastai` (lowercase). Always use `--raw` for machine-readable JSON output.

## Install

```bash
# Linux/macOS (recommended, no Python required)
curl -fsSL https://vast.ai/install.sh | bash

# or via PyPI (Windows, or if you'd rather use pip)
pip install vastai
```

## Quick start

```bash
vastai set api-key <YOUR_API_KEY>                   # Authenticate (one-time); Create API Key in account at https://console.vast.ai/manage-keys/
vastai show user                                    # Verify auth + check balance
vastai create ssh-key ~/.ssh/id_ed25519.pub         # Register SSH key (do BEFORE create)
vastai search offers 'gpu_name=RTX_4090 num_gpus=1 verified=true direct_port_count>=1 rentable=true' -o 'dlperf_usd-'
# Note the offer ID from the output
vastai create instance <OFFER_ID> --image pytorch/pytorch:@vastai-automatic-tag --disk 20 --ssh --direct
# Automatically grab appropriate image tag; Response:  {"success": true, "new_contract": <INSTANCE_ID>}
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add vast-ai/vast-cli/vastai@sha256:6cfc48189c7940c9

The line at the top of this page pins the label git:20261022.19e9d0c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_5bdhnhptfttxioxu.svg)](https://markdownregistry.com/a/art_5bdhnhptfttxioxu)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Apr 28, 2026 and Oct 22, 2026, about one every 30 days. Its first recorded version is graded A and its latest B.

versioncommittedcommitsizeaudit
git:20261022.19e9d0c latest2026-10-22 19e9d0c 19,066 BB view · diff
git:20261020.28bde482026-10-20 28bde48 19,025 BB view · diff
git:20260810.9b0872e2026-08-10 9b0872e 18,996 BB view · diff
git:20260727.6a5462c2026-07-27 6a5462c 18,871 BA view · diff
git:20260724.0f10a372026-07-24 0f10a37 18,254 BA view · diff
git:20260519.1a051a72026-05-19 1a051a7 18,232 BA view · diff
git:20260428.38677f02026-04-28 38677f0 17,596 BA view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No curl or wget piped into a shell (matched: curl -fsSL https://vast.ai/install.sh | bash)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (19066 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

vast-ai/vast-cli · 230 stars · license MIT · pushed 2026-11-05 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_5bdhnhptfttxioxu
GET https://markdownregistry.com/api/v1/resolve?ref=vast-ai/vast-cli/vastai
GET https://markdownregistry.com/api/v1/blob/6cfc48189c7940c948e72fcd6286d6cc77aa35ae3ca0947edecf2571c9c9fe9a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from vast-ai/vast-cli

AGENTS.md AGENTS.md file
vast-ai/vast-cli · AGENTS.md
git:20260928.3173215 · audit A · 230 stars
vastai-sdk SKILL.md skill
vast-ai/vast-cli · vastai_sdk/SKILL.md · Vast.ai Python SDK — high-level API for GPU instances, volumes, serverless endpoints, and billing.
git:20260826.ecf32ef · audit A · 230 stars

Every file in vast-ai/vast-cli

Browse by kind, by grade B, or by owner.