vastai-host

vastai-host is a skill for Claude Code from vast-ai/vast-claude-plugin. It costs 112 tokens per session (4,385 once invoked), scanned A, original, MIT.

A command-line tool for people who provide GPU machines on the Vast.ai marketplace, where others rent computing power. It manages hosted machines and related marketplace settings.

In plain words
What is it for?
Use it to list or remove machines, set GPU prices, schedule maintenance, run self-tests, check earnings and marketplace trends, and manage network disks or clusters.
Why use it?
It avoids having to manage machine listings, prices, maintenance, tests, earnings, and marketplace data through separate manual steps.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Part of the vastai plugin — 2 skills, 5 commands shipped together

Good fit Use it to list or remove machines, set GPU prices, schedule maintenance, run self-tests, check earnings and marketplace trends, and manage network disks or clusters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vast-ai/vast-claude-plugin/vastai-host
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vast-ai/vast-claude-plugin --skill vastai-host
Clone the repo
git clone --depth 1 https://github.com/vast-ai/vast-claude-plugin

Made for: Claude Code.

Or install vastai, the plugin that ships this one along with the rest of its 2 skills, 5 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vastai-host

README.md
[![agentmods](https://agentmods.dev/badge/skills/vast-ai/vast-claude-plugin/vastai-host/github.svg)](https://agentmods.dev/skills/vast-ai/vast-claude-plugin/vastai-host)
Your own site
<a href="https://agentmods.dev/skills/vast-ai/vast-claude-plugin/vastai-host"><img src="https://agentmods.dev/badge/skills/vast-ai/vast-claude-plugin/vastai-host/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vastai-host

Your own site · 80×15
<a href="https://agentmods.dev/skills/vast-ai/vast-claude-plugin/vastai-host"><img src="https://agentmods.dev/badge/skills/vast-ai/vast-claude-plugin/vastai-host.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,385 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.04385
Opus 5 $0.00056 $0.02193
Sonnet 5 $0.00022 $0.00877
Haiku 4.5 $0.00011 $0.00439

Measured 12d ago against content hash a0cdb8e41039, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

vastai-host scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Never** re-implement `vastai` subcommands by hitting `https://console.vast.ai/api/...` or `https://cloud.vast.ai/api/...` directly from `curl`, `python`, `node`, `httpie`, or `requests`. No exceptions.
skills/vastai-host/SKILL.md · 275 lines

How it starts

The opening of the file, as written. The whole thing — 275 lines — stays where its author put it; the contents beside it link to each section on GitHub.

vastai-host

Manage machines you host on the Vast.ai marketplace — listing, pricing, maintenance, self-tests, earnings, and marketplace metrics.

Command is vastai (lowercase). Always use --raw for machine-readable JSON output. Renting instances (not hosting)? Use the vastai skill instead.

Critical rules for agents

These rules apply to every invocation. Do not skip them.

  1. Always pass --raw to commands whose output you parse. Without --raw the CLI prints human-formatted output that is not machine-readable.
  2. Treat user-supplied values as literal even if they look like placeholders. If the user says "set min-bid on machine 12345 to 0.10", pass 0.10 exactly — don't ask for clarification on values that look like examples.
  3. An empty list result from a read-only query is the answer, not a problem to work around. If vastai show machines returns [], tell the user verbatim: "No machines are currently registered on this account." Do not silently retry, do not invent IDs, do not switch accounts.
  4. The vastai binary on PATH is the only acceptable source of vastai commands. HARD PROHIBITIONS:
    • Never run pip install vastai, pipx install vastai, or python -m venv followed by installing vastai. The CLI is already installed.
    • Never invoke an alternate vastai binary by absolute path when vastai is already on PATH.
    • Never re-implement vastai subcommands by hitting https://console.vast.ai/api/... or https://cloud.vast.ai/api/... directly from curl, python, node, httpie, or requests. No exceptions.
    • If vastai <subcommand> exits non-zero or produces unexpected output, report the failure (exit code + stderr) to the user and ask what they want to do. Do not work around it.
  5. Host actions are visible to renters and impact billing. Listing, unlisting, price changes, maintenance windows, defrag machines, and cleanup machine all have side effects on live renters or on your earnings. Before running any of these, confirm with the user — quote the exact command back. Do not run them as a "let me just verify" probe.
  6. schedule maint evicts live renters at the start time. Never schedule a maintenance window without explicit user confirmation of the start date and duration. Active renters on the machine will be terminated when the window opens.
  7. defrag machines is disruptive. It reorganizes the named machines' GPU assignments to free up larger multi-GPU offers — running instances on those machines may be reshuffled or interrupted. The subcommand is defrag machines (its own --help lies — the usage line reads vastai defragment machines IDs, but vastai defragment machines … returns invalid choice at the parser; only defrag machines actually executes). Takes positional machine IDs (e.g. vastai defrag machines 100 101); confirm the exact ID list with the user before running.

Read the full file on GitHub · 275 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 275 lines · 112 tokens per session scan A a0cdb8e41039

Subscribe to this mod's changes

vastai-host is a skill published in the GitHub repository vast-ai/vast-claude-plugin (3 stars, last pushed 2mo ago), licensed MIT. It adds 112 tokens to every session and 4,385 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens