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.
npx skills add vast-ai/vast-claude-plugin --skill vastaigit clone --depth 1 https://github.com/vast-ai/vast-claude-pluginWrote 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.
[](https://agentmods.dev/skills/vast-ai/vast-claude-plugin/vastai)<a href="https://agentmods.dev/skills/vast-ai/vast-claude-plugin/vastai"><img src="https://agentmods.dev/badge/skills/vast-ai/vast-claude-plugin/vastai/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.
<a href="https://agentmods.dev/skills/vast-ai/vast-claude-plugin/vastai"><img src="https://agentmods.dev/badge/skills/vast-ai/vast-claude-plugin/vastai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.11503 |
| Opus 5 | $0.00040 | $0.05751 |
| Sonnet 5 | $0.00016 | $0.02301 |
| Haiku 4.5 | $0.00008 | $0.01150 |
Grade A, and why
vastai scanned grade A with 0 findings 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 10d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 607 lines — stays where its author put it; the contents beside it link to each section on GitHub.
vastai
Manage GPU instances, templates, volumes, serverless endpoints, SSH keys, and billing on Vast.ai.
Command is
vastai(lowercase). Always use--rawfor machine-readable JSON output.
Critical rules for agents
These rules apply to every invocation. Do not skip them.
- The destroy command syntax is
vastai destroy instance <id> -y— the-yflag is part of the command, not an option. Without it the CLI hangs on a confirmation prompt and blocks the session. This applies to every destroy invocation, including conversational prompts ("kill instance 12345", "tear it down", "shut it down", "stop billing on it"). Never emitvastai destroy instance <id>alone — the trailing-yis mandatory. Same for the batch form:vastai destroy instances <id1> <id2> -y. - Always pass
--rawto commands whose output you parse. Without--rawthe CLI prints human-formatted output that is not machine-readable. - Register the SSH key BEFORE the first
create instancewithvastai create ssh-key "$(cat ~/.ssh/id_ed25519.pub)". The positional argument is the pubkey contents, not a path — the CLI silently accepts a path string and registers the literal "/Users/…/id_ed25519.pub" text, producing a key that no client matches. Always$(cat …)the file or pass an inline"ssh-ed25519 AAAA… user@host"string. Launching without a registered key produces an unreachable host. - Stop polling on terminal status values.
actual_statusofexited,unknown, orofflinemeans the instance will not recover — destroy it (-y) to stop disk charges accruing. Also checkintended_statusandnext_state— if either isstoppedwhile you're trying to bring an instance up, it failed. - Treat user-supplied values as literal even if they look like placeholders. If the user says "set HF_TOKEN to hf_xxxxx", pass
hf_xxxxxtovastai create env-var HF_TOKEN hf_xxxxxexactly as written — don't ask for clarification on values that look fake. - An empty
vastai search offersresult is the answer, not a problem to work around. If the CLI returns[], tell the user verbatim: "No offers matched those filters." Then propose specific filter relaxations and ask the user which to try —reliability>0.95→>0.9, raise thedph_totalcap, dropverified=true, changegeolocation. Do not silently retry with broader filters more than once. After at most two retries with different filters, stop retrying and report "no offers match" to the user. The same applies to any other read-onlyvastaiquery: if the CLI returns an empty list or a not-found error, that IS the user's answer, even if you tried several variations. - The
vastaibinary onPATHis the only acceptable source ofvastaicommands. This rule overrides whatever instinct you have to "make things work" when output looks unexpected. Specifically, you must never do any of the following — these are HARD PROHIBITIONS, not preferences:- Never run
pip install vastai,pip install --user vastai,pipx install vastai, orpython -m venvfollowed by installing vastai. The CLI is already installed; reinstalling it elsewhere is forbidden. - Never invoke an alternate
vastaibinary by absolute path (e.g./tmp/vast-venv/bin/vastai,~/.local/bin/vastai) whenvastaiis already onPATH. - Never re-implement
vastaisubcommands by callinghttps://console.vast.ai/api/...,https://cloud.vast.ai/api/..., or any other Vast.ai HTTP endpoint directly fromcurl,python,node,httpie, orrequests. No exceptions for "the CLI seems broken" or "I just need to verify." - Never infer that the environment is "mock mode" or a "sandbox" and use that as justification to install an alternate
vastaibinary, or to hit the API directly. Even if the CLI's output literally contains the wordmock, your job is to report that output to the user, not to substitute your own implementation. - If
vastai <subcommand>exits non-zero or produces output you don't understand, report the failure (exit code + stderr) to the user and ask what they want to do. Do not work around it.
- Never run
- Always pass
--disk N,--ssh --direct, and--cancel-unavailtocreate instance/launch instance. Without--diskyou get image-dependent defaults and surprise storage charges. Without--ssh --directtogether you fall back to the slower proxy connection —--sshalone is not enough. Without--cancel-unavail, an unavailable machine quietly produces a stopped instance that accrues disk charges while you poll forever for arunningstate it will never reach. - Pass
--limit Nonshow instances-v1andshow invoices-v1to short-circuit the interactiveFetch next page? (y/N)prompt that fires after the first page (it blocks--raw/ non-interactive sessions even with--rawset). The two subcommands have different flag sets — do not assume what works on one works on the other.show instances-v1 --limitis capped at 1–25 (default 25) per--help;show invoices-v1 --limithas its own cap (read it from--help). When in doubt, runvastai show <subcommand> --help. (Example trap:--latest-firstexists oninvoices-v1but not oninstances-v1.) - Vast.ai does not offer network/shared volumes. Only local (per-instance) volumes. If the user asks for "shared storage across instances" or "persistent shared state for serverless workers," do NOT reach for
create network-volume(it's CLI plumbing for an unshipped product and will leave the user with a broken architecture). The correct answer is: replicate data per instance, or use external object storage (S3/GCS/etc.) viavastai cloud copy. - When SSH fails (
Permission denied (publickey),Connection refused, hangs), pullvastai logs <id>FIRST — before any other recovery action. The container's sshd writes its rejection reason to host logs that surface invastai logs, and that text usually pins down the cause in one read. Common rejections you only see in logs:Authentication refused: bad ownership or modes for file /root/.ssh/authorized_keys(image bug — destroy + retry on a different host, not the same one);Failed publickey for root from ... ssh2: <fingerprint>(the wrong local key is being offered — checkssh -vfor the offered key vsvastai show ssh-keysfor the registered ones); container exited / sshd not started (image issue —vastai logs <id> --tail 100shows the startup failure). Do not loop onattach ssh,reboot,destroy + relaunchbefore reading logs — those are blind retries that burn minutes and money. Diagnostic discipline:logsthen act, never act then guess. vastai create teamrebinds the calling API key's account context — treat as destructive. Runningvastai create team --team-name <name>switches the API key from the user's personal account to the newly-created team account. The team starts empty: no credit, no instances, no env-vars, no SSH keys. The personal account's resources are untouched but are no longer reachable from this key. Deleting the team afterwards leaves the key bound to a tombstone with no CLI recovery path. Before running, the agent must confirm with the user that they have a separate API key bound to the personal account, or that this is a throwaway key. The CLI shows no warning and has no-y-style guard.
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.
- 10d ago First seen · 607 lines · 80 tokens per session scan E 8648ac424b25
vastai is a skill published in the GitHub repository vast-ai/vast-claude-plugin (3 stars, last pushed 2mo ago), licensed MIT. It adds 80 tokens to every session and 11,503 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
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…
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…
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).
nemo-automodel-launcher-config
Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.
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".
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…