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-cli --skill vastaigit clone --depth 1 https://github.com/vast-ai/vast-cliWrote 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-cli/vastai)<a href="https://agentmods.dev/skills/vast-ai/vast-cli/vastai"><img src="https://agentmods.dev/badge/skills/vast-ai/vast-cli/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-cli/vastai"><img src="https://agentmods.dev/badge/skills/vast-ai/vast-cli/vastai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket warn
- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 4 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Supply Chain · line 20 Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
- high Tool Misuse · line 20 Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
- high Privilege Escalation · line 31 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 185 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00021 | $0.04285 |
| Opus 5.5 | $0.00008 | $0.01714 |
| Sonnet 5.5 | $0.00004 | $0.00857 |
| Haiku 4.5 | $0.00002 | $0.00428 |
Grade E, and why
vastai scanned grade E with 3 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 yesterday.
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.
Reaches for credential fileshighPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
vastai create ssh-key ~/.ssh/id_ed25519.pub # Register SSH key (do BEFORE create) Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -fsSL https://vast.ai/install.sh | bash Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsSL https://vast.ai/install.sh | bash How it starts
The opening of the file, as written. The whole thing — 377 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.
Install
# Linux/macOS (recommended, no Python required)
curl -fsSL https://vast.ai/install.sh | bash
# or via PyPI (Windows, or if you'd rather use pip)
pip install vastai
Quick start
vastai set api-key <YOUR_API_KEY> # Authenticate (one-time); Create API Key in account at https://console.vast.ai/manage-keys/
vastai show user # Verify auth + check balance
vastai create ssh-key ~/.ssh/id_ed25519.pub # Register SSH key (do BEFORE create)
vastai search offers 'gpu_name=RTX_4090 num_gpus=1 verified=true direct_port_count>=1 rentable=true' -o 'dlperf_usd-'
# Note the offer ID from the output
vastai create instance <OFFER_ID> --image pytorch/pytorch:@vastai-automatic-tag --disk 20 --ssh --direct
# Automatically grab appropriate image tag; Response: {"success": true, "new_contract": <INSTANCE_ID>}
vastai show instance <INSTANCE_ID> # Poll until actual_status == "running" (see Instance status values below)
vastai ssh-url <INSTANCE_ID> # Get SSH connection string
vastai copy local:./data/ <INSTANCE_ID>:/workspace/ # Upload files
vastai destroy instance <INSTANCE_ID> -y # Clean up (stops all billing; -y skips confirmation)
API key: https://console.vast.ai/manage-keys/
Global flags
Available on every command:
--api-key KEY Override stored API key
--raw Output machine-readable JSON (agents should always use this)
--full Print full results (don't page with less)
--explain Show underlying API calls (useful for debugging)
--curl Show equivalent curl command
--no-color Disable colored output
--url URL Override server REST API URL
--retry RETRY Set retry limit for API calls
--version Show CLI version
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- __init__.py 1.8 KB runs code
- _base.py 1.6 KB runs code
- api/__init__.py 31 B runs code
- api/auth.py 15 KB runs code
- api/billing.py 10 KB runs code
- api/client.py 9.1 KB runs code
- api/clusters.py 4.5 KB runs code
- api/deployments.py 1.4 KB runs code
- api/endpoints.py 12 KB runs code
- api/instances.py 17 KB runs code
- api/keys.py 4.3 KB runs code
- api/machines.py 7.4 KB runs code
- api/metrics.py 2.6 KB runs code
- api/offers.py 21 KB runs code
- api/price_increase.py 4.0 KB runs code
- api/query.py 12 KB runs code
- api/storage.py 14 KB runs code
- api/teams.py 4.4 KB runs code
- async_/__init__.py 79 B runs code
- async_/client.py 9.6 KB runs code
- async_/results.py 1.3 KB runs code
- cli/__init__.py 25 B runs code
- cli/commands/__init__.py 757 B runs code
- cli/commands/auth.py 41 KB runs code
- cli/commands/benchmarks.py 42 KB runs code
- cli/commands/billing.py 30 KB runs code
- cli/commands/clusters.py 7.8 KB runs code
- cli/commands/deployments.py 7.8 KB runs code
- cli/commands/endpoints.py 17 KB runs code
- cli/commands/instances.py 55 KB runs code
- cli/commands/keys.py 7.9 KB runs code
- cli/commands/machines.py 78 KB runs code
- cli/commands/metrics.py 13 KB runs code
- cli/commands/misc.py 11 KB runs code
- cli/commands/offers.py 30 KB runs code
- cli/commands/price_increase.py 15 KB runs code
- cli/commands/repl.py 719 B runs code
- cli/commands/storage.py 39 KB runs code
- cli/commands/teams.py 6.2 KB runs code
- cli/commands/uninstall.py 2.4 KB runs code
- cli/commands/update.py 3.1 KB runs code
- cli/display.py 20 KB runs code
- cli/main.py 11 KB runs code
- cli/parser.py 18 KB runs code
- cli/repl/__init__.py 318 B runs code
- cli/repl/bridge.py 7.3 KB runs code
- cli/repl/catalog.py 6.3 KB runs code
- cli/repl/completion.py 8.2 KB runs code
- cli/repl/session.py 7.3 KB runs code
- cli/self_test/__init__.py 46 B runs code
- cli/self_test/machine_diagnostics.py 21 KB runs code
- cli/self_test/runtime_diagnostics.py 19 KB runs code
- cli/self_test/support_bundle.py 11 KB runs code
- cli/selfupdate.py 14 KB runs code
- cli/util.py 26 KB runs code
- cli/utils.py 577 B runs code
- data/__init__.py 303 B runs code
- data/deployment.py 3.5 KB runs code
- data/endpoint.py 2.1 KB runs code
- data/instance.py 3.6 KB runs code
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.
- yesterday Changed 275b7088a8c6
- 1mo ago First seen · 377 lines · 21 tokens per session scan E 2f41522e414f
vastai is a skill published in the GitHub repository vast-ai/vast-cli (223 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 4,285 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it E with 3 findings (reaches for credential files, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
kelly-devops
Product-fleet ops desk (Busabase App-in-Skill) for uptime/service health, SSL certificate expiry, domain renewal, API key rotation, cloud spend anomalies, and a review queue of agent-proposed action cards. Use when the user invokes $kelly-devops or /kelly-devops, or asks about uptime, service health checks, SSL…
deploy-workflow
Safe deployment workflow for Drupal 10/11 sites: pre-flight checks, backup, the correct update sequence (composer install, database updates, config import, cache rebuild), verification, and rollback plan. Use when deploying to any environment, releasing to production, or when the user asks to "push changes live"…
gdpr-compliance-checker
Autonomous GDPR compliance auditor that scans a codebase to identify PII collection, storage, and sharing, then produces an article-by-article gap analysis, a pre-filled Data Processing Agreement (DPA), and a ROPA (Record of Processing Activities) starter kit — all exported as downloadable files (.docx recommended).…
pii-detector
Proactive PII add-on — augments the main response with PII guidance. Auto-trigger on any form, schema, migration, model, API route, GraphQL resolver, auth flow, or data design discussion. Also fires on: middleware, webhooks, workers, seed/fixture/factory files, delete/export/purge/anonymize functions, cron jobs, HTTP…
okhp3-vite-github-pages
OverKill Hill P³ Vite-to-GitHub-Pages deployment runbook. Use when deploying or troubleshooting this React/Vite app, its Actions workflow, /abrahamic-reference-engine/ production base, BrowserRouter basename fallback, dist artifacts, build validation, or Pages environment variables. Also activate for subpath asset…
huawei-cloud-account-onboarding
A read-only helper for checking whether a Huawei Cloud account has completed real-name verification and guiding the user through phone-based face verification.