status

status is a command for Claude Code from vast-ai/vast-claude-plugin. It costs 12 tokens per session (562 once invoked), scanned A, original, MIT.

A command that shows a snapshot of one or all Vast.ai computing instances. Vast.ai provides rented cloud machines with GPUs.

In plain words
What is it for?
Use it to see whether instances are running, loading, stopped, or unavailable, along with their GPU details and price.
Why use it?
It lets you check instance state, hardware, and hourly cost without repeatedly polling for updates.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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

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.

agentmods
npx agentmods add commands/vast-ai/vast-claude-plugin/status
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 status

README.md
[![agentmods](https://agentmods.dev/badge/commands/vast-ai/vast-claude-plugin/status.svg)](https://agentmods.dev/commands/vast-ai/vast-claude-plugin/status)
Your own site
<a href="https://agentmods.dev/commands/vast-ai/vast-claude-plugin/status"><img src="https://agentmods.dev/badge/commands/vast-ai/vast-claude-plugin/status.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 562 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00012 $0.00562
Opus 5 $0.00006 $0.00281
Sonnet 5 $0.00002 $0.00112
Haiku 4.5 $0.00001 $0.00056

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

Security

Grade A, and why

status 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 6d 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.

commands/status.md · 37 lines

What it actually says

/vast:status

Show the current state of one or all Vast.ai instances. Does not poll — this is a single snapshot. For poll-until-running behavior, ask in natural language; the vastai skill handles polling with a timeout.

Steps

  1. If $ARGUMENTS is empty: list all instances.

    vastai show instances-v1 --raw -a
    

    -a / --all auto-fetches every page, sidestepping the interactive Fetch next page? (y/N) prompt that otherwise fires under --raw. If you only need one page, pass --limit <N> instead — read the current per-page cap from vastai show instances-v1 --help.

    The response is an object {instances: [...], instances_found: N}. Group instances[] by actual_status (running / loading / exited / stopped / unknown / offline). Show id, label, gpu_name, num_gpus, and $/hr for each.

  2. If $ARGUMENTS is a numeric instance id: show just that instance.

    vastai show instance "$ARGUMENTS" --raw
    

    Report actual_status, intended_status, gpu_name, cur_state, next_state, and the $/hr rate. If actual_status is exited, unknown, or offline, flag this as a terminal state — the user should vastai destroy instance <id> -y to stop disk charges accruing.

  3. Triage 401 responses. Both show instances-v1 and show instance are 2FA-gated.

    • Body contains "Two Factor Authentication" → recommend !vastai tfa login --method-type totp --code <CODE> (! prefix keeps the code out of the transcript), then retry.
    • Other 401 → see /vastai:setup step 4 triage.

Notes

  • --raw is required to parse the JSON response.
  • The status enum and what each state means live in skills/vastai/SKILL.md § "Instance status values".
  • Never loop on this command without a timeout — terminal states (exited/unknown/offline) signal the instance won't recover.
  • For SSH connection failures on a running instance, pull vastai logs <id> FIRST before any other recovery (skill Critical rule 11).
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. 6d ago First seen · 37 lines · 12 tokens per session scan A 2e3efe382c6e

Subscribe to this mod's changes

status is a command published in the GitHub repository vast-ai/vast-claude-plugin (3 stars, last pushed 2mo ago), licensed MIT. It adds 12 tokens to every session and 562 once invoked, about $0.0001 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.