Skip to main content
skill CX Codex

runpod-build-template — Claude Code skill: Runpod templates

Turns an app request, local code or GitHub repo into a complete Runpod template project with a documented Dockerfile and deployment handoff.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add runpod/runpod-plugins-official --skill runpod-build-template -a claude-code
Open on GitHub

What runpod-build-template does

The skill takes an application request, local code or a GitHub URL and produces a finished Runpod template project. It runs in two modes: create from scratch, or improve what you already have. It inspects the source first and works out input → operation → output, the real entrypoint, dependencies, hardware, models and storage. A UI repo does not automatically define a queue job, so it will ask what one submitted job should do when no useful interface is specified.

Then it picks a target. Pod for interactive work, training or batch runs; Queue Serverless for jobs submitted through Runpod's queue; Load-balanced Serverless when the app's HTTP routes are called directly. One target is generated unless you ask for variants. Authoring source files needs neither Docker nor cloud credentials — building the image and registering the template are separate steps with their own access requirements.

You get a documented Dockerfile, .dockerignore, dependency and startup files, a README, and a reproducible real-workload check. Runpod settings come with exact ports, mounts, environment and secret names. A successful image build is not workload success, so checks are labelled passed, failed or unverified. It does not invent a universal runpod.yaml.

What it helps with

  • write a Dockerfile for a specific app without guessing the base image
  • decide between Pod and the two Serverless modes before writing code
  • produce template files together with a README and a real-workload check
  • improve an existing template while keeping compatible behaviour
  • hand off exact ports, mounts and secret names for deployment

Example prompts for the agent

  • build a Runpod template from my GitHub repo, the app should answer over HTTP
  • improve the current template: stable restarts and lower memory use
  • make a queue Serverless project where one job takes an image and returns a link

How to install runpod-build-template

1Skills CLI (Vercel)

npx skills add runpod/runpod-plugins-official --skill runpod-build-template -a claude-code

2Manually: put the files in place

~/.claude/skills/runpod-build-template/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/runpod-build-template/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about runpod-build-template

How do I install runpod-build-template in Claude?

Run npx skills add runpod/runpod-plugins-official --skill runpod-build-template -a claude-code. The skill file lands at ~/.claude/skills/runpod-build-template/SKILL.md.

What does runpod-build-template do?

It creates or improves a Runpod template project: Dockerfile, app-specific files and deployment settings for Pod, Queue Serverless or Load-balanced Serverless.

Do I need Docker and cloud credentials to use it?

Not for authoring source files. Docker and credentials come in only when you build the image and register the template.

Source text

SKILL.md · Apache-2.0
---
name: runpod-build-template
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, flash for its code-first workflow,
  and companion-clis for standalone image build/push commands.
metadata:
  author: runpod
  version: "1.8.0" # x-release-please-version
  concepts: [container-image, template, pod, serverless-endpoint, serverless-handler, endpoint-build, hub-repo, model-store, network-volume]
license: Apache-2.0
---

# 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](../runpod/golden-paths/README.md),
especially [project authoring](../runpod/golden-paths/26-template-project/README.md).
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](../runpod/SKILL.md), 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](reference/project-authoring.md) for inspection
and the output contract.

| Intended use | Target and reference |
| --- | --- |
| Open an app, work interactively, train, or run a batch process | [Pod](reference/pods.md) |
| Submit a job and retrieve its result through Runpod's queue | [Queue Serverless](reference/serverless-queue.md) |
| Call the app's HTTP routes directly | [Load-balanced Serverless](reference/serverless-load-balanced.md) |

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](reference/build-routes.md).
   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](reference/model-delivery.md) 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](reference/github-integration.md).
3. **Write the project.** Apply the shared [image principles](../runpod-usage/reference/building-images.md):
   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](reference/hub-publishing.md)
   and author the listing/test files alongside the worker.
4. **Verify what can actually run.** Follow [verification](reference/verification.md)
   and the selected target's checks. Build success is not workload success. Fix
   observed failures using [troubleshooting](reference/troubleshooting.md); 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 [companion-clis](../companion-clis/SKILL.md) and
infrastructure work through the [router's capability matrix](../runpod/SKILL.md#runpod-mcp-vs-runpodctl-the-overlap).
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.

© runpod · Apache-2.0 · runpod/runpod-plugins-official

Similar skills

Everything for DevOps and infrastructure →

From the same set11

runpod-usage Explains how Runpod works: Pods versus Serverless, GPU and VRAM choices, image builds, storage and networking. Useful when you need to decide what to run before running anything. CX Codex +1 12,500installs runpod-migrate Migrates Runpod GraphQL API and REST v1 code to REST v2, locating call sites and breaking changes. Use it before an API upgrade or to identify the API generation in a repository. CX Codex +1 10,800installs runpod-templates A skill that finds official Runpod Pod templates, explains their ports and autostart, and repairs model metadata in ComfyUI workflows. CX Codex +1 10,100installs serverless-deploy Turns a model or worker source into a working Runpod Serverless endpoint through MCP tools: picks the engine, sizes the GPU, provisions and proves it with one real job. CX Codex +1 2,700installs pod-doctor Diagnoses unreachable, GPU-blind, or stuck Runpod Pods using Runpod MCP tools. It stays read-only until you approve a specific recovery step. CX Codex +1 2,600installs endpoint-ops A skill for an existing Runpod Serverless endpoint: finds why jobs queue up or workers die, and changes a setting only when you authorize it. CX Codex +1 2,700installs discovery The skill checks GPU availability, stock levels, and prices across Runpod catalogs without launching resources. It also estimates VRAM needs for model inference. CX Codex +1 2,600installs cost-audit Reads a Runpod account and shows where the money goes: idle Pods, always-on serverless workers, spend broken down by resource type. Read-only. CX Codex +1 2,700installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor