Runpod Lifecycle Crud 标志

Runpod Lifecycle Crud

组织
runpod
runpod-lifecycle-crud

Create, verify by read-back, and manage the lifecycle of Runpod's reusable plumbing (templates, network and global volumes, container registry credentials, account secrets, the account's SSH public keys, and Instant Clusters), the account's audit trail and organization members (reads), plus staging large model files on a volume and diagnosing a private-image pull failure. Use when the user wants one of those resources created, changed, inspected or removed through the Runpod MCP tools, or asks where a volume should live so a GPU can mount it. Also use for an account cleanup request: only what this conversation created may be removed; everything else is reported for the user to decide.

概览

发布者runpod
代码仓库runpod-plugins-official
技能名称runpod-lifecycle-crud
星标数
49
复刻数
10
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 runpod 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Runpod Lifecycle Crud AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/runpod/runpod-plugins-official/tree/main/plugins/runpod/skills/runpod-lifecycle-crud
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/runpod/runpod-plugins-official.git /tmp/runpod-plugins-official
mkdir -p .claude/skills
cp -r /tmp/runpod-plugins-official/plugins/runpod/skills/runpod-lifecycle-crud .claude/skills/runpod-lifecycle-crud
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Runpod Lifecycle Crud,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Runpod Lifecycle Crud。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Runpod Lifecycle Crud 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Lifecycle CRUD

You own the lifecycle of Runpod's reusable resources: templates, network and global volumes, container registry credentials, account secrets, registered SSH public keys, and multi-node clusters. The goal is a correctly provisioned resource the user can rely on: provision cleanly, confirm by reading the resource back, and leave it standing. Tear down only when the user asked for a create-then-clean-up demo or explicit cleanup. Read the existing resources first so you never collide with or clobber something the user already has.

Tool binding

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.

CapabilityTool
Templates (list/get/create/update/delete)list-templates, get-template, create-template, update-template, delete-template
Network volumes (list/get/create/update/delete)list-network-volumes, get-network-volume, create-network-volume, update-network-volume, delete-network-volume
Global volumes (list/get/create/rename/delete)list-global-volumes, get-global-volume, create-global-volume, update-global-volume, delete-global-volume
Container registry credentials (list/get/create/delete)list-registries, get-registry, create-registry, delete-registry
Account secrets (list/get/create/update/delete)list-secrets, get-secret, create-secret, update-secret, delete-secret
Registered SSH public keys (read/replace)get-ssh-keys, update-ssh-keys
Account audit trail: who changed what, newest first (read)list-audit-logs
Organization and its members, with roles (read)get-organization, list-organization-users, get-organization-user
Multi-node clusters (list/get/create/rename/delete, member pods, billing)list-clusters, get-cluster, create-cluster, update-cluster, delete-cluster, list-cluster-pods, list-cluster-billing
Data centers with per-GPU availability, to place a volume in a GPU-co-located DClist-data-centers / get-data-center (include:["GPU_AVAILABILITY"]); list-gpu-types (include:["AVAILABILITY"] with product)
CUDA versions with capacity, per GPU typethe GPU read's cudaVersions; get-capacity for the matrix view

Shared discipline (every resource)

  • Read first. List existing resources before creating; confirm the name you intend to use is not already taken.
  • Touch nothing outside the resources this conversation created or the user named. Never delete or update a resource this conversation did not create unless the user named it by id or an unambiguous name and asked for exactly that change. A user-named resource is deleted only on the user's ask for that delete. A name that merely looks disposable, or one you found by listing, is not attribution (the router's mutations-bind rule).
  • Confirm by read-back. After a create or update, inspect the resource and verify the fields you set came back as you set them. A write call's own response is not a read, so confirm from a fresh one. (An update is a PATCH: only the fields you send change, and omitted fields are left untouched, so send only what the user authorized.)
  • When the user asked for cleanup, or framed the create as a round trip to be removed afterwards, tear down what the journey created in dependency order (a registry credential won't delete while a Pod is pulling with it, but a template that references it is not checked and silently loses it), confirming each deletion with a final read-back showing it is gone. Otherwise leave resources standing and say what exists and what it bills.
  • State cost before creating a billable resource. A network volume bills storage per GB-month for as long as it exists. Say the size, and that it bills until deleted, before you create it. A global volume bills for stored data plus per-request fees until deleted (rates in runpod-usage storage); say so before creating one. A cluster is GPU compute: it rents podCount × gpuCountPerPod GPUs from creation, so state that total hourly price (per-GPU price × the GPU count, from the catalog reads) before creating one.

Journeys

  • Reusable template CRUD. List templates, create the template with the name and image/disk/ports/env the user specified, read it back to confirm; when they asked for a create-then-clean-up round-trip, delete it and confirm removal. A template referenced by a Pod or bound to an endpoint will refuse deletion; surface that, do not force it.
  • Network volume lifecycle. List volumes, create the volume with the requested size (10 to 4096 GB) in a data center the user (or the workload) needs and that offers network storage (a non-empty networkVolumeTypes on the data-center read). State the storage cost. Read it back and leave it to serve its purpose. It bills until deleted, so say so; delete and confirm only on an explicit cleanup ask. A volume's size may only increase; a shrink is rejected.
  • Volume-backed model files. Keep large model files on a network volume co-located with the GPU that will consume them. Read the data centers with their per-GPU availability (include:["GPU_AVAILABILITY"]) to pick a data center that has the target GPU in stock for the product you will run there, and create the volume there, once. If a Pod create is later refused for stock, re-read stock: when the volume's data center shows stock, retry there once with the same volume; otherwise ask the user (wait, another GPU type there, the console's Deploy when available, or a move to another data center, which is the user's call). Never delete the volume to try another data center: on a move, name it in the hand-back (id, data center, storage cost) and delete it only when the user asks. Explain the wiring: mount path into the Pod/worker, weights downloaded once and reused, and the cold-start effect (first job pays the download, later jobs mount the cached weights). Place, don't guess: the volume must live in the same data center as the compute or the mount won't attach, and network volumes attach to Secure Cloud compute only. On a Pod the mount path is the one you set in mounts (no default); a Serverless worker always sees the volume at /runpod-volume, so weights staged from a Pod are read by the endpoint handler at /runpod-volume, not the pod path.
  • Cleanup asks. When asked to clean up resources and this conversation created nothing (or its creations are already gone), the honest answer is reads only: list the account, say that nothing this conversation created remains, and list the resources that look unused (ids, names, the evidence from the reads) for the user to decide. Never delete on a name-guess; that report is the complete answer.
  • Global volume lifecycle. List global volumes, create one with just a name, state the billing shape, and read it back. Attach it in the pod or endpoint create (mounts.global), then read it back (a pod's mount path; an endpoint's mounts.global entry, whose workers always see /runpod-volume). update-global-volume only renames. A delete is refused with 409 while any pod (stopped pods included) or endpoint still mounts it; surface that rather than terminating or detaching anything yourself. Limits, mount paths and caveats: runpod-usage storage.
  • Account audit and organization reads. "Who deleted my endpoint?" or "who is in my organization?" are reads: list-audit-logs (filter by action or time window, or by actor on an organization account only, since a personal or team account gets 400 for the actor filter) and the organization reads. An account whose plan does not include audit logs gets 403, and the organization reads return 404 when the caller is not in an organization, a team account included (403 when organizations are unavailable to the caller); state either as the answer, not as a tool failure.
  • Private registry creds + pull-fail diagnosis. Create the registry credential for the private image. Credentials are write-only: the read-back will never return the username/password, and you must never echo the values you sent into the transcript or logs. When an image pull fails, diagnose the two distinct causes: an auth failure (wrong/expired credential, or none attached; the fix is a valid registry cred) versus Docker Hub anonymous rate-limiting (an unauthenticated pull of a public image hitting the pull-rate cap; the fix is authenticating even for the public pull). Name which one from the error text; do not conflate them.
  • Missing credential values. A registry credential is only useful with the user's real values: when none were supplied, ask for them, since the user is the only source. Never invent placeholder values for a credential meant to be used, and never echo the values back once given.
  • Account secret CRUD. List the secrets first: the name is unique across the account and immutable, so a colliding create is rejected with 409. Create it with the user's real value (they are the only source; never invent one), read it back to confirm the metadata, and tell the user how it is consumed: set an env var on the template, pod, or endpoint to {{ RUNPOD_SECRET_<name> }} and Runpod substitutes the stored value when the pod or worker boots. The value itself is write-only: no read returns it, and you never echo it into the transcript. When the user has not given the value yet, give the whole plan first (the secret name you will use, that the endpoint or template reads it as {{ RUNPOD_SECRET_<name> }}, and that the value is never shown back), then ask for the value. Rotating is update-secret; the new value reaches pods and workers at their next boot, so say that a running instance keeps the value it started with. Deleting a secret is not blocked while it is in use: the references stop resolving and the next pod or worker start that needs them fails, so point the user at the references before a delete.
  • SSH keys on the account. update-ssh-keys is a replace-all PUT, not an append: read the current keys first, send them back together with the new one, and confirm with a read. Sending only the new key silently removes every other key on the account, and [] removes all of them. Keys apply to pods created afterwards with startSsh; a running pod is not updated.
  • Multi-node cluster lifecycle. A cluster is billable compute, not plumbing: every GPU in it bills from the moment it exists, at the catalog price per GPU times the GPU count. Read the account's clusters, the GPU's stock (include:["AVAILABILITY"] with product:["CLUSTER"], because cluster stock differs from pod stock) and the price first. Then put the exact shape (nodes, GPUs per node, data center) and the total hourly price (podCount × gpuCountPerPod GPUs of the chosen type, priced from the catalog) in front of the user and ask for the go. Only an explicit go in this conversation unlocks create-cluster; a request to create or provision a cluster is the request for that plan, not the go. When the read shows no stock for that GPU, say so and propose the closest shape the read shows in stock. The cluster type, GPU type and GPUs per pod are fixed at creation and update-cluster only renames; pods are added or removed from the console (Scale cluster), not through these tools. So get the shape right the first time and hand a resize to the console. Cluster pods can carry a higher rate than the pod GPU price, so after creation confirm the real rate with list-cluster-billing. templateId provisions every member pod from a pod template and is the only private-image path (a bare registry on the create body is rejected). Read the cluster back with get-cluster for the aggregate pod summary, and list-cluster-pods for the member pods themselves; list-cluster-billing is the spend read.

Hard rules

  • Never touch a resource outside this journey's own creations, except the one the user named for the change they asked for.
  • Never echo a registry credential value (username/password/token) or a secret value into chat, a log, or a committed file. Both are write-only by design; keep them that way.
  • Read the registered SSH keys before replacing them. update-ssh-keys overwrites the whole set; a send that omits an existing key deletes it.
  • Verify every create/update by reading the resource back; verify every delete by a read-back showing absence.
  • State the storage cost before creating a network or global volume and the total hourly price before creating a cluster. For a cluster, wait for the user's explicit go as well.
  • A delete rejected because the resource is in use is a correct API response. Report it and stop; do not force-detach or delete the dependent resource the user did not name.

Error handling

  • A delete returns 204 with no body. That is success; confirm with a follow-up read.
  • A volume or registry-credential delete rejected with an in-use error means a Pod is still using it. Name the blocker; do not cascade. A template's reference does not block a credential delete; the template is cleared instead, so check templates before deleting a credential they use.
  • A registry read that omits username/password is expected (write-only), not a bug.
  • A secret read that omits the value is expected (write-only), not a bug; a create rejected with 409 means the name is taken. Names are immutable, so pick another or rotate the existing secret with update-secret.
  • update-secret carrying both a value and a description is not atomic: if the description write fails after the value rotated, the error response comes back with the new value already in effect. Send the two in separate calls when that partial outcome matters.
  • A cluster update that tries to change compute, type, or container config is rejected, because that endpoint renames only. Report it, offer the console's Scale cluster for the pod count, and delete-and-recreate for anything else, with the price restated.

Report template — resource inventory

When asked what exists on the account (inventory, audit, "what's running"): list pods, endpoints, templates, network volumes and global volumes; a table per non-empty kind works well (name, id, status, GPU/size, $/hr where the read provides it), with empty kinds noted in a line ("templates: none"). Close with the totals (counts per kind, summed $/hr of running pods) and, if the user implied a concern (cost, stuck resources), the verdict in one sentence.

Contract

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.

常见问题

Runpod Lifecycle Crud AI 技能有什么作用?

Create, verify by read-back, and manage the lifecycle of Runpod's reusable plumbing (templates, network and global volumes, container registry credentials, account secrets, the account's SSH public keys, and Instant Clusters), the account's audit trail and organization members (reads), plus staging large model files on a volume and diagnosing a private-image pull failure. Use when the user wants one of those resources created, changed, inspected or removed through the Runpod MCP tools, or asks where a volume should live so a GPU can mount it. Also use for an account cleanup request: only wh...

为什么在 TypingMind 中使用 Runpod Lifecycle Crud?

因为您只需安装一次,就能搭配任何模型使用。Runpod Lifecycle Crud 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Runpod Lifecycle Crud?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/runpod/runpod-plugins-official/tree/main/plugins/runpod/skills/runpod-lifecycle-crud。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Runpod Lifecycle Crud?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Runpod Lifecycle Crud 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Runpod Lifecycle Crud 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Runpod Lifecycle Crud AI 技能免费吗?

是的。runpod 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇