runpod-build-template — скилл для Claude Code: шаблоны Runpod
Собирает проект шаблона Runpod из вашего кода или репозитория на GitHub: Dockerfile, файлы приложения и точная инструкция по деплою.
npx skills add runpod/runpod-plugins-official --skill runpod-build-template -a claude-codeЧто делает runpod-build-template
Скилл берёт заявку на приложение, локальный код или ссылку на репозиторий и доводит это до готового проекта шаблона Runpod. Работает в двух режимах: создать с нуля или улучшить существующий. Сначала он смотрит исходники и выясняет цепочку «вход → операция → выход», реальную точку входа, зависимости, железо, модели и хранилище. Если это UI-репозиторий без внятного интерфейса, скилл спросит, что должен делать один отправленный job.
Дальше выбирается цель. Для интерактивной работы, обучения или батч-процесса это Pod, для заданий через очередь — Queue Serverless, для прямых HTTP-запросов — Load-balanced Serverless. По умолчанию генерируется один вариант, если вы не попросили несколько. Авторство исходников не требует ни Docker, ни облачных ключей, а вот сборка образа и регистрация шаблона — уже отдельные шаги со своими правами доступа.
На выходе: документированный Dockerfile, .dockerignore, файлы зависимостей и запуска, README и воспроизводимая проверка на реальной нагрузке. Настройки Runpod идут с точными портами, монтами, именами переменных окружения и секретов. Успешная сборка образа ещё не значит, что нагрузка работает, поэтому скилл помечает проверки как пройденные, провалившиеся или непроверенные. Универсального runpod.yaml он не придумывает.
Какие задачи решает
- собрать Dockerfile под конкретное приложение и не угадывать базовый образ
- выбрать между Pod и двумя видами Serverless до написания кода
- подготовить файлы шаблона вместе с README и проверкой на реальной нагрузке
- улучшить существующий шаблон, сохранив совместимое поведение
- передать коллеге точные порты, монты и имена секретов для деплоя
Примеры запросов агенту
- собери шаблон Runpod из моего репозитория на GitHub, приложение должно отвечать по HTTP
- улучши текущий шаблон: нужен стабильный рестарт и меньше памяти
- сделай проект под queue Serverless, один job принимает изображение и возвращает ссылку
Как установить runpod-build-template
1Через Skills CLI (Vercel)
npx skills add runpod/runpod-plugins-official --skill runpod-build-template -a claude-code2Вручную: положить файлы
~/.claude/skills/runpod-build-template/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/runpod-build-template/
1Через Skills CLI (Vercel)
npx skills add runpod/runpod-plugins-official --skill runpod-build-template -a codex2Вручную: положить файлы
.agents/skills/runpod-build-template/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add runpod/runpod-plugins-official --skill runpod-build-template -a cursor2Вручную: положить файлы
.cursor/skills/runpod-build-template/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install runpod/runpod-plugins-official runpod-build-template2Вручную: положить файлы
.github/skills/runpod-build-template/SKILL.md1Через Skills CLI (Vercel)
npx skills add runpod/runpod-plugins-official --skill runpod-build-template -a gemini-cli2Командой платформы
gemini skills install https://github.com/runpod/runpod-plugins-official --path plugins/runpod/skills/runpod-build-templateВручную: положить файлы
.devin/skills/runpod-build-template/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add runpod/runpod-plugins-official --skill runpod-build-template -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о runpod-build-template
Как установить runpod-build-template в Claude?
Выполните npx skills add runpod/runpod-plugins-official --skill runpod-build-template -a claude-code. Файл скилла окажется по пути ~/.claude/skills/runpod-build-template/SKILL.md.
Что делает runpod-build-template?
Создаёт или дорабатывает проект шаблона Runpod: Dockerfile, файлы приложения и настройки деплоя под Pod, Queue Serverless или Load-balanced Serverless.
Нужны ли Docker и облачные ключи, чтобы им пользоваться?
Для работы с исходниками — нет. Docker и учётные данные нужны только на этапе сборки образа и регистрации шаблона.
Исходный текст
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