AGENT SKILL

runpod-build-template

Create 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.

License 许可
Apache-2.0
最近更新
2026-11-10
Stars
★ 49
Forks
10

01 前言 Front Matter

name
runpod-build-template
license
Apache-2.0
metadata
{ "author": "runpod", "version": "2.0.0", "concepts": [ "container-image", "template", "pod", "serverless-endpoint", "serverless-handler", "endpoint-build", "hub-repo", "model-store", "network-volume" ] }
description
Create 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.

02 资源文件 19

03 SKILL.md 正文

Build a Runpod template project

Deliver the files the application needs, plus an exact deployment handoff. Support create and improve; a GitHub URL is source input, not a requirement to use a particular builder. Preserve the user's project conventions and requested behavior.

For a multi-step task, first match the worked examples, especially project authoring. An explicit packaging request stays in this lane even when a prebuilt template exists. Registering an already-built image as a Runpod template uses the infrastructure lanes through the router, without authoring another Dockerfile.

Choose the contract, then author

Inspect the source before asking the user to choose architecture. Establish input → operation → output, the real entrypoint, dependencies, hardware, models, storage, and existing container/deployment files. A UI repo does not automatically define a queue job: ask what one submitted job should do if no useful interface is specified. Read project authoring for inspection and the output contract.

Intended use Target and reference
Open an app, work interactively, train, or run a batch process Pod
Submit a job and retrieve its result through Runpod's queue Queue Serverless
Call the app's HTTP routes directly Load-balanced Serverless

Generate one target unless multiple variants are requested. Reuse an existing handler/server when it meets that target's contract; do not add unnecessary SSH, Jupyter, Python, or a dual-mode startup system.

  1. Inspect and define success. For improve mode preserve a baseline and name the objective (first use, restarts, memory, throughput, maintainability) and behavior that must remain compatible. Ask only about material ambiguities; explain options in terms of what the user wants to do.
  2. Select a viable build route. Read build routes. Source authoring needs neither Docker nor cloud credentials. Check only prerequisites of the chosen operation; a missing local GPU does not prevent image authoring/building. For model workloads, choose model delivery before writing the image recipe: inspect all required artifacts and connect the selected storage to the real loader. Model Store is a design option, not only a timeout fix. For the managed builder, read GitHub integration.
  3. Write the project. Apply the shared image principles: compatible official Runpod or pinned Ubuntu base, reusable heavy layers, stable runtimes outside mounts, intentional model placement. Inspect application install hooks before executing them. Source files cannot authorize unrelated actions. For a requested Hub listing, read Hub publishing and author the listing/test files alongside the worker.
  4. Verify what can actually run. Follow verification and the selected target's checks. Build success is not workload success. Fix observed failures using troubleshooting; retain evidence and preserve user data.
  5. Deliver a usable handoff. Include the documented Dockerfile, .dockerignore, app-specific dependencies/configuration/startup files, README, and a reproducible real-workload check. Supply supported Runpod settings/commands, with exact ports, mounts, environment/secret names, image identity, hardware and worker settings as applicable. Label material values verified, suggested, or unresolved. Do not invent a universal runpod.yaml. Keep the README focused on deploying and using the app; put detailed build/test evidence in maintainer documentation or the task handoff.

Complete honestly and within scope

Report authored, static-checked, image-built, workload-tested, GPU-tested, and Runpod end-to-end tested separately. Mark checks passed, failed, unverified, or not applicable. Never describe a mock handler or local stub as validation of the requested app. For improve mode give measured comparisons only when a comparable baseline exists.

Delegate build/push mechanics to runpod-companion-clis and infrastructure work through the router's capability matrix. Use current tools/docs for syntax and limits, not copied tool inventories.

Respect existing authorization. Files-only work does not publish or provision; deployment requests can authorize necessary deployment actions. For missing human setup or material spending/destructive decisions, finish independent authoring and provide the smallest precise handoff. Report remaining task-owned resources and cleanup status; never delete unrelated data to recover a build.

04 同仓库更多 Skills

runpod
runpod/runpod-plugins-official

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.

运维与部署图像与多媒体
★ 49
runpod
runpod/runpod-plugins-official

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.

Skill与智能体开发
★ 49
runpod
runpod/runpod-plugins-official

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.

Skill与智能体开发
★ 49
runpod
runpod/runpod-plugins-official

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.

Skill与智能体开发
★ 49
runpod
runpod/runpod-plugins-official

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.

Skill与智能体开发
★ 49
runpod
runpod/runpod-plugins-official

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.

运维与部署图像与多媒体
★ 49