Skip to content
Back to skills

Vast Ai Gpu Rental

ASecurity

This skill allows you to provision on-demand GPU infrastructure. You must have a user-provided API Key before performing write actions.

  • 19 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agentsgonodeapidevops

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add rondoflow/rondoflow --skill vast-ai-gpu-rental --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vast Ai Gpu Rental?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vast Ai Gpu Rental
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-vast-ai-gpu-rental/badge)](https://www.skillsdirectory.com/skills/rondoflow-vast-ai-gpu-rental)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vast-ai-gpu-rental
description: "This skill allows you to provision on-demand GPU infrastructure. You must have a user-provided API Key before performing write actions."
category: "DevOps & Infra"
author: community
version: "1.0.0"
icon: server
---

# Skill: VAST.ai GPU Rental

## Overview
This skill allows you to provision on-demand GPU infrastructure. You must have a user-provided API Key before performing write actions.

## Capabilities
1. **Search**: Find machines by GPU model (e.g., "RTX 4090") and max hourly price.
2. **Rent**: Instantiate a container (default: PyTorch) on a specific Offer ID.
3. **Connect**: Retrieve the SSH connection string for an active instance.
4. **Balance**: Check available credit and current hourly burn rate across all active machines.

## Usage Protocol
- **Step 1**: Ask the user for their VAST API Key if not already in context.
- **Pre-flight Check**: Before renting, call `balance` to ensure the user has sufficient funds.
- **Step 2**: Search for offers and present the top 3 cheapest options to the user.
- **Step 3**: Upon confirmation, call `rent`.
- **Reporting**: If credit is below $5.00, warn the user after every successful rental.
- **Step 4**: Wait 30-60 seconds, then call `connect` to provide the SSH string.

## Tool Definitions
- `search(gpu: string, price: number)`
- `rent(id: number, image: string)`
- `connect(id: number)`
- `balance()`

## Execution
Run the CLI wrapper for these tools.
Command: `node /Users/sschepis/Development/vast-ai/dist/cli.js <action> [params]`
Env: `VAST_API_KEY` must be set.

### Examples
- Search: `node dist/cli.js search --gpu "RTX 4090" --price 0.5`
- Rent: `node dist/cli.js rent --id 12345 --image "pytorch/pytorch"`
- Connect: `node dist/cli.js connect --id 12345`
- Balance: `node dist/cli.js balance`

Files in this skill

  • SKILL.md1.8 KB
  • manifest.json337 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…