[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ACCCVNCFKMA9X6D15X6G98":3,"skill-same:01M7ACCCVNCFKMA9X6D15X6G98":112},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":14,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl",null,"Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: runpodctl\ndescription: >-\n  Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless\n  endpoints, templates, network volumes, Hub deploys, models, SSH, and file\n  transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH\n  setup, `doctor`, or when the Runpod MCP tools are not connected. For structured\n  tool calls in an MCP-enabled session, prefer runpod-mcp.\nallowed-tools: Bash(runpodctl:*)\ncompatibility: Linux, macOS\nmetadata:\n  author: runpod\n  version: \"1.2.0\" # x-release-please-version\nlicense: Apache-2.0\n---\n\n# Runpodctl\n\nManage GPU pods, serverless endpoints, templates, volumes, and models.\n\n## Install\n\n`curl -sSL https:\u002F\u002Fcli.runpod.net | bash` (Linux\u002FmacOS, and Windows via WSL) or `brew install runpod\u002Frunpodctl\u002Frunpodctl`. Manual binaries and the Windows and conda steps live in the [runpodctl README](https:\u002F\u002Fgithub.com\u002Frunpod\u002Frunpodctl#install), beside the `install.sh` they describe. The command surface comes from the binary — `runpodctl \u003Cresource> \u003Caction> --help` — or the generated pages under [`runpodctl\u002Fdocs\u002F`](https:\u002F\u002Fgithub.com\u002Frunpod\u002Frunpodctl\u002Ftree\u002Fmain\u002Fdocs).\n\n> Old runpodctl builds silently lack newer flags\u002Fbehaviors (e.g. `--model-reference` doesn't\n> exist before v2.4.0) and produce confusing downstream errors — and the Homebrew tap can lag\n> well behind. So, before any work:\n>\n> - **Update to the latest build** — check `runpodctl version`, then run `runpodctl update`\n>   (or reinstall from the [latest release](https:\u002F\u002Fgithub.com\u002Frunpod\u002Frunpodctl\u002Freleases)).\n> - **Pin to one recent version for the whole task.**\n> - **Never switch between an old and a new binary mid-task** (that flip-flop is a known failure).\n> - **Verify once** — `runpodctl version` shows the current build before you continue.\n\n## Quick start\n\n```bash\nrunpodctl update                    # FIRST: get on the latest build — old versions cause confusing errors\nrunpodctl version                   # confirm the current version before doing any work\nexport RUNPOD_API_KEY=your_key      # Non-interactive auth (agents) — runpodctl reads this\nrunpodctl doctor                    # Interactive first-time setup (API key + SSH) — for humans\nrunpodctl --help                    # See current top-level commands\nrunpodctl pod create --help         # Inspect exact current flags before creating\nrunpodctl gpu list                  # See available GPU types\nrunpodctl datacenter list           # GPU availability per data center (use to co-locate GPU + volume)\nrunpodctl hub search vllm           # Find a hub repo\nrunpodctl serverless create --hub-id \u003Cid> --name \"my-vllm\"  # Deploy from hub\nrunpodctl template search pytorch   # Find a template\nrunpodctl pod create --template-id runpod-torch-v21 --gpu-id \"NVIDIA GeForce RTX 4090\"  # Create from template\nrunpodctl pod list                  # List your pods\n```\n\n> Auth: an agent should `export RUNPOD_API_KEY=...` (non-interactive). `runpodctl\n> doctor` is interactive (prompts) and also sets up SSH keys — good for a human's\n> first run, not for scripted use.\n\nAPI key: https:\u002F\u002Fconsole.runpod.io\u002Fuser\u002Fsettings\n\n## Live Help Is Authoritative\n\nLive `runpodctl --help` output is authoritative for exact flags, aliases, and command syntax. Use this skill for workflows, decision rules, safety notes, and common examples.\n\n```bash\nrunpodctl --help\nrunpodctl \u003Cresource> --help\nrunpodctl \u003Cresource> \u003Caction> --help\n```\n\nBefore using unfamiliar commands, inspect live help first. Do not rely on this skill as an exhaustive flag reference.\n\n**What live help does *not* cover:** output shapes, error codes, and exit-code behavior. `--help` lists flags; it never shows you what a failure looks like. For those, use [reference\u002Foutput-and-errors.md](reference\u002Foutput-and-errors.md) — and when in doubt, **probe the binary**: run the command wrong on purpose (`runpodctl serverless get nope`) and read the JSON it emits. Every doc is a snapshot, this skill included; the binary in front of you wins.\n\n## Output & errors\n\nData is **JSON on stdout** (`--output=yaml` is the only alternative — there is no table\nformat; anything else silently returns JSON). A failure from the resource commands is a\nsingle flat JSON object on **stderr** plus a **non-zero exit**:\n\n```jsonc\n{\"error\":\"failed to get endpoint: endpoint not found\",\"code\":\"not_found\",\"status\":404}\n```\n\n**Branch on `code`, never on `status` or the message.** `status` is there only when the\nfailure arrived on a non-2xx response — GraphQL reports a missing resource as HTTP 200 +\nnull data, so `if status == 404` misses every GraphQL not-found.\n\n| `code` | what to do |\n| --- | --- |\n| `network_error` | **retry with backoff** — the only code meaning \"couldn't reach the API\" |\n| `rate_limited` `server_error` | **retry with backoff** — 429\u002F5xx from the API |\n| `usage_error` `cli_error` `bad_request` `not_found` `conflict` | don't retry, fix the input |\n| `no_credentials` | no key set: `export RUNPOD_API_KEY=…` or `runpodctl doctor` |\n| `unauthorized` `forbidden` | a key **is** set but is wrong\u002Fexpired or lacks access — don't retry, don't re-prompt for a missing key |\n| anything else | treat as fatal, surface `error` verbatim — the API can pass through its own code |\n\n**runpodctl never retries internally**; nothing backs off for you.\n\n- **`not_found` always means the API lacks the resource**, never a mistyped local path\n  (that's `cli_error`).\n- **`cli_error` is a mixed bucket:** local environment problems *and* invocation mistakes\n  the command validates itself (e.g. `ssh remove-key` with neither `--name` nor\n  `--fingerprint`). Only cobra-enforced required flags are `usage_error`.\n- **`usage_error`** = unknown command\u002Fflag, bad args, missing cobra-required flag; usage\n  text follows the JSON. Runtime errors no longer print usage.\n- **Non-empty stderr does not mean failure** — deprecation `warning:` and `note:` lines go\n  to stderr on success too. Gate on the exit code, then parse stderr.\n\nCoded errors, the serverless `urls` object and GPU pricing all need **runpodctl ≥ v2.8.0**.\nOlder binaries emit `{\"error\":\"…\"}` with **no `code` and no `status`** — still JSON-shaped,\nso a `switch (err.code)` silently gets `undefined` rather than failing loudly. **Gate on\n`code` being present**, not on JSON-vs-plaintext; `runpodctl version` is unreliable for\nthis (plaintext, and a source build reports a placeholder version).\n\nFull code table, the surfaces that still print plaintext (`exec`, legacy `pod`\ncommands, `project`), and the env-var table (incl. `RUNPOD_INVOKE_URL`):\n**[reference\u002Foutput-and-errors.md](reference\u002Foutput-and-errors.md)**.\n\n## Decision Rules\n\n- Use Hub when the user wants a known deployable app or worker such as vLLM, ComfyUI, Whisper, or a Runpod-maintained repo.\n  - **Picking a worker:** prefer a **first-party or well-adopted, recently-released** worker on a **broad, high-availability GPU pool**. Observable signals via `runpodctl hub list`: `--owner runpod-workers` (first-party), `--order-by releasedAt`\u002F`updatedAt` (recency), `--order-by deploys`\u002F`stars` (adoption). Don't pin a scarce large-GPU tier a small model doesn't need.\n- **\"Active worker\" = minimum workers, not maximum.** If a user asks for an \"active worker,\" they mean `--workers-min 1` (keep one worker always warm → no cold start), **not** `--workers-max 1` (that only caps the ceiling). A warm min-1 worker is ideal for development\u002Fiteration.\n- ⚠️ **A min-1 worker bills continuously, even while idle** (it defeats scale-to-zero). When you set `--workers-min 1` for dev, you **must** set it back to `--workers-min 0` (or delete the endpoint) when done — otherwise it quietly runs up cost.\n  - **Needs runpodctl ≥ v2.10.0.** On earlier binaries `--workers-min 0` and `--idle-timeout 0` were **silently dropped** from the update request (`omitempty` ate the zero), so the reset looked like it applied and the endpoint kept billing. Check `runpodctl version`; on an older binary confirm with `serverless get \u003Cid>` and fall back to `PATCH https:\u002F\u002Frest.runpod.io\u002Fv1\u002Fendpoints\u002F\u003Cid>` with an explicit `{\"workersMin\":0}`.\n- `serverless update` has **no `--gpu-id` flag**. To change an existing endpoint's GPU pool, call `PATCH https:\u002F\u002Frest.runpod.io\u002Fv1\u002Fendpoints\u002F\u003Cid>` with `{\"gpuTypeIds\":[...]}` directly.\n- **CPU serverless endpoints:** always create them with `runpodctl serverless create --compute-type CPU` — **not** the MCP server, whose v2 `create-endpoint` requires `gpuPoolIds` and has no CPU concept. **Never** use the public control REST `POST https:\u002F\u002Frest.runpod.io\u002Fv1\u002Fendpoints` with `\"computeType\":\"CPU\"` — it silently provisions a **GPU** endpoint instead (verified evidence in the Serverless command section below).\n- Use templates when the user already has a template ID, wants reusable image\u002Fconfig defaults, or needs lower-level control than Hub.\n- Use direct pod creation with `--image` when the user has a specific Docker image and does not need a saved template.\n- Use serverless for request\u002Fresponse inference APIs and scalable workers; use pods for interactive work, notebooks, training, debugging, or long-lived sessions.\n- Use CPU pods for preprocessing, file movement, lightweight scripts, and non-CUDA work. Use GPU pods when CUDA, model inference, training, or GPU memory is required.\n- Do not pass GPU flags when creating CPU pods. Check `runpodctl pod create --help` for the current valid flag set.\n- **Waiting for a resource to be usable: use `--wait`, don't hand-roll a poll loop** (v2.9.0+). `create` returns as soon as the resource is *scheduled*, which is why a \"RUNNING\" pod often refuses ssh and a fresh endpoint 404s. `pod create --wait` returns when port 22 answers with an ssh banner; `serverless create --wait` when `\u002Fhealth` reports a ready or running worker. On timeout or ctrl-c the resource is **kept**, and its id is in the error object's `id` field — read that and clean up, don't assume nothing was created (a pod bills by the second; an endpoint with no running worker doesn't, but will start one on the first request).\n- Standing up a **service on a pod** (Ollama, ComfyUI, a dev server)? Declare its `--ports` and `--env` **at creation** (they can't be added to a running pod without a reset), then follow the pod development loop in the `runpod-usage` skill (`reference\u002Fpod-workflows.md`) — SSH-exec the install, bind to `0.0.0.0`, and poll the proxy URL until it answers.\n- For SSH, use `runpodctl pod get \u003Cpod-id>` or `runpodctl ssh info \u003Cpod-id>` to retrieve connection details. runpodctl has **no interactive-shell command** — `ssh info` returns the connection command + key but does not connect. Run commands over SSH yourself with `ssh user@host \"command\"`.\n- Network volumes are location-sensitive. Check datacenter availability before attaching volumes, and use `send` \u002F `receive` or S3-compatible storage for migrations.\n- Clean up paid resources after tests: delete serverless endpoints, pods, and temporary volumes created for validation.\n  - **Cost guard on creation:** use `--terminate-after` (deletes the pod); `--stop-after` only *stops* it, so disk\u002Fvolume keep billing.\n  - **Attached volume:** to delete a network volume, remove the pod using it first.\n\n### Serverless facts (context, not rules)\n\n- **Scale-to-zero billing:** serverless endpoints scale to zero with `--workers-min 0` (the default) — no GPU billing while idle, only per request-second; this is the right cost posture for a request\u002Fresponse API.\n- **Broken-image tell:** if deployed workers go `ready` but jobs sit `IN_QUEUE` with `inProgress: 0`, the image is broken\u002Fmis-dispatching — the fix is to switch to a different worker rather than wait it out.\n- **Diagnosing it:** read the worker\u002Fjob counts with `runpodctl serverless health \u003Cendpoint-id>` (v2.9.0+), then read what the workers actually printed with `runpodctl serverless logs \u003Cendpoint-id>` (v2.10.0+) — no hand-built curl needed. Repeated `system` \"start container\" lines with no `container` output means the container exits before the handler runs.\n\n## Commands\n\nEssentials below. **For flags, ask the binary** — `runpodctl \u003Cresource> \u003Caction> --help`, which is current by construction. [reference\u002Fcommand-reference.md](reference\u002Fcommand-reference.md) holds the part `--help` cannot answer: what a flag *means* when it succeeds, which field to trust, and what a failure looks like.\n\n### Pods\n\n```bash\nrunpodctl pod list                                   # running pods (+ --all \u002F --status \u002F --since \u002F --created-after)\nrunpodctl pod get \u003Cpod-id>                           # details incl. SSH info + runtimeStatus\nrunpodctl pod create --template-id \u003Cid> --gpu-id \"NVIDIA GeForce RTX 4090\"   # from template\nrunpodctl pod create --image \u003Cimg> --gpu-id \"NVIDIA GeForce RTX 4090\"        # from image\nrunpodctl pod create --compute-type cpu --image ubuntu:22.04                 # CPU pod (lowercase `cpu`; serverless uses `CPU`)\nrunpodctl pod create --image \u003Cimg> --gpu-id \u003Cid> --wait                      # block until ssh answers, then print the pod (v2.9.0+)\nrunpodctl pod {start|stop|restart|reset|update|delete} \u003Cpod-id>              # lifecycle (delete aliases: rm\u002Fremove)\nrunpodctl pod logs \u003Cpod-id>                          # recent container+system logs, json lines (v2.10.0+)\nrunpodctl pod logs \u003Cpod-id> --follow                 # keep streaming, reconnects on its own\nrunpodctl pod logs \u003Cpod-id> --since 30m --source system   # platform view: image pull \u002F create \u002F start\n```\n\n**A stalled deploy shows up in `--source system`** (v2.10.0+): repeated pull progress, or a\n`create container` that never reaches `start`. Use `--source container` for your workload's own\noutput. Each line is one `{source,line,ts}` object, so pipe it straight to `jq`.\n\n**Read `runtimeStatus`, not `desiredStatus`, to decide whether a pod is usable** (v2.9.0+):\n`desiredStatus: RUNNING` says that while the image is still pulling. Field meanings, reason\ntokens, and two edges (`--status` filters `desiredStatus` only; `unknown` = lookup failed, not\npod down) → [reference\u002Fcommand-reference.md](reference\u002Fcommand-reference.md#pod-status-fields).\n\n### Hub\n\nBrowse\u002Fsearch the Runpod Hub (curated deployable repos).\n\n```bash\nrunpodctl hub search vllm                            # find a repo (+ hub list [--type\u002F--category\u002F--order-by\u002F--owner])\nrunpodctl hub get \u003Clisting-id|owner\u002Fname>            # repo details\n```\n\n### Serverless (alias: sls)\n\n```bash\nrunpodctl serverless list | get \u003Cendpoint-id> | delete \u003Cendpoint-id>\nrunpodctl serverless create --name \"x\" --template-id \u003Cid>       # from template\nrunpodctl serverless create --name \"x\" --hub-id \u003Clisting-id>    # from hub (+ --env KEY=VAL to override defaults)\nrunpodctl serverless create --hub-id \u003Cid> --gpu-id \"NVIDIA GeForce RTX 4090\" \\\n  --model-reference https:\u002F\u002Fhuggingface.co\u002F\u003Corg>\u002F\u003Cmodel>:main   # attach & host-cache a HF model (GPU only)\nrunpodctl serverless update \u003Cendpoint-id> --workers-max 5\nrunpodctl serverless create --template-id \u003Cid> --workers-min 1 --wait          # block until a worker is ready (v2.9.0+)\n```\n\n**Invoke URLs come back with the endpoint.** `create`\u002F`get`\u002F`list`\u002F`update` include a\n`urls` object (`run`, `runsync`, `health`), so a freshly created endpoint is callable\nwithout a second lookup — read them instead of assembling the URL yourself. They're\nbuilt from `RUNPOD_INVOKE_URL` (default `https:\u002F\u002Fapi.runpod.ai\u002Fv2`), which\n`RUNPOD_API_URL`\u002F`RUNPOD_GRAPHQL_URL` do **not** move: [reference\u002Foutput-and-errors.md](reference\u002Foutput-and-errors.md#serverless-invoke-urls).\n\n**Reading worker logs** (v2.10.0+) — also first-class, so worker output no longer requires the\nMCP lane or a hand-built SSE read:\n\n```bash\nrunpodctl serverless logs \u003Cendpoint-id>                       # every worker's recent logs, json lines\nrunpodctl serverless logs \u003Cendpoint-id> --worker \u003Cworker-id>  # just one worker\nrunpodctl serverless logs \u003Cendpoint-id> --follow              # picks up workers that scale up mid-follow\nrunpodctl serverless logs \u003Cendpoint-id> --since 1h --source system   # why a worker will not start\n```\n\nLogs belong to a **worker**, not the endpoint, so without `--worker` this reads them all at once and\ntags each line with its `workerId`. **The crash-loop tell:** repeated `system` \"start container\" lines\nwith no `container` output means the container exits before the handler runs — jobs then sit in the\nqueue with nothing wrong with capacity.\n\n**Invoking an endpoint** (v2.9.0+) — first-class commands, so an agent does not hand-build a\ncurl request or manage a bearer token:\n\n```bash\nrunpodctl serverless run \u003Cendpoint-id> --input '{\"prompt\":\"hello\"}'   # submit and wait for the result\nrunpodctl serverless run \u003Cendpoint-id> --input-file payload.json      # same, payload from a file (\"-\" = stdin)\nrunpodctl serverless run \u003Cendpoint-id> --input '{}' --wait 15m        # longer budget (default 5m)\nrunpodctl serverless run \u003Cendpoint-id> --input '{}' --no-wait         # submit, print the queued job, exit 0\nrunpodctl serverless status \u003Cendpoint-id> \u003Cjob-id>                    # check a job submitted earlier\nrunpodctl serverless health \u003Cendpoint-id>                             # worker + job counts\n```\n\n- **Pass only the handler payload** — the cli wraps it as `{\"input\": \u003Cyour json>}` itself, so\n  pasting a whole curl envelope double-wraps it.\n- **`timeout` means the cli stopped waiting, not that the endpoint broke.** When the message\n  names a `serverless status` command the job is still running server-side — poll it, do\n  **not** re-invoke (that buys a second job).\n\nPayload rules, the stdout\u002Fstderr split, exit codes and why `\u002Frunsync` is never used →\n[reference\u002Fcommand-reference.md](reference\u002Fcommand-reference.md#invoking-an-endpoint-serverless-run-v290).\n\n**Create from hub:** `--hub-id` resolves the hub listing, extracts the build image and config (GPU IDs, container disk, env vars), creates an inline template, and deploys. Accepts both SERVERLESS and POD listing types. GPU IDs and env var defaults from the hub config are included automatically; override with `--gpu-id` and `--env`.\n\n**CPU serverless endpoints** (the always\u002Fnever rule is in Decision Rules above): create with `runpodctl serverless create --compute-type CPU` (optionally `--instance-id`, e.g. `cpu3g-4-16`). Verified evidence for why the public REST must not be used: 2026-07-14, `POST https:\u002F\u002Frest.runpod.io\u002Fv1\u002Fendpoints` with `\"computeType\":\"CPU\"` silently returned a GPU endpoint (`gpuCount:1`, `cpuFlavorIds:null`), while `runpodctl --compute-type CPU` correctly returned `computeType:\"CPU\"` with `instanceIds:[\"cpu3g-4-16\"]`. The MCP server is **not** an alternative here: its v2 `create-endpoint` requires `gpuPoolIds` and the v2 spec has no `computeType`\u002F`cpuFlavor` field at all (verified 2026-07-29). The public control REST is v1-only (`rest.runpod.io\u002Fv2` just redirects to docs). The separate **runtime\u002Finvoke** API `https:\u002F\u002Fapi.runpod.ai\u002Fv2\u002F\u003Cendpoint-id>\u002F…` (health\u002Frun\u002Frunsync\u002Fopenai) is a different v2 and works fine — the v1-vs-v2 caveat here is only about the **control\u002Fmanagement** REST.\n\n**Model cache (`--model-reference`):** Attach a Hugging Face model to the endpoint by full URL with a ref, e.g. `https:\u002F\u002Fhuggingface.co\u002FQwen\u002FQwen2.5-0.5B-Instruct:main`. Runpod caches it host-side in the standard HF cache dir (`\u002Frunpod-volume\u002Fhuggingface-cache\u002Fhub\u002F`), so the worker loads it directly — no bake, no volume. Repeatable; works with `--template-id`\u002F`--hub-id`, GPU only, **runpodctl v2.4.0+**. Full mechanics + how it compares to baking \u002F network volume \u002F the Model Repository: **[reference\u002Fmodel-caching.md](reference\u002Fmodel-caching.md)**. Worked end-to-end: golden path [20 — model-caching endpoint](..\u002Frunpod\u002Fgolden-paths\u002F20-model-caching-endpoint.md).\n\n**Multi-region \u002F high-availability (`--network-volume-ids`):** attach **multiple** network\nvolumes (one per data center) so workers spread across DCs instead of being pinned to one —\n`runpodctl serverless create --template-id \u003Ct> --network-volume-ids \u003Cv1>,\u003Cv2> --data-center-ids \u003Cdc1>,\u003Cdc2> …`.\n**Requires runpodctl ≥ v2.4.0** (older versions don't support multi-volume attach). Check\n`runpodctl version`; the Homebrew tap can lag, so prefer the\n[GitHub releases](https:\u002F\u002Fgithub.com\u002Frunpod\u002Frunpodctl\u002Freleases) binary. Data does **not**\nsync between volumes automatically — see golden path\n[10 — multi-region HA serverless](..\u002Frunpod\u002Fgolden-paths\u002F10-multi-region-ha-serverless.md).\n\nFor exact serverless flags, run `runpodctl serverless \u003Caction> --help`.\n\n### Templates (alias: tpl)\n\n```bash\nrunpodctl template search \u003Cq>                        # find (+ template list [--type official\u002Fcommunity\u002Fuser, --all, --limit])\nrunpodctl template get \u003Ctemplate-id>                 # details (README, env, ports)\nrunpodctl template create --name \"x\" --image \"img\" [--serverless]\nrunpodctl template delete \u003Ctemplate-id>\n```\n\n### Network Volumes (alias: nv)\n\n```bash\nrunpodctl network-volume list                         # List all volumes\nrunpodctl network-volume get \u003Cvolume-id>              # Get volume details\nrunpodctl network-volume create --name \"x\" --size 100 --data-center-id \"US-GA-1\"  # Create volume\nrunpodctl network-volume update \u003Cvolume-id> --name \"new\"  # Update volume\nrunpodctl network-volume delete \u003Cvolume-id>           # Delete volume\n```\n\nFor exact network volume flags, run `runpodctl network-volume \u003Caction> --help`.\n\n> **No storage-tier flag.** `create` provisions the data center's **default** tier — there's\n> no `--type`. To get a **High-Performance** volume, use the console (a ⚡ data center's toggle)\n> or a raw **v2 REST** call (`POST https:\u002F\u002Fv2-rest.runpod.io\u002Fv2\u002Fnetwork-volumes` with\n> `\"type\":\"HIGH_PERFORMANCE\"`) — or the MCP `create-network-volume` tool, which takes\n> `volumeType` (`STANDARD` | `HIGH_PERFORMANCE`). Tier is immutable after creation. Launch details: golden path [21](..\u002Frunpod\u002Fgolden-paths\u002F21-storage-tiers.md).\n\n### Models (Model Repository)\n\n`runpodctl model` manages the **Runpod Model Repository** — managed, versioned storage\nfor your **own** model artifacts (upload once, distributed to workers; not pinned to a\ndata center like a network volume). What it is, why\u002Fhow, migrating off a baked-in model,\nand Model-Repo-vs-volume: **[reference\u002Fmodel-caching.md](reference\u002Fmodel-caching.md)**.\n\n```bash\nrunpodctl model list                                  # List your models\nrunpodctl model list --all                            # List all models (not just yours)\nrunpodctl model list --name \"llama\"                   # Filter by name\nrunpodctl model list --provider \"meta\"                # Filter by provider\nrunpodctl model add --name \"my-model\" --model-path .\u002Fmodel   # Upload a local model dir (multipart)\nrunpodctl model remove --name \"my-model\" --owner \u003Cowner>     # Remove a model\n```\n\n`model add` supports upload sessions, versioning, metadata, and private-source credentials — see live `runpodctl model add --help`.\n\n### Info & SSH\n\n```bash\nrunpodctl user                                       # account info + balance (alias: me)\nrunpodctl gpu list                                   # available GPUs + $\u002Fhr + per-DC stock (+ --include-unavailable)\nrunpodctl datacenter list                            # datacenters (alias: dc)\nrunpodctl ssh info \u003Cpod-id>                          # SSH connection details (command + key; NOT an interactive session)\n```\n\n**`gpu list` carries pricing and placement data** — `securePricePerHr` \u002F\n`communityPricePerHr` (explicitly `null` when that cloud doesn't offer the GPU) and a\n`dataCenterAvailability[]` breakdown. Read the breakdown, not just top-level\n`stockStatus` (which is only the *best* status across DCs), when a create has to\nschedule in a specific DC — and pass `--include-unavailable`, since the default listing\nhides no-stock GPUs and can omit one that has stock only in the DC you want. The prices\nare **pod on-demand** rates. Shape, stock-value vocabulary and the `\"none\"` vs\nomitted-key sentinel:\n[reference\u002Foutput-and-errors.md](reference\u002Foutput-and-errors.md#gpu-pricing-and-per-data-center-availability).\n\n`ssh info` gives connection details, not a session — if interactive SSH isn't available, run `ssh user@host \"command\"`. **Registry auth, `billing` history, and SSH key management** (`ssh add-key`\u002F`remove-key`) are in [reference\u002Fcommand-reference.md](reference\u002Fcommand-reference.md).\n\n### File Transfer\n\n```bash\nrunpodctl send \u003Cpath>                                # prints a one-time code, then blocks until the receiver connects\nrunpodctl receive \u003Ccode>                             # positional code (no --code flag)\n```\n\nEncrypted\u002Fincremental\u002Fcompressed — don't pre-tar. **Key gotchas:** capture the **first line of `send` stdout** (the code) as it streams (background + tee), each `send` mints a **fresh** code, both sides must exit `0`. Full agent flow (pod push via `ssh` + `receive`): [reference\u002Fcommand-reference.md](reference\u002Fcommand-reference.md#file-transfer).\n\n### Utilities\n\n```bash\nrunpodctl doctor                                      # Diagnose and fix CLI issues\nrunpodctl update                                      # Update CLI\nrunpodctl version                                     # Show version\nrunpodctl completion                                  # Auto-detect shell and install completion\n```\n\n## URLs\n\n### Pod URLs\n\nAccess exposed ports on your pod:\n\n```\nhttps:\u002F\u002F\u003Cpod-id>-\u003Cport>.proxy.runpod.net\n```\n\nExample: `https:\u002F\u002Fabc123xyz-8888.proxy.runpod.net`\n\n### Serverless URLs\n\nPrefer `runpodctl serverless run|status|health` (above) — same api, with auth, validation and\nbounded polling handled. Use the raw urls for what the commands don't cover: streaming, the\nOpenAI-compatible route, or a copy-paste `curl` for a user.\n\n```\nhttps:\u002F\u002Fapi.runpod.ai\u002Fv2\u002F\u003Cendpoint-id>\u002Frun        # Async request\nhttps:\u002F\u002Fapi.runpod.ai\u002Fv2\u002F\u003Cendpoint-id>\u002Frunsync    # Sync request\nhttps:\u002F\u002Fapi.runpod.ai\u002Fv2\u002F\u003Cendpoint-id>\u002Fhealth     # Health check\nhttps:\u002F\u002Fapi.runpod.ai\u002Fv2\u002F\u003Cendpoint-id>\u002Fstatus\u002F\u003Cjob-id>  # Job status\n```\n\n`serverless create`\u002F`get`\u002F`list`\u002F`update` already return `run`\u002F`runsync`\u002F`health` in a\n`urls` object — prefer those over hand-assembling, since a non-default\n`RUNPOD_INVOKE_URL` changes the base. Only `status\u002F\u003Cjob-id>` has to be built by hand.\n\n## Source & docs\n\n- CLI source: https:\u002F\u002Fgithub.com\u002Frunpod\u002Frunpodctl\n- Releases (binaries): https:\u002F\u002Fgithub.com\u002Frunpod\u002Frunpodctl\u002Freleases\n- Docs: https:\u002F\u002Fdocs.runpod.io\u002Frunpodctl\u002Foverview\n","# Runpodctl\n\nManage GPU pods, serverless endpoints, templates, volumes, and models.\n\n## Install\n\n`curl -sSL https:\u002F\u002Fcli.runpod.net | bash` (Linux\u002FmacOS, and Windows via WSL) or `brew install runpod\u002Frunpodctl\u002Frunpodctl`. Manual binaries and the Windows and conda steps live in the [runpodctl README](https:\u002F\u002Fgithub.com\u002Frunpod\u002Frunpodctl#install), beside the `install.sh` they describe. The command surface comes from the binary — `runpodctl \u003Cresource> \u003Caction> --help` — or the generated pages under [`runpodctl\u002Fdocs\u002F`](https:\u002F\u002Fgithub.com\u002Frunpod\u002Frunpodctl\u002Ftree\u002Fmain\u002Fdocs).\n\n> Old runpodctl builds silently lack newer flags\u002Fbehaviors (e.g. `--model-reference` doesn't\n> exist before v2.4.0) and produce confusing downstream errors — and the Homebrew tap can lag\n> well behind. So, before any work:\n>\n> - **Update to the latest build** — check `runpodctl version`, then run `runpodctl update`\n>   (or reinstall from the [latest release](https:\u002F\u002Fgithub.com\u002Frunpod\u002Frunpodctl\u002Freleases)).\n> - **Pin to one recent version for the whole task.**\n> - **Never switch between an old and a new binary mid-task** (that flip-flop is a known failure).\n> - **Verify once** — `runpodctl version` shows the current build before you continue.\n\n## Quick start\n\n```bash\nrunpodctl update                    # FIRST: get on the latest build — old versions cause confusing errors\nrunpodctl version                   # confirm the current version before doing any work\nexport RUNPOD_API_KEY=your_key      # Non-interactive auth (agents) — runpodctl reads this\nrunpodctl doctor                    # Interactive first-time setup (API key + SSH) — for humans\nrunpodctl --help                    # See current top-level commands\nrunpodctl pod create --help         # Inspect exact current flags before creating\nrunpodctl gpu list                  # See available GPU types\nrunpodctl datacenter list           # GPU availability per data center (use to co-locate GPU + volume)\nrunpodctl hub search vllm           # Find a hub repo\nrunpodctl serverless create --hub-id \u003Cid> --name \"my-vllm\"  # Deploy from hub\nrunpodctl template search pytorch   # Find a template\nrunpodctl pod create --template-id runpod-torch-v21 --gpu-id \"NVIDIA GeForce RTX 4090\"  # Create from template\nrunpodctl pod list                  # List your pods\n```\n\n> Auth: an agent should `export RUNPOD_API_KEY=...` (non-interactive). `runpodctl\n> doctor` is interactive (prompts) and also sets up SSH keys — good for a human's\n> first run, not for scripted use.\n\nAPI key: https:\u002F\u002Fconsole.runpod.io\u002Fuser\u002Fsettings\n\n## Live Help Is Authoritative\n\nLive `runpodctl --help` output is authoritative for exact flags, aliases, and command syntax. Use this skill for workflows, decision rules, safety notes, and common examples.\n\n```bash\nrunpodctl --help\nrunpodctl \u003Cresource> --help\nrunpodctl \u003Cresource> \u003Caction> --help\n```\n\nBefore using unfamiliar commands, inspect live help first. Do not rely on this skill as an exhaustive flag reference.\n\n**What live help does *not* cover:** output shapes, error codes, and exit-code behavior. `--help` lists flags; it never shows you what a failure looks like. For those, use [reference\u002Foutput-and-errors.md](reference\u002Foutput-and-errors.md) — and when in doubt, **probe the binary**: run the command wrong on purpose (`runpodctl serverless get nope`) and read the JSON it emits. Every doc is a snapshot, this skill included; the binary in front of you wins.\n\n## Output & errors\n\nData is **JSON on stdout** (`--output=yaml` is the only alternative — there is no table\nformat; anything else silently returns JSON). A failure from the resource commands is a\nsingle flat JSON object on **stderr** plus a **non-zero exit**:\n\n```jsonc\n{\"error\":\"failed to get endpoint: endpoint not found\",\"code\":\"not_found\",\"status\":404}\n```\n\n**Branch on `code`, never on `status` or the message.** `status` is there only when the\nfailure arrived on a non-2xx response — GraphQL reports a missing resource as HTTP 200 +\nnull data, so `if status == 404` misses every GraphQL not-found.\n\n| `code` | what to do |\n| --- | --- |\n| `network_error` | **retry with backoff** — the only code meaning \"couldn't reach the API\" |\n| `rate_limited` `server_error` | **retry with backoff** — 429\u002F5xx from the API |\n| `usage_error` `cli_error` `bad_request` `not_found` `conflict` | don't retry, fix the input |\n| `no_credentials` | no key set: `export RUNPOD_API_KEY=…` or `runpodctl doctor` |\n| `unauthorized` `forbidden` | a key **is** set but is wrong\u002Fexpired or lacks access — don't retry, don't re-prompt for a missing key |\n| anything else | treat as fatal, surface `error` verbatim — the API can pass through its own code |\n\n**runpodctl never retries internally**; nothing backs off for you.\n\n- **`not_found` always means the API lacks the resource**, never a mistyped local path\n  (that's `cli_error`).\n- **`cli_error` is a mixed bucket:** local environment problems *and* invocation mistakes\n  the command validates itself (e.g. `ssh remove-key` with neither `--name` nor\n  `--fingerprint`). Only cobra-enforced required flags are `usage_error`.\n- **`usage_error`** = unknown command\u002Fflag, bad args, missing cobra-required flag; usage\n  text follows the JSON. Runtime errors no longer print usage.\n- **Non-empty stderr does not mean failure** — deprecation `warning:` and `note:` lines go\n  to stderr on success too. Gate on the exit code, then parse stderr.\n\nCoded errors, the serverless `urls` object and GPU pricing all need **runpodctl ≥ v2.8.0**.\nOlder binaries emit `{\"error\":\"…\"}` with **no `code` and no `status`** — still JSON-shaped,\nso a `switch (err.code)` silently gets `undefined` rather than failing loudly. **Gate on\n`code` being present**, not on JSON-vs-plaintext; `runpodctl version` is unreliable for\nthis (plaintext, and a source build reports a placeholder version).\n\nFull code table, the surfaces that still print plaintext (`exec`, legacy `pod`\ncommands, `project`), and the env-var table (incl. `RUNPOD_INVOKE_URL`):\n**[reference\u002Foutput-and-errors.md](reference\u002Foutput-and-errors.md)**.\n\n## Decision Rules\n\n- Use Hub when the user wants a known deployable app or worker such as vLLM, ComfyUI, Whisper, or a Runpod-maintained repo.\n  - **Picking a worker:** prefer a **first-party or well-adopted, recently-released** worker on a **broad, high-availability GPU pool**. Observable signals via `runpodctl hub list`: `--owner runpod-workers` (first-party), `--order-by releasedAt`\u002F`updatedAt` (recency), `--order-by deploys`\u002F`stars` (adoption). Don't pin a scarce large-GPU tier a small model doesn't need.\n- **\"Active worker\" = minimum workers, not maximum.** If a user asks for an \"active worker,\" they mean `--workers-min 1` (keep one worker always warm → no cold start), **not** `--workers-max 1` (that only caps the ceiling). A warm min-1 worker is ideal for development\u002Fiteration.\n- ⚠️ **A min-1 worker bills continuously, even while idle** (it defeats scale-to-zero). When you set `--workers-min 1` for dev, you **must** set it back to `--workers-min 0` (or delete the endpoint) when done — otherwise it quietly runs up cost.\n  - **Needs runpodctl ≥ v2.10.0.** On earlier binaries `--workers-min 0` and `--idle-timeout 0` were **silently dropped** from the update request (`omitempty` ate the zero), so the reset looked like it applied and the endpoint kept billing. Check `runpodctl version`; on an older binary confirm with `serverless get \u003Cid>` and fall back to `PATCH https:\u002F\u002Frest.runpod.io\u002Fv1\u002Fendpoints\u002F\u003Cid>` with an explicit `{\"workersMin\":0}`.\n- `serverless update` has **no `--gpu-id` flag**. To change an existing endpoint's GPU pool, call `PATCH https:\u002F\u002Frest.runpod.io\u002Fv1\u002Fendpoints\u002F\u003Cid>` with `{\"gpuTypeIds\":[...]}` directly.\n- **CPU serverless endpoints:** always create them with `runpodctl serverless create --compute-type CPU` — **not** the MCP server, whose v2 `create-endpoint` requires `gpuPoolIds` and has no CPU concept. **Never** use the public control REST `POST https:\u002F\u002Frest.runpod.io\u002Fv1\u002Fendpoints` with `\"computeType\":\"CPU\"` — it silently provisions a **GPU** endpoint instead (verified evidence in the Serverless command section below).\n- Use templates when the user already has a template ID, wants reusable image\u002Fconfig defaults, or needs lower-level control than Hub.\n- Use direct pod creation with `--image` when the user has a specific Docker image and does not need a saved template.\n- Use serverless for request\u002Fresponse inference APIs and scalable workers; use pods for interactive work, notebooks, training, debugging, or long-lived sessions.\n- Use CPU pods for preprocessing, file movement, lightweight scripts, and non-CUDA work. Use GPU pods when CUDA, model inference, training, or GPU memory is required.\n- Do not pass GPU flags when creating CPU pods. Check `runpodctl pod create --help` for the current valid flag set.\n- **Waiting for a resource to be usable: use `--wait`, don't hand-roll a poll loop** (v2.9.0+). `create` returns as soon as the resource is *scheduled*, which is why a \"RUNNING\" pod often refuses ssh and a fresh endpoint 404s. `pod create --wait` returns when port 22 answers with an ssh banner; `serverless create --wait` when `\u002Fhealth` reports a ready or running worker. On timeout or ctrl-c the resource is **kept**, and its id is in the error object's `id` field — read that and clean up, don't assume nothing was created (a pod bills by the second; an endpoint with no running worker doesn't, but will start one on the first request).\n- Standing up a **service on a pod** (Ollama, ComfyUI, a dev server)? Declare its `--ports` and `--env` **at creation** (they can't be added to a running pod without a reset), then follow the pod development loop in the `runpod-usage` skill (`reference\u002Fpod-workflows.md`) — SSH-exec the install, bind to `0.0.0.0`, and poll the proxy URL until it answers.\n- For SSH, use `runpodctl pod get \u003Cpod-id>` or `runpodctl ssh info \u003Cpod-id>` to retrieve connection details. runpodctl has **no interactive-shell command** — `ssh info` returns the connection command + key but does not connect. Run commands over SSH yourself with `ssh user@host \"command\"`.\n- Network volumes are location-sensitive. Check datacenter availability before attaching volumes, and use `send` \u002F `receive` or S3-compatible storage for migrations.\n- Clean up paid resources after tests: delete serverless endpoints, pods, and temporary volumes created for validation.\n  - **Cost guard on creation:** use `--terminate-after` (deletes the pod); `--stop-after` only *stops* it, so disk\u002Fvolume keep billing.\n  - **Attached volume:** to delete a network volume, remove the pod using it first.\n\n### Serverless facts (context, not rules)\n\n- **Scale-to-zero billing:** serverless endpoints scale to zero with `--workers-min 0` (the default) — no GPU billing while idle, only per request-second; this is the right cost posture for a request\u002Fresponse API.\n- **Broken-image tell:** if deployed workers go `ready` but jobs sit `IN_QUEUE` with `inProgress: 0`, the image is broken\u002Fmis-dispatching — the fix is to switch to a different worker rather than wait it out.\n- **Diagnosing it:** read the worker\u002Fjob counts with `runpodctl serverless health \u003Cendpoint-id>` (v2.9.0+), then read what the workers actually printed with `runpodctl serverless logs \u003Cendpoint-id>` (v2.10.0+) — no hand-built curl needed. Repeated `system` \"start container\" lines with no `container` output means the container exits before the handler runs.\n\n## Commands\n\nEssentials below. **For flags, ask the binary** — `runpodctl \u003Cresource> \u003Caction> --help`, which is current by construction. [reference\u002Fcommand-reference.md](reference\u002Fcommand-reference.md) holds the part `--help` cannot answer: what a flag *means* when it succeeds, which field to trust, and what a failure looks like.\n\n### Pods\n\n```bash\nrunpodctl pod list                                   # running pods (+ --all \u002F --status \u002F --since \u002F --created-after)\nrunpodctl pod get \u003Cpod-id>                           # details incl. SSH info + runtimeStatus\nrunpodctl pod create --template-id \u003Cid> --gpu-id \"NVIDIA GeForce RTX 4090\"   # from template\nrunpodctl pod create --image \u003Cimg> --gpu-id \"NVIDIA GeForce RTX 4090\"        # from image\nrunpodctl pod create --compute-type cpu --image ubuntu:22.04                 # CPU pod (lowercase `cpu`; serverless uses `CPU`)\nrunpodctl pod create --image \u003Cimg> --gpu-id \u003Cid> --wait                      # block until ssh answers, then print the pod (v2.9.0+)\nrunpodctl pod {start|stop|restart|reset|update|delete} \u003Cpod-id>              # lifecycle (delete aliases: rm\u002Fremove)\nrunpodctl pod logs \u003Cpod-id>                          # recent container+system logs, json lines (v2.10.0+)\nrunpodctl pod logs \u003Cpod-id> --follow                 # keep streaming, reconnects on its own\nrunpodctl pod logs \u003Cpod-id> --since 30m --source system   # platform view: image pull \u002F create \u002F start\n```\n\n**A stalled deploy shows up in `--source system`** (v2.10.0+): repeated pull progress, or a\n`create container` that never reaches `start`. Use `--source container` for your workload's own\noutput. Each line is one `{source,line,ts}` object, so pipe it straight to `jq`.\n\n**Read `runtimeStatus`, not `desiredStatus`, to decide whether a pod is usable** (v2.9.0+):\n`desiredStatus: RUNNING` says that while the image is still pulling. Field meanings, reason\ntokens, and two edges (`--status` filters `desiredStatus` only; `unknown` = lookup failed, not\npod down) → [reference\u002Fcommand-reference.md](reference\u002Fcommand-reference.md#pod-status-fields).\n\n### Hub\n\nBrowse\u002Fsearch the Runpod Hub (curated deployable repos).\n\n```bash\nrunpodctl hub search vllm                            # find a repo (+ hub list [--type\u002F--category\u002F--order-by\u002F--owner])\nrunpodctl hub get \u003Clisting-id|owner\u002Fname>            # repo details\n```\n\n### Serverless (alias: sls)\n\n```bash\nrunpodctl serverless list | get \u003Cendpoint-id> | delete \u003Cendpoint-id>\nrunpodctl serverless create --name \"x\" --template-id \u003Cid>       # from template\nrunpodctl serverless create --name \"x\" --hub-id \u003Clisting-id>    # from hub (+ --env KEY=VAL to override defaults)\nrunpodctl serverless create --hub-id \u003Cid> --gpu-id \"NVIDIA GeForce RTX 4090\" \\\n  --model-reference https:\u002F\u002Fhuggingface.co\u002F\u003Corg>\u002F\u003Cmodel>:main   # attach & host-cache a HF model (GPU only)\nrunpodctl serverless update \u003Cendpoint-id> --workers-max 5\nrunpodctl serverless create --template-id \u003Cid> --workers-min 1 --wait          # block until a worker is ready (v2.9.0+)\n```\n\n**Invoke URLs come back with the endpoint.** `create`\u002F`get`\u002F`list`\u002F`update` include a\n`urls` object (`run`, `runsync`, `health`), so a freshly created endpoint is callable\nwithout a second lookup — read them instead of assembling the URL yourself. They're\nbuilt from `RUNPOD_INVOKE_URL` (default `https:\u002F\u002Fapi.runpod.ai\u002Fv2`), which\n`RUNPOD_API_URL`\u002F`RUNPOD_GRAPHQL_URL` do **not** move: [reference\u002Foutput-and-errors.md](reference\u002Foutput-and-errors.md#serverless-invoke-urls).\n\n**Reading worker logs** (v2.10.0+) — also first-class, so worker output no longer requires the\nMCP lane or a hand-built SSE read:\n\n```bash\nrunpodctl serverless logs \u003Cendpoint-id>                       # every worker's recent logs, json lines\nrunpodctl serverless logs \u003Cendpoint-id> --worker \u003Cworker-id>  # just one worker\nrunpodctl serverless logs \u003Cendpoint-id> --follow              # picks up workers that scale up mid-follow\nrunpodctl serverless logs \u003Cendpoint-id> --since 1h --source system   # why a worker will not start\n```\n\nLogs belong to a **worker**, not the endpoint, so without `--worker` this reads them all at once and\ntags each line with its `workerId`. **The crash-loop tell:** repeated `system` \"start container\" lines\nwith no `container` output means the container exits before the handler runs — jobs then sit in the\nqueue with nothing wrong with capacity.\n\n**Invoking an endpoint** (v2.9.0+) — first-class commands, so an agent does not hand-build a\ncurl request or manage a bearer token:\n\n```bash\nrunpodctl serverless run \u003Cendpoint-id> --input '{\"prompt\":\"hello\"}'   # submit and wait for the result\nrunpodctl serverless run \u003Cendpoint-id> --input-file payload.json      # same, payload from a file (\"-\" = stdin)\nrunpodctl serverless run \u003Cendpoint-id> --input '{}' --wait 15m        # longer budget (default 5m)\nrunpodctl serverless run \u003Cendpoint-id> --input '{}' --no-wait         # submit, print the queued job, exit 0\nrunpodctl serverless status \u003Cendpoint-id> \u003Cjob-id>                    # check a job submitted earlier\nrunpodctl serverless health \u003Cendpoint-id>                             # worker + job counts\n```\n\n- **Pass only the handler payload** — the cli wraps it as `{\"input\": \u003Cyour json>}` itself, so\n  pasting a whole curl envelope double-wraps it.\n- **`timeout` means the cli stopped waiting, not that the endpoint broke.** When the message\n  names a `serverless status` command the job is still running server-side — poll it, do\n  **not** re-invoke (that buys a second job).\n\nPayload rules, the stdout\u002Fstderr split, exit codes and why `\u002Frunsync` is never used →\n[reference\u002Fcommand-reference.md](reference\u002Fcommand-reference.md#invoking-an-endpoint-serverless-run-v290).\n\n**Create from hub:** `--hub-id` resolves the hub listing, extracts the build image and config (GPU IDs, container disk, env vars), creates an inline template, and deploys. Accepts both SERVERLESS and POD listing types. GPU IDs and env var defaults from the hub config are included automatically; override with `--gpu-id` and `--env`.\n\n**CPU serverless endpoints** (the always\u002Fnever rule is in Decision Rules above): create with `runpodctl serverless create --compute-type CPU` (optionally `--instance-id`, e.g. `cpu3g-4-16`). Verified evidence for why the public REST must not be used: 2026-07-14, `POST https:\u002F\u002Frest.runpod.io\u002Fv1\u002Fendpoints` with `\"computeType\":\"CPU\"` silently returned a GPU endpoint (`gpuCount:1`, `cpuFlavorIds:null`), while `runpodctl --compute-type CPU` correctly returned `computeType:\"CPU\"` with `instanceIds:[\"cpu3g-4-16\"]`. The MCP server is **not** an alternative here: its v2 `create-endpoint` requires `gpuPoolIds` and the v2 spec has no `computeType`\u002F`cpuFlavor` field at all (verified 2026-07-29). The public control REST is v1-only (`rest.runpod.io\u002Fv2` just redirects to docs). The separate **runtime\u002Finvoke** API `https:\u002F\u002Fapi.runpod.ai\u002Fv2\u002F\u003Cendpoint-id>\u002F…` (health\u002Frun\u002Frunsync\u002Fopenai) is a different v2 and works fine — the v1-vs-v2 caveat here is only about the **control\u002Fmanagement** REST.\n\n**Model cache (`--model-reference`):** Attach a Hugging Face model to the endpoint by full URL with a ref, e.g. `https:\u002F\u002Fhuggingface.co\u002FQwen\u002FQwen2.5-0.5B-Instruct:main`. Runpod caches it host-side in the standard HF cache dir (`\u002Frunpod-volume\u002Fhuggingface-cache\u002Fhub\u002F`), so the worker loads it directly — no bake, no volume. Repeatable; works with `--template-id`\u002F`--hub-id`, GPU only, **runpodctl v2.4.0+**. Full mechanics + how it compares to baking \u002F network volume \u002F the Model Repository: **[reference\u002Fmodel-caching.md](reference\u002Fmodel-caching.md)**. Worked end-to-end: golden path [20 — model-caching endpoint](..\u002Frunpod\u002Fgolden-paths\u002F20-model-caching-endpoint.md).\n\n**Multi-region \u002F high-availability (`--network-volume-ids`):** attach **multiple** network\nvolumes (one per data center) so workers spread across DCs instead of being pinned to one —\n`runpodctl serverless create --template-id \u003Ct> --network-volume-ids \u003Cv1>,\u003Cv2> --data-center-ids \u003Cdc1>,\u003Cdc2> …`.\n**Requires runpodctl ≥ v2.4.0** (older versions don't support multi-volume attach). Check\n`runpodctl version`; the Homebrew tap can lag, so prefer the\n[GitHub releases](https:\u002F\u002Fgithub.com\u002Frunpod\u002Frunpodctl\u002Freleases) binary. Data does **not**\nsync between volumes automatically — see golden path\n[10 — multi-region HA serverless](..\u002Frunpod\u002Fgolden-paths\u002F10-multi-region-ha-serverless.md).\n\nFor exact serverless flags, run `runpodctl serverless \u003Caction> --help`.\n\n### Templates (alias: tpl)\n\n```bash\nrunpodctl template search \u003Cq>                        # find (+ template list [--type official\u002Fcommunity\u002Fuser, --all, --limit])\nrunpodctl template get \u003Ctemplate-id>                 # details (README, env, ports)\nrunpodctl template create --name \"x\" --image \"img\" [--serverless]\nrunpodctl template delete \u003Ctemplate-id>\n```\n\n### Network Volumes (alias: nv)\n\n```bash\nrunpodctl network-volume list                         # List all volumes\nrunpodctl network-volume get \u003Cvolume-id>              # Get volume details\nrunpodctl network-volume create --name \"x\" --size 100 --data-center-id \"US-GA-1\"  # Create volume\nrunpodctl network-volume update \u003Cvolume-id> --name \"new\"  # Update volume\nrunpodctl network-volume delete \u003Cvolume-id>           # Delete volume\n```\n\nFor exact network volume flags, run `runpodctl network-volume \u003Caction> --help`.\n\n> **No storage-tier flag.** `create` provisions the data center's **default** tier — there's\n> no `--type`. To get a **High-Performance** volume, use the console (a ⚡ data center's toggle)\n> or a raw **v2 REST** call (`POST https:\u002F\u002Fv2-rest.runpod.io\u002Fv2\u002Fnetwork-volumes` with\n> `\"type\":\"HIGH_PERFORMANCE\"`) — or the MCP `create-network-volume` tool, which takes\n> `volumeType` (`STANDARD` | `HIGH_PERFORMANCE`). Tier is immutable after creation. Launch details: golden path [21](..\u002Frunpod\u002Fgolden-paths\u002F21-storage-tiers.md).\n\n### Models (Model Repository)\n\n`runpodctl model` manages the **Runpod Model Repository** — managed, versioned storage\nfor your **own** model artifacts (upload once, distributed to workers; not pinned to a\ndata center like a network volume). What it is, why\u002Fhow, migrating off a baked-in model,\nand Model-Repo-vs-volume: **[reference\u002Fmodel-caching.md](reference\u002Fmodel-caching.md)**.\n\n```bash\nrunpodctl model list                                  # List your models\nrunpodctl model list --all                            # List all models (not just yours)\nrunpodctl model list --name \"llama\"                   # Filter by name\nrunpodctl model list --provider \"meta\"                # Filter by provider\nrunpodctl model add --name \"my-model\" --model-path .\u002Fmodel   # Upload a local model dir (multipart)\nrunpodctl model remove --name \"my-model\" --owner \u003Cowner>     # Remove a model\n```\n\n`model add` supports upload sessions, versioning, metadata, and private-source credentials — see live `runpodctl model add --help`.\n\n### Info & SSH\n\n```bash\nrunpodctl user                                       # account info + balance (alias: me)\nrunpodctl gpu list                                   # available GPUs + $\u002Fhr + per-DC stock (+ --include-unavailable)\nrunpodctl datacenter list                            # datacenters (alias: dc)\nrunpodctl ssh info \u003Cpod-id>                          # SSH connection details (command + key; NOT an interactive session)\n```\n\n**`gpu list` carries pricing and placement data** — `securePricePerHr` \u002F\n`communityPricePerHr` (explicitly `null` when that cloud doesn't offer the GPU) and a\n`dataCenterAvailability[]` breakdown. Read the breakdown, not just top-level\n`stockStatus` (which is only the *best* status across DCs), when a create has to\nschedule in a specific DC — and pass `--include-unavailable`, since the default listing\nhides no-stock GPUs and can omit one that has stock only in the DC you want. The prices\nare **pod on-demand** rates. Shape, stock-value vocabulary and the `\"none\"` vs\nomitted-key sentinel:\n[reference\u002Foutput-and-errors.md](reference\u002Foutput-and-errors.md#gpu-pricing-and-per-data-center-availability).\n\n`ssh info` gives connection details, not a session — if interactive SSH isn't available, run `ssh user@host \"command\"`. **Registry auth, `billing` history, and SSH key management** (`ssh add-key`\u002F`remove-key`) are in [reference\u002Fcommand-reference.md](reference\u002Fcommand-reference.md).\n\n### File Transfer\n\n```bash\nrunpodctl send \u003Cpath>                                # prints a one-time code, then blocks until the receiver connects\nrunpodctl receive \u003Ccode>                             # positional code (no --code flag)\n```\n\nEncrypted\u002Fincremental\u002Fcompressed — don't pre-tar. **Key gotchas:** capture the **first line of `send` stdout** (the code) as it streams (background + tee), each `send` mints a **fresh** code, both sides must exit `0`. Full agent flow (pod push via `ssh` + `receive`): [reference\u002Fcommand-reference.md](reference\u002Fcommand-reference.md#file-transfer).\n\n### Utilities\n\n```bash\nrunpodctl doctor                                      # Diagnose and fix CLI issues\nrunpodctl update                                      # Update CLI\nrunpodctl version                                     # Show version\nrunpodctl completion                                  # Auto-detect shell and install completion\n```\n\n## URLs\n\n### Pod URLs\n\nAccess exposed ports on your pod:\n\n```\nhttps:\u002F\u002F\u003Cpod-id>-\u003Cport>.proxy.runpod.net\n```\n\nExample: `https:\u002F\u002Fabc123xyz-8888.proxy.runpod.net`\n\n### Serverless URLs\n\nPrefer `runpodctl serverless run|status|health` (above) — same api, with auth, validation and\nbounded polling handled. Use the raw urls for what the commands don't cover: streaming, the\nOpenAI-compatible route, or a copy-paste `curl` for a user.\n\n```\nhttps:\u002F\u002Fapi.runpod.ai\u002Fv2\u002F\u003Cendpoint-id>\u002Frun        # Async request\nhttps:\u002F\u002Fapi.runpod.ai\u002Fv2\u002F\u003Cendpoint-id>\u002Frunsync    # Sync request\nhttps:\u002F\u002Fapi.runpod.ai\u002Fv2\u002F\u003Cendpoint-id>\u002Fhealth     # Health check\nhttps:\u002F\u002Fapi.runpod.ai\u002Fv2\u002F\u003Cendpoint-id>\u002Fstatus\u002F\u003Cjob-id>  # Job status\n```\n\n`serverless create`\u002F`get`\u002F`list`\u002F`update` already return `run`\u002F`runsync`\u002F`health` in a\n`urls` object — prefer those over hand-assembling, since a non-default\n`RUNPOD_INVOKE_URL` changes the base. Only `status\u002F\u003Cjob-id>` has to be built by hand.\n\n## Source & docs\n\n- CLI source: https:\u002F\u002Fgithub.com\u002Frunpod\u002Frunpodctl\n- Releases (binaries): https:\u002F\u002Fgithub.com\u002Frunpod\u002Frunpodctl\u002Freleases\n- Docs: https:\u002F\u002Fdocs.runpod.io\u002Frunpodctl\u002Foverview\n",{"name":5,"license":15,"metadata":24,"description":7,"allowed-tools":27,"compatibility":28},{"author":25,"version":26},"runpod","1.2.0","Bash(runpodctl:*)","Linux, macOS","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".claude\u002Fskills\u002Frunpodctl","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add NeelakshSaxena\u002FVayu --skill runpodctl",{"tool":42,"command":43},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill runpodctl",{"tool":45,"command":46},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill runpodctl","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",true,[50,56,60,64,68,72,76,80,84,88,92,96,100,104,108],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"evals\u002Fcpu-pod-create.eval.md","REFERENCE","参考文档",503,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Fevals\u002Fcpu-pod-create.eval.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"evals\u002Fcreate-and-wait-until-usable.eval.md",1236,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Fevals\u002Fcreate-and-wait-until-usable.eval.md",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"evals\u002Ferror-handling.eval.md",2894,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Fevals\u002Ferror-handling.eval.md",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"evals\u002Fhub-deploy-serverless.eval.md",1533,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Fevals\u002Fhub-deploy-serverless.eval.md",{"path":69,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":70,"sourceHtmlUrl":71},"evals\u002Fimage-to-template-to-serverless.eval.md",1327,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Fevals\u002Fimage-to-template-to-serverless.eval.md",{"path":73,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Finvoke-urls-and-gpu-pricing.eval.md",2093,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Fevals\u002Finvoke-urls-and-gpu-pricing.eval.md",{"path":77,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fpod-auto-terminate.eval.md",792,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Fevals\u002Fpod-auto-terminate.eval.md",{"path":81,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fpod-from-template-with-volume.eval.md",583,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Fevals\u002Fpod-from-template-with-volume.eval.md",{"path":85,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fpod-ssh-connect.eval.md",734,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Fevals\u002Fpod-ssh-connect.eval.md",{"path":89,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fregistry-password-stdin.eval.md",1124,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Fevals\u002Fregistry-password-stdin.eval.md",{"path":93,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Fserverless-autoscale-by-requests.eval.md",816,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Fevals\u002Fserverless-autoscale-by-requests.eval.md",{"path":97,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fserverless-invoke-job.eval.md",1283,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Fevals\u002Fserverless-invoke-job.eval.md",{"path":101,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":102,"sourceHtmlUrl":103},"reference\u002Fcommand-reference.md",12385,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Freference\u002Fcommand-reference.md",{"path":105,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":106,"sourceHtmlUrl":107},"reference\u002Fmodel-caching.md",5276,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Freference\u002Fmodel-caching.md",{"path":109,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":110,"sourceHtmlUrl":111},"reference\u002Foutput-and-errors.md",19305,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002Freference\u002Foutput-and-errors.md",[113,119,126,133,140,147],{"skillNo":114,"name":25,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M7ACC63SRHEA5KMCHSMZK2TC","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":19},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":19},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":19},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[],{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":19},"01M7ACB74CMM5WT1RVVV1G7V46","flash","runpod-flash — code-first serverless: write Python locally, run it on remote Runpod GPUs\u002FCPUs with `flash dev` (hot-reload + live worker logs), then `flash deploy`. Use for @Endpoint\u002F@remote functions, resource config, and debugging flash deployments. For CLI-only infra management use runpodctl or runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fflash\u002FSKILL.md",[],[]]