← ClaudeAtlas

vastailisted

Rent, watch, and tear down Vast.ai GPU instances safely. Use whenever the user wants to spin up a cloud GPU box, run something on a GPU/remote machine, search GPU offers, check what's running, ssh into / copy files to a rented box, monitor cost, or shut instances down. Triggers: /vastai, "rent a GPU", "spin up a vast box", "vast.ai", "GPU instance", "how much am I spending on GPUs", "kill my instances".
bednarjosef/claude-vastai-skill · ★ 1 · AI & Automation · score 69
Install: claude install-skill bednarjosef/claude-vastai-skill
# vastai: spin up, watch, and tear down GPU boxes safely This skill drives Vast.ai GPU rentals through one control-plane CLI, `vast.py`. It tracks every box that gets rented, shows what is running and what it costs, and gives each box an auto-destroy deadline enforced by a background watchdog. ## The one rule: nothing bills silently A rented GPU bills by the second until it is destroyed. So every box gets a deadline (`up --hours N`) and a watchdog that destroys it at that deadline. Whenever you rent something, start a watchdog and keep it running. If stray boxes might exist, `vast.py ps` lists everything on the account and `vast.py down` / `nuke` cleans up. ## Tooling Run the bundled CLI with the system python (stdlib only, no venv needed): ``` python3 ~/.claude/skills/vastai/vast.py <command> [flags] ``` It wraps the official `vastai` CLI. Prerequisites, which the script checks and reports on: - `vastai` CLI installed (`uv tool install vastai`, or `pipx install vastai`). - Authenticated once with `vastai set api-key <KEY>`, key from https://console.vast.ai/ under Account. If the user still needs to do this, have them run it themselves via `! vastai set api-key <KEY>` so you never echo the key. State (tracked boxes, prices, deadlines) lives in `~/.vast-claude/state.json`, independent of the working directory. The ssh key `~/.ssh/id_ed25519` is generated and registered on the first `up`. ## Command map | goal | command | |------|---------| | check account credit