Help us improve
Share bugs, ideas, or general feedback.
From vastai
Launch a Vast.ai instance from an offer ID with sane defaults (PyTorch image, --ssh --direct)
npx claudepluginhub vast-ai/vast-claude-pluginHow this command is triggered — by the user, by Claude, or both
Slash command
/vastai:launch <offer-id> [image] [--disk N] [--label STR]This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# /vastai:launch Launch a Vast.ai GPU instance from an offer ID. Defaults to PyTorch and the `--ssh --direct` connection mode — what most renters want. ## Steps 1. **Parse `$ARGUMENTS`** as: `<offer-id> [image] [--disk N] [--label STR]`. The offer ID is required; everything else has a default. 2. **Ensure an SSH key is registered BEFORE launching.** This is a critical regression: launching without a registered key produces an unreachable instance. If the response is `[]`, register the user's default key first: (Fall back to `~/.ssh/id_rsa.pub` if no ed25519 key exists; ins...
/launchInteractively plans product/feature launch strategy: collects scope, type, phase, channels via prompts, confirms, generates customized checklist, timeline, and multi-phase plan.
/launchGenerates platform-specific copy for Product Hunt, Twitter/X, LinkedIn, Hacker News, plus launch checklist, press kit, and timeline.
/launchInitializes persistent oma workflow lifecycle with metadata and state files, runs team-plan then team-prd, starts team-exec if scoped, reports phase and recovery command.
/launchLaunches Claude Code in a new git worktree and tmux session to autonomously execute a background task on the specified branch. Provide branch name and task description.
/launchInteractively launches an agent team with guided setup, including pre-flight checks and enabling experimental agent teams support if needed.
/launchLaunches interactive cowork session for marketplace item <item-name>, orchestrating bound agents to collaboratively complete task. Supports --task, --parallel, --dry-run.
Share bugs, ideas, or general feedback.
Launch a Vast.ai GPU instance from an offer ID. Defaults to PyTorch and the --ssh --direct connection mode — what most renters want.
Parse $ARGUMENTS as: <offer-id> [image] [--disk N] [--label STR]. The offer ID is required; everything else has a default.
Ensure an SSH key is registered BEFORE launching. This is a critical regression: launching without a registered key produces an unreachable instance.
vastai show ssh-keys --raw
If the response is [], register the user's default key first:
vastai create ssh-key --ssh-key "$(cat ~/.ssh/id_ed25519.pub)" --raw
(Fall back to ~/.ssh/id_rsa.pub if no ed25519 key exists; instruct the user to generate one if neither file exists.)
Build the create command with these defaults:
--image → user-provided, else pytorch/pytorch:@vastai-automatic-tag--disk → user-provided, else 20--label → user-provided, else claude-launch-$(date +%s) (so the instance is greppable later)--ssh --direct --rawRun it:
vastai create instance <OFFER_ID> --image <IMAGE> --disk <DISK> --label <LABEL> --ssh --direct --raw
Parse the response. Success returns {"success": true, "new_contract": <INSTANCE_ID>}. Report the new instance ID and remind the user to poll vastai show instance <INSTANCE_ID> --raw for actual_status: running (or run /vastai:status <INSTANCE_ID>).
Error paths:
Insufficient credits → surface the billing link; don't retry./vastai:search and pick another.| Prompt | What runs |
|---|---|
/vastai:launch 26349244 | vastai create instance 26349244 --image pytorch/pytorch:@vastai-automatic-tag --disk 20 --label claude-launch-... --ssh --direct --raw |
/vastai:launch 26349244 huggingface/transformers-pytorch-gpu | swap image, keep other defaults |
/vastai:launch 26349244 --disk 50 | bigger disk |
/vastai:launch 26349244 pytorch/pytorch --label training-1 --disk 100 | full custom |
--ssh --direct is required for a usable SSH connection.--raw on the create call (so new_contract can be parsed).pytorch/pytorch:@vastai-automatic-tag — never ask the user for an image if they didn't specify one./vastai:status + an explicit destroy step territory.skills/vastai/SKILL.md § "Instances".