runpod-templates
Find, use, and troubleshoot official Runpod Pod templates, including ComfyUI workflow model metadata repair. For creating or optimizing Dockerfiles and application template projects use runpod-build-template; deploy through runpod-mcp or runpodctl.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 49
- Forks
- 10
01 前言 Front Matter
- name
- runpod-templates
- license
- Apache-2.0
- metadata
- { "author": "runpod", "version": "2.0.0", "concepts": [ "template", "container-image", "pod", "exposed-port" ] }
- description
- Find, use, and troubleshoot official Runpod Pod templates, including ComfyUI workflow model metadata repair. For creating or optimizing Dockerfiles and application template projects use runpod-build-template; deploy through runpod-mcp or runpodctl.
- allowed-tools
- Bash(python3 -B ${CLAUDE_PLUGIN_ROOT}/skills/runpod-templates/scripts/extract_png_workflow.py:*) Bash(python3 -B ${CLAUDE_PLUGIN_ROOT}/skills/runpod-templates/scripts/inventory_workflow_models.py:*) Bash(python3 -B ${CLAUDE_PLUGIN_ROOT}/skills/runpod-templates/scripts/apply_model_metadata.py:*)
02 资源文件 24
- 参考文档evals/always-output-workflow.eval.md2.5 KB
- 参考文档evals/ambiguous-filename.eval.md1.5 KB
- 参考文档evals/api-inventory-only.eval.md1.2 KB
- 参考文档evals/gated-model.eval.md1.7 KB
- 参考文档evals/mixed-resolved-ambiguous-output.eval.md1.3 KB
- 参考文档evals/nontechnical-handoff.eval.md1.4 KB
- 参考文档evals/png-output-extraction.eval.md1.8 KB
- 参考文档evals/repair-and-handoff.eval.md3.0 KB
- 参考文档evals/runpoddirect-required-handoff.eval.md1.6 KB
- 参考文档evals/support-intake.eval.md1.5 KB
- 参考文档evals/template-recommendation.eval.md1.6 KB
- 参考文档evals/unsafe-download-url.eval.md2.1 KB
- 参考文档reference/comfyui-model-repair.md6.7 KB
- 参考文档reference/comfyui-repair/metadata.md14.2 KB
- 参考文档reference/comfyui-repair/resolution.md7.3 KB
- 参考文档reference/comfyui-repair/runpoddirect.md9.4 KB
- 参考文档reference/comfyui.md9.0 KB
- 参考文档reference/pytorch.md5.5 KB
- 脚本scripts/apply_model_metadata.py25.5 KB
- 脚本scripts/extract_png_workflow.py14.9 KB
- 脚本scripts/inventory_workflow_models.py33.5 KB
- 脚本tests/test_extracted_helpers.py34.8 KB
- 脚本tests/test_model_metadata_scripts.py55.6 KB
- 脚本tests/test_png_workflow_extractor.py16.5 KB
03 SKILL.md 正文
Official Runpod templates
For explicit source packaging or template optimization, use runpod-build-template. For ordinary workload deployment, prefer an official template over building an image. Runpod maintains prebuilt images for common workloads; deploying one is a create + poll, with no SSH install step. This skill is the reference for what those images actually are. It does not manage infrastructure — deploy with runpod-mcp (if connected) or runpodctl.
Terms — "template" vs the Hub
Two different products share the word "Hub", and conflating them derails discovery:
| Term | What it is | Runs as | Discover with |
|---|---|---|---|
| Pod template (this skill) | A saved pod config — image + ports + disk + env. The official ones appear on Console Hub template pages (console.runpod.io/hub/template/<id>) |
a pod | runpodctl template list --type official / template search · REST GET /v2/catalog/templates |
| Hub repo / listing | A packaged serverless worker (e.g. runpod-workers/worker-comfyui) with a handler, deployed as an endpoint |
serverless | runpodctl hub list / hub search · MCP list-hub-repos / deploy-hub-repo |
Same word, disjoint catalogs: hub search comfyui returns only the serverless worker
and none of the official ComfyUI pod templates, and template search returns no
Hub repos. In the REST v2 catalog, pod vs serverless templates are told apart by each
entry's serverless flag.
What "official" means, and how to find them
A template is Runpod-maintained when it reports isRunpod: true. Anything else in search
results is community-published: usable, but not covered by this skill and not
version-guaranteed.
runpodctl template list --type official # the whole official set (14 as of 2026-08-25)
runpodctl template search <name> # by name; check isRunpod: true
runpodctl template get <template-id> # image, ports, portsConfig, disk + full readme
template get returns the template's readme — the description maintained alongside
the image, and the authoritative answer when it disagrees with this skill. Take image
tags, ports, and env from these commands, not from these files: the templates ship on
their own release train and move faster than this repo. The reference files record the
shape and the gotchas, which is the expensive part to rediscover.
⚠️ runpodctl hub ... is not how you find pod templates — see Terms.
To hand a user a Console link, use https://console.runpod.io/hub/template/<template-id>.
REST v2 has no template search — only slices you filter yourself
REST v2 has no query/search parameter for templates, so every "search" is a client-side filter over a fetched slice:
| Endpoint | Params | Returns |
|---|---|---|
GET /v2/catalog/templates |
source=official|verified|community (default official) |
the public catalog slice |
GET /v2/templates |
none | only templates you own |
GET /v2/templates/{id} |
— | one template, owned or catalog |
official (14) and verified (3) are fully enumerable; community is capped at 100
with pagination explicitly unsupported. A community template past that cap never
enters a slice the API can return, and runpodctl template search reads those same
server-side slices — so it has no view past the cap either. If a user names one you
cannot find, ask them for the template id rather than concluding it does not exist.
isRunpod is a GraphQL/v1 field with no v2 equivalent — in v2, "official" is the
source slice you requested, not a flag on the record.
Catalog entries carry allowedCudaVersions, which is the reliable way to pick between
CUDA-line variants of the same template — pair it with runpodctl pod create --min-cuda-version instead of inferring from the GPU name.
The templates
| Workload | Reference | Deploy walkthrough |
|---|---|---|
| ComfyUI — image generation UI at a URL | reference/comfyui.md |
golden path 02, variant B |
| PyTorch — general GPU base / dev box (2.1 → 2.9, incl. cluster + ROCm builds) | reference/pytorch.md |
golden path 06 |
| Ubuntu — bare 20.04 / 22.04 / 24.04 (CPU category) | TODO | — |
| Network storage file browser (GPU + CPU) | TODO | golden path 07 |
Add a template by adding one file here and one row above. Do not create a new skill per template — the task shape is identical and every registered skill costs context in every session.
How to use a template reference
Each file under reference/ answers the same questions in the same order, so an agent
can skim to the one it needs:
- Identity — template name, id, image, upstream source repo.
- Variants — CUDA/arch/GPU-generation splits and which to pick.
- Ports and credentials — what is exposed and any default login.
- Autostart — what is already running on boot, with the exact command.
- Paths — where the app, its config, and its data live (and what a network volume mount changes).
- Readiness — how long first boot takes and the exact signal for "actually
serving".
Runningis never the signal. - What does not ship — the gap between "booted" and "usable", and how to close it programmatically rather than by clicking.
- Sizing — container disk and minimum VRAM.
- Version pinning — how to hold a known-good version.
One file is the exception: reference/comfyui-model-repair.md
is a usage guide — a ComfyUI workflow repair procedure that drives the scripts in
scripts/ — not a 9-question template reference.
Routing onward — this skill is the hub, not the destination
A user asking about a template rarely wants the reference file itself; they want a template deployed, fixed, or replaced. Land here, identify which, and hand off:
| The user wants to… | Send them to |
|---|---|
| Deploy a template end to end | the matching golden path in the table above (index) — live-verified runs with real commands |
| Fix a pod that won't serve ("Running" but URL dead, 404/502) | the template's reference file, §Readiness — then runpod-usage/reference/gotchas.md |
| Fix a ComfyUI workflow whose models won't download (missing/broken model metadata, imported workflow or PNG) | the repair guide — it drives the repair scripts in scripts/. The official ComfyUI templates ship ComfyUI-RunpodDirect, so its automatic-download path applies |
| Add models / files to a running template pod | the template's reference file (§What does not ship), or runpod-companion-clis for generic Hugging Face transfers |
| Customize beyond what the template ships (pinned versions, extra nodes, lighter image) or author a template project / Hub listing | runpod-build-template — author the project, using the official base when it fits |
| A serverless worker, not a pod | not a pod template — Hub workers via runpodctl / runpod-mcp |
Reference files here answer what is in the image; they never duplicate a walkthrough or a repair procedure — they point at the owner.
04 同仓库更多 Skills
runpod-vllm
Serve a Hugging Face model with vLLM on Runpod (Hub worker-vllm queue endpoint, load-balancing endpoint on a vllm/vllm-openai image, or a Pod), sized, CUDA-pinned and verified with a real OpenAI client. Use for any "deploy/serve/test this LLM with vLLM" request or a vLLM deployment that will not boot; defer to runpod-serverless-deploy for non-vLLM engines and runpod-endpoint-ops for an endpoint that already works.
runpodctl
Runpod CLI for managing GPU/CPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send/receive, network-volume upload/download). Use for terminal/CI/scripting, SSH setup, `doctor`, or when the Runpod MCP tools are not connected; prefer runpod-mcp for structured tool calls in an MCP-enabled session.
runpod
Start 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) 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-usage
Explain Runpod architecture and design choices: Pods versus Serverless, GPU/VRAM, image construction, storage, networking, and workload development. For creating or improving a complete template project use runpod-build-template; execute infrastructure with runpodctl/runpod-mcp and code-first work with runpod-flash.
runpod-serverless-deploy
Bring any source (a HuggingFace repo, a ComfyUI workflow, a Hub release, a custom container image, a GGUF repo, a Civitai asset, or a community template) to a proven Runpod Serverless endpoint: pick the engine for the modality and model format, size the GPU from the model's real metadata, provision, warm, prove it with one real job, and hand back the URL with what it bills. Deploys an existing source through the Runpod MCP tools; code-first Python deploys (the Flash dev loop) are out of scope. Use when the user wants a model or worker served on Runpod Serverless, whatever the modality: text generation, speech-to-text or text-to-speech, image or video generation, embeddings, document processing, or their own handler image. For an LLM served with vLLM (Hub worker-vllm, a vllm/vllm-openai image, or a vLLM Pod), defer to runpod-vllm.
runpod-pod-doctor
Diagnose a Runpod Pod that is unreachable, GPU-blind or stuck, and perform a recovery action only when the user authorizes one. Use when an existing Pod misbehaves, through the Runpod MCP tools: its proxy URL answers 502, CUDA is not available inside the container, a restarted Pod has no GPU, the user wants a Pod's logs read, an account-wide check for stuck Pods, or the stop-versus-terminate decision for a Pod they already have. Read-only until the user asks for an action.