/runpod:runpod-endpoint-opsfrom runpod
Diagnoses and tunes existing Runpod Serverless endpoints: investigates queued jobs, dying workers, scaling issues, and GPU selection. Reads state first, then applies only user-authorized changes via PATCH.
Ships in runpod. 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.
None: SKILL.md is the whole skill.
You operate a Serverless endpoint that already exists. Everything starts by reading its current state (the endpoint config, its health, its workers, its logs) before you say anything or change anything. Diagnosis is always read-only. You change a setting only when the user asked for a change, and then only the exact setting agreed.
One property of the Runpod update path drives the central rule here: an endpoint update is a PATCH. Only the fields present in the body change and omitted fields are left untouched, so you send exactly the setting you were asked to change and nothing else. The one exception is the GPU selection: gpu.pools and gpu.excludedTypes are a single selection, so a PATCH that sends pools without excludedTypes clears the exclusions. When you touch either, send both. What the PATCH does not give you is proof: its own response is not a read. Read the config first for the before value, and read it back afterward for the after value.
This skill reads before it mutates, and mutates only what the user authorized. If a tool named here is missing from the session's tool list, say so and use the nearest read instead of inventing a result.
| Capability | Tool |
|---|---|
| List / inspect endpoints: resolve "which endpoint" and read the full current config | list-endpoints, get-endpoint |
| Endpoint health: the stuck-queue / dying-worker evidence | endpoint-health |
| List workers (per-worker detail) | list-endpoint-workers |
| Read a worker's logs: the crash / model-load failure line | stream-worker-logs (source=system for the container lifecycle) |
| GPU stock per data center: is a stuck queue a capacity problem? | list-gpu-types / get-gpu-type (include:["AVAILABILITY"], product:["SERVERLESS"]) |
| CUDA versions with capacity, per GPU type | the same read (cudaVersions); get-capacity for the matrix view |
| Update endpoint settings (worker min/max, idle timeout, scaler, FlashBoot, disk, env): the gated tune | update-endpoint (PATCH; send gpu.pools and gpu.excludedTypes together) |
Pin GPUs / set GPU count (gpu.count, the pool plus excludedTypes) | set-endpoint-gpus (pools, excludeGpuTypeIds, gpuCount; builds the exclusion list and preserves the other settings) |
| Release history: which build the workers are running | list-endpoint-releases |
| Cancel one job (gated) | cancel-job |
| Purge the queue (gated) | purge-endpoint-queue |
| Submit / poll a job to re-verify after a change | run-endpoint, get-job-status, runsync-endpoint |
Resolve the endpoint (list endpoints and match by name if needed), read its config, then read health and workers before forming a conclusion. Classify against the symptom:
IN_QUEUE. Read health and the worker list. If max workers is 0 or all workers are throttled/unhealthy, the queue has nothing to run on. An endpoint idle for 3 days has workers.max lowered to 2 and after 7 days to 0, and it stays there until raised, so a long-idle endpoint "stuck" on its first job is usually this. Separate the causes: worker limit (max-workers too low or lowered by idleness, or min 0 with a cold scaler) vs capacity (workers can't acquire the selected GPU: throttled above 0; cross-check that GPU type's availability with product:["SERVERLESS"], and its CUDA versions with capacity when the endpoint pins a CUDA floor) vs crash loop (workers cycling: read their logs with source=system; a container that exits before the handler runs can still report RUNNING or INITIALIZING while the job stays queued, so the logs settle it, not the worker status). Name which one, quoting the health/worker numbers you read.VolumeCache copies the weights to local disk before the load); and make sure the scaler isn't scaling to zero between every request. Name the levers and their cost before touching anything.HEALTH_CHECK_PATH (default /ping) on PORT_HEALTH (default 80), which is separate from the serving PORT (default 80). Workers stuck un-ready while requests arrive usually means nothing answers that path on that port; the endpoint read gives you the exact health URL being polled. The fix is a redeploy that exposes the port and serves the health path (see runpod-serverless-deploy), not a scaler change.End phase 1 with the diagnosis and the recommended change, but do not apply it unless the prompt authorized a change. If the ask was only "why / what's wrong", you are done here.
Advance only when the prompt asks to change a named endpoint's setting.
workers.idleTimeout, and the account's worker quota can refuse a higher workers.max). Change only the fields the user agreed; state the cost of a higher min-worker.gpu.excludedTypes (at least one type must remain), with the CUDA floor if given. set-endpoint-gpus builds that exclusion list for you and re-sends the endpoint's other settings unchanged; update-endpoint can carry the same gpu object, but there pools and excludedTypes are one selection, so send both together. allowedCudaVersions and minCudaVersion are mutually exclusive (400 if both are sent). Changing the CUDA constraint or the pool does not evict running workers; bounce workers.max to 0 and back when the change must apply now. Read the endpoint back after a pin and confirm the scaling settings survived.get-job-status read. The cancel call's own response is not verification (an unread write is an unverified write); the final answer reports the re-read state. If the re-read shows the job already reached a terminal state before your cancel, say exactly that; it is a complete, honest outcome.get-endpoint read AFTER it. The before/after values the final answer quotes come from reads (1) and (3). The update call's own response is not a read; never claim a read-back you did not perform.run/runsync "test probe" while diagnosing: a submitted job bills compute and changes the queue, so it is a mutation, and on a broken endpoint it burns money to reproduce what the worker states already show. Diagnose from the endpoint/health/worker/log reads only; a recommended fix is presented, not applied, unless the prompt authorizes it.gpu.pools sent without excludedTypes, which clears the exclusions). Look at the other write paths: a GPU pin that re-sent the whole config, a template save, a redeploy, or a concurrent change by someone else. Re-read before re-applying anything.IN_QUEUE with ready workers and nothing in progress → do not wait it out: read the worker logs (source=system); a container that exits before the handler runs looks exactly like this and points at a broken image, not at the scaler.runpod-serverless-deploy), not a scaler tweak.get-job-status answers 404 for a job id that was valid → the job's TTL (24 h from submission by default) expired and removed it; it is not a wrong id.set-endpoint-gpus is missing from the session → make the same selection through update-endpoint, sending gpu.pools and gpu.excludedTypes together.The cross-journey answer contract (definite facts from reads, commit-don't-hedge, mutations bind to this conversation's creations, a standalone final message, honest failure, granted tools only) is defined in the runpod-mcp skill and applies to every reply from this journey. If the runpod-mcp skill has not been loaded in this conversation, load it now, before the next tool call: its rules on which resources you may change, when a request is the go, and when to stop for the user are not repeated here.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
runpod, serverless-endpoint, endpoint-ops, gpu-scaling, queue-management
18 skills in this plugin
/runpodStart here when the Runpod lane is unclear: picks the skill for a task (runpod-mcp and the journey playbooks it routes to, such as runpod-serverless-deploy, runpod-pod-deploy, runpod-pod-doctor and runpod-cost-audit; runpodctl, runpod-flash, runpod-companion-clis, runpod-usage, runpod-templates, runpod-build-template, runpod-migrate, runpod-cloud-migrate) and indexes two dozen end-to-end worked examples (golden paths). Use it before any multi-step or provisioning task, even when the lane is clear, to check for a matching golden path; for the Runpod MCP tools, runpod-mcp owns the answer contract, connection and tool rules./runpod-build-templateCreate or improve a complete Runpod template project from an application request, local code, or GitHub repository, with a documented Dockerfile and app-specific files for Pods or queue/load-balanced Serverless. Use runpod-templates for finding or operating existing official templates, runpod-mcp/runpodctl to register an already-built image as a template, runpod-flash for its code-first workflow, and runpod-companion-clis for standalone image build/push commands./runpod-cloud-migrateMove a workload from another cloud or GPU platform to Runpod: Vast.ai, Lambda, CoreWeave, Paperspace, Modal, Replicate, Baseten, Together AI, Fireworks AI, fal, Hugging Face Inference Endpoints, AWS, Google Cloud or Azure. Inventories what the project uses, maps it to Runpod, plans, then migrates one workload at a time with verification. To move Runpod code between Runpod API versions, use runpod-migrate instead.npx claudepluginhub runpod/runpod-plugins-official --plugin runpodOther plugins' skills for the same job