Skip to content
Back to skills

Vast Ai

ASecurity

Safely inspect and operate Vast.ai marketplace instances with the vastai CLI, live offer data, and explicit approval before paid or destructive actions.

  • 16 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 20, 2026
ai-agentsgoshellbashdocumentation

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 20, 2026

npx -y skills add FOURTEEN1416/academic-agent-toolkit --skill vast-ai --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vast Ai?

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

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

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-cloud
description: Safely inspect and operate Vast.ai marketplace instances with the vastai CLI, live offer data, and explicit approval before paid or destructive actions.
category: cloud-compute
version: 1.0.0
author: Synthetic Sciences
license: MIT
tags: [Infrastructure, GPU Cloud, Vast.ai, Marketplace, SSH]
dependencies: [vastai]
---

# Vast.ai GPU Cloud

Use this skill for Vast.ai marketplace discovery and instance operations. Offers, reliability attributes, locations, bandwidth, storage, and prices are live marketplace data; query them immediately before recommending anything.

## OpenScience credential boundary

- A key saved in **Customize > Compute > Vast.ai** is encrypted control-plane data and is not exported to agent shells, notebooks, kernels, plugins, or MCP servers.
- Use `provider_compute` with `account`, `list_resources`, or `resource_status` for live account and instance reads. OpenScience selects only `vastai show user --raw`, `show instances --raw`, or one exact `show instance <id> --raw` invocation.
- **Test connection** uses the same boundary for exactly `vastai show user --raw`.
- The saved key is admitted only when **Test connection** approves a root/admin-managed, non-writable `vastai` executable. A normal user-owned pip, pipx, or Homebrew install remains credential-only and cannot be used by `provider_compute` until a managed/native adapter exists.
- `last_used` changes only after that command succeeds.
- Never print or persist the key. The saved credential cannot search/accept offers or start, stop, destroy, copy, or change instances; a generic shell needs independent user-managed authentication.

## Current CLI contract

```bash
vastai --help
vastai show user --raw
vastai show instances --raw
```

Use `vastai --help` and the exact subcommand's `--help` before constructing marketplace filters or mutations. Do not rely on remembered filter fields or create flags.

## Marketplace policy

1. Confirm GPU memory/count, disk, bandwidth, reliability, verification requirements, location, runtime, interruption tolerance, and maximum budget.
2. Query live offers. Preserve the provider's exact offer ID and quoted terms.
3. Recommend one offer and explain the material reliability and interruption tradeoffs. Do not optimize on hourly price alone.
4. Get explicit approval before accepting an offer, creating or destroying an instance, changing storage, or interrupting a workload.
5. After creation, reconcile by instance ID before retrying any ambiguous request.
6. Verify SSH and workload health; do not treat an instance state alone as proof the job succeeded.
7. Copy and verify required outputs before destruction. Ask separately before deleting durable volumes or templates.

Never hardcode prices or claim availability. Never automatically switch to a different offer after approval; changed offer terms require a new recommendation and approval.

## SSH handoff

Add the instance in **Customize > Compute > SSH** with the provider-reported username/address and a pinned host key. Use a literal key path with restrictive permissions. OpenScience ignores executable SSH configuration such as `ProxyCommand` and `Match exec`.

## Sources of truth

- CLI authentication: <https://docs.vast.ai/cli/authentication>
- Documentation: <https://docs.vast.ai/>
- Installed contract: `vastai --help` and the relevant subcommand `--help`
- Offers and pricing: live Vast.ai query at the time of approval

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.