/nebius-cloud:nebius-compute-provisionfrom nebius-cloud
Provisions and manages Nebius Compute resources (VMs, GPU clusters, disks, filesystems) with preflight capacity, quota, and cost checks before executing create, update, start, or stop operations.
Ships in nebius-cloud. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create and change compute resources deliberately: preflight capacity, quota, and cost; render a reviewable spec; show the exact command; run it once after explicit confirmation.
Note: allowed-tools above pre-approves only the read-only preflight commands. Every create/update/start/stop goes through the normal permission flow and the confirmation gate below — that is intentional, not an omission.
These rules apply to every command in this skill. Full detail lives in the nebius-cloud-basics skill.
Agent identification. Export AI_AGENT before any Nebius CLI call, including preflight and --help. Keep non-empty harness-set value; unset or empty → set own harness slug. Every call must inherit it, including new shells.
CLI present and configured. Before the first Nebius call in a session:
nebius version # CLI installed (a subcommand — there is no --version flag)
nebius profile list # at least one profile; [default] marks the active one
nebius config get parent-id # project-...
nebius config get tenant-id # tenant-...
These skills require CLI 0.12.247 or newer; an individual skill may state a higher floor (the Serverless skills need 0.12.277) — the stricter number wins. If nebius version is older, stop and ask the user to update the CLI before relying on the commands or schemas below.
If any check fails or an ID comes back empty, stop and walk the user through CLI installation and profile setup: curl -sSL https://artifacts.nebius.cloud/cli/install.sh | bash, then nebius profile create --parent-id <project-id>. Print those commands for the user to run — do not run them yourself: the installer writes to their machine and the shown federation-profile command opens a browser and blocks. An expired session does not show up here; it surfaces on the first real API call, and re-auth is the same human task.
Resolve context first — never guess IDs. Nearly every call needs --parent-id, and the CLI does not say which scope it wants:
nebius profile current # which profile is active
nebius config get parent-id [-p <profile>] # project-... (project scope)
nebius config get tenant-id [-p <profile>] # tenant-... (tenant scope)
Compute resources are generally project-scoped; public-image discovery is region-scoped. Quota allowances may be project- or tenant-scoped. Capacity advice, capacity block groups, and capacity intervals are tenant-scoped. The wrong scope often returns empty lists or permission errors, not a helpful message. Pass -p <profile> explicitly whenever the user names a profile.
Output. Add --format json to API calls and parse that; the default table output is for humans. On paginated list calls, add --all only when --help exposes it. Some list-like commands differ: for example, compute image list-public requires --region and has no --all. Never pass -i/--interactive: it opens interactive entry or alternate-screen pagination and hangs unattended sessions. Never pass --follow (e.g. compute instance logs --follow, logging query --follow): it streams until killed and hangs an unattended session the same way.
Editing. Never run edit or edit-by-name: they open $EDITOR and hang in a non-interactive shell. Use update with explicit flags or update -f <file> instead.
Async operations. Mutations return an operation; by default the CLI blocks until it completes. With --async it returns an operation id — poll with nebius <service> <resource> operation wait <operation-id>.
Safety tiers. Every operation falls in exactly one tier; when a command fits two, the higher (more restrictive) tier wins.
| Tier | Operations | Behavior |
|---|---|---|
| A — read | list, get, get-by-name, batch-get, list-*, logs, --help | Run freely — unless the command emits credential material, which puts it in C whatever its verb. |
| B — gated write | create, update, start, stop, quota/capacity allowance changes | Print the fully resolved command verbatim, state what it changes and the cost implication, wait for explicit user confirmation, then run it exactly once. Never batch mutations; never retry one after an ambiguous failure. A command or rendered template carrying a literal secret is never printed and never run: it accepts key material, so it is Tier C — replace the literal with a secret selector, or hand the command to the human with the value left as a placeholder. |
| C — refuse | delete, purge, credential issuance (iam get-access-token, access keys; sole exception: iam auth-public-key generate is Tier B), any command that emits or accepts token/key material whatever its verb — a raw read whose output carries a token (secret-store payloads, an endpoint spec's auth token) included, -I/--impersonate-service-account-id (a global flag, valid on every command — including otherwise-free reads) | Do not run. Print the exact command for the human to run themselves and explain the blast radius. Exposure is the line, not handling: a credential captured into an unechoed shell variable and consumed inside the same compound command stays at its verb's own tier — what Tier C refuses is the value reaching tool output, the transcript, shell history, or a file. So the endpoint smoke test (`TOKEN=$(… |
Tool errors. Use the nebius-api-debug skill for debug logs and request Trace IDs.
Secrets. Never print or persist tokens, access keys, or the contents of ~/.nebius/credentials.json. Some Tier A reads carry credential material in their output: on a token-auth endpoint ai endpoint get/get-by-name return the bearer token at .spec.auth_token and ai endpoint list returns it for every item it lists, while job and endpoint specs carry plain --env values and registry passwords. Never read those raw — project the fields you need, e.g. | jq '{id: .metadata.id, state: .status.state, urls: .status.public_endpoints}', or | jq '.items[]? | {…}' on a list (the ? matters: an empty list can come back as bare {}, and .items[] on that aborts with "Cannot iterate over null").
PROJECT=$(nebius config get parent-id) unless the user names one), and for instances: platform + preset, boot image, subnet. Anything missing → ask, don't default silently.# Instances: valid platform/preset names in the project's region
nebius compute platform list --parent-id "$PROJECT" --format json --all
# GPU instances only: current, non-guaranteed capacity advice (tenant-scoped)
nebius capacity resource-advice list --parent-id "$(nebius config get tenant-id)" --format json --all
# All resources: inspect the relevant project quota headroom
nebius quotas quota-allowance list --parent-id "$PROJECT" --format json --all
Capacity Advisor covers GPU VMs, not CPU-only VMs, disks, filesystems, or GPU-cluster resources. For a GPU VM, report available, availability_level, data_state, and effective_at; explain that advice is a timestamped estimate, not a launch guarantee. If an applicable quota cannot cover the request, or GPU advice reports no launchable capacity, stop and report.nebius billing v1alpha1 calculator estimate \
--resource-spec-compute-disk-spec-type network_ssd \
--resource-spec-compute-disk-spec-size-gibibytes 500 --format json
create -f <file>. Template field names mirror the create flags (kebab-case flag → snake_case field, flag prefix → nesting); verify the final shape against a live resource (get --format yaml) when one exists.get the resource, so a credential belongs in a sanctioned secret mechanism or in a step handed to the user.--async) for single resources; for slow creates use --async and nebius compute <resource> operation wait <op-id>. If the outcome is ambiguous (timeout, dropped connection): do not re-run — check list/get and list-operations-by-parent first.get the resource, report id, name, and state.Never edit/edit-by-name ($EDITOR hang). Two safe options:
nebius compute disk update <id> --size-gibibytes 1000 (updates only named fields).update -f <file> implies --full: the file replaces the whole spec. Start from get --format yaml, but build an update request containing only the fields accepted by update --help (normally metadata and spec); remove status and other output-only fields. Keep metadata.id and metadata.resource_version so a concurrent change fails loudly instead of being overwritten.Both are Tier B: preview → confirm → run once → verify.
start/stop are also Tier B. Warn on stop: it releases non-reserved GPU capacity, which may not be available again at start.
delete of any resource is never executed by this skill, even on direct request. compute instance delete also deletes managed disks declared in the instance spec. Print the exact command for the human, explain what is destroyed and what depends on it. Snapshot-before-delete advice: suggest nebius compute disk-snapshot workflows so data outlives the resource.
nebius-serverless-jobs / nebius-serverless-endpoints (no instance, subnet, or image plumbing to manage).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nebius/skills --plugin nebius-cloud14 skills in this plugin
/nebius-api-debugUse when investigating failed Nebius CLI commands, Terraform provider operations, or SDK calls./nebius-billingNebius billing - resource price estimates and preemptible-VM pricing policies. Use for "how much will this cost", "hourly/monthly price of a GPU VM", "current spot price", "estimate the price", "set a max spot price", "create a pricing policy", "cap my preemptible bid", "list pricing policies", "why is my policy BLOCKED" - nebius billing v1alpha1 calculator estimate for on-demand and live spot prices, and pricing-policy list/create/update/delete for the id behind --spot-pricing-policy-id./nebius-capacity-quotasGPU capacity advice and quota checks for Nebius. Use for "can I launch 8xB200 in us-central1-b", "what GPU capacity is currently advised", "how much quota do I have", "what's in our reservation", or "request a quota increase".Other plugins' skills for the same job