跳到主内容
智客 ZICQ

技能库 智客分类:运维与云 runpod-companion-clis

Runpod Companion Clis

Runpod工作流程的伴奏CLIs——HuggingFace,GitHub,多克和AWS. 使用 runpod-build-template 来进行完整的模板项目作者,以及 ComfyUI 模型-修复指南 在 runpod-template 为缺少模型下载元数据的导入工作流程提供 .

1379 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

Runpod工作流程的伴奏CLIs——HuggingFace,GitHub,多克和AWS. 使用 runpod-build-template 来进行完整的模板项目作者,以及 ComfyUI 模型-修复指南 在 runpod-template 为缺少模型下载元数据的导入工作流程提供 .

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Companion CLIs、Windows: choose the shell, then set up WSL2 if needed、HuggingFace CLI、GitHub CLI、Docker、AWS CLI。

文件分析

文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。

官方 description(原文)

Companion CLIs for Runpod workflows — HuggingFace, GitHub, Docker, and AWS. Use runpod-build-template for complete template project authoring, and the ComfyUI model-repair guide in runpod-templates for imported workflows lacking model download metadata.

Companion CLIsWindows: choose the shell, then set up WSL2 if neededHuggingFace CLIGitHub CLIDockerAWS CLI

兼容:Linux, macOS, Windows · 许可:Apache-2.0

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
runpod-companion-clis
description
Companion CLIs for Runpod workflows — HuggingFace, GitHub, Docker, and AWS. Use runpod-build-template for complete template project authoring, and the ComfyUI model-repair guide in runpod-templates for imported workflows lacking model download metadata.
compatibility
Linux, macOS, Windows
许可
Apache-2.0
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「runpod-companion-clis」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-e47292903a43a808-Runpod-Companion-Clis.html
请存为 .cursor/skills/runpod-companion-clis/SKILL.md 或 .claude/skills/runpod-companion-clis/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/runpod/runpod-plugins-official' --list

npx skills add 'https://github.com/runpod/runpod-plugins-official' --skill 'runpod-companion-clis'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版
--- name: runpod-companion-clis description: Companion CLIs for Runpod workflows — HuggingFace, GitHub, Docker, and AWS. Use runpod-build-template for complete template project authoring, and the ComfyUI model-repair guide in runpod-templates for imported workflows lacking model download metadata. compatibility: Linux, macOS, Windows metadata: author: runpod version: "2.2.1" # x-release-please-version concepts: [container-image, network-volume, hub-repo] license: Apache-2.0 --- # Companion CLIs For creating or improving a documented template project, start with [runpod-build-template](../runpod-build-template/SKILL.md); return here for the selected CLI operation. Four CLIs commonly needed alongside Runpod. Each has its own **credentials + command reference** in [`reference/`](reference/) — plus a one-time `-setup.md` for install (only opened if the CLI isn't installed). Load only the one the task needs, not all four. If the request starts with an imported ComfyUI workflow whose model filenames lack verified URLs or hashes, route to the [ComfyUI model-repair guide](../runpod-templates/reference/comfyui-model-repair.md) in runpod-templates. Return here when the exact Hugging Face repository/file is already known and the task is simply to download, cache, or bake that artifact. | CLI | Use it to | Full reference | |-----|-----------|----------------| | `hf` (HuggingFace) | Download models from the Hub to cache/bake into images | [reference/huggingface.md](reference/huggingface.md) | | `gh` (GitHub) | Manage worker repos + cut releases (Hub indexes releases) | [reference/github.md](reference/github.md) | | `docker` | Build/validate/push images to Docker Hub for Runpod to pull | [reference/docker.md](reference/docker.md) | | `aws` (S3) | Read/write network-volume storage over Runpod's S3 API | [reference/aws.md](reference/aws.md) | Each requires credentials before use. Read the per-tool reference for auth steps and commands; install is a separate one-time `-setup.md`. These CLIs are usually one step inside a larger job. For the whole job the verified example is in [runpod/golden-paths/README.md](../runpod/golden-paths/README.md) — baking vs mounting a model ([25](../runpod/golden-paths/25-bake-vs-mount/README.md)), building a minimal image ([22](../runpod/golden-paths/22-minimal-pod-image/README.md)), or moving data to a network volume ([07](../runpod/golden-paths/07-network-volume-handoff.md)). These are third-party CLIs on their own release trains, so **` --help` is authoritative for flags and subcommands** — the references here cover the Runpod-specific usage and the traps, not the tool's full surface. Check `--help` before reporting that one of them cannot do something. ## Windows: choose the shell, then set up WSL2 if needed Check existing native, WSL2 or remote tools before installing another copy. The Windows `hf` and `gh` setup recipes in this skill use WSL2 and their Linux installers. If choosing that route and WSL2 is missing, run this in PowerShell as Administrator, then restart if prompted: ```powershell wsl --install ``` Afterward open the Ubuntu app to finish setup, then follow the **Linux** instructions in each reference. Keep commands, credentials and paths in the selected environment. File authoring alone does not require installing these CLIs. ## HuggingFace CLI Download models locally so they're cached for a Docker build/run. Auth and `hf download` recipes: **[reference/huggingface.md](reference/huggingface.md)** (install: [reference/huggingface-setup.md](reference/huggingface-setup.md)). - Use the standalone `hf` CLI, **not** `pip install huggingface_hub` (that's the older `huggingface-cli` with different syntax). - Auth via `hf auth login`, or `export HF_TOKEN=hf_...` (env var wins over saved token). ## GitHub CLI Manage worker repositories and cut releases. Auth and commands: **[reference/github.md](reference/github.md)** (install + SSH-key setup: [reference/github-setup.md](reference/github-setup.md)). - **The Hub indexes releases, not commits** — every Hub listing update needs a new `gh release create`. - One SSH key (`ssh-keygen -t ed25519`) registers with both GitHub (`gh ssh-key add`) and HuggingFace (paste in browser). ## Docker Build, validate, and push images to Docker Hub. Credentials and commands: **[reference/docker.md](reference/docker.md)** (install: [reference/docker-setup.md](reference/docker-setup.md)). - **Always build `--platform=linux/amd64`** — Runpod runs on x86 Linux. - **Always use explicit semantic tags; never `latest`** — `latest` doesn't track the newest push, so workers can silently pull the wrong image. - Docker Hub auth uses a **personal access token**, not your password. For private images, register the credential once in Console → Container Registry Settings. ## AWS CLI Access network-volume storage over Runpod's S3-compatible API (bucket name = network volume ID). Credentials, region rules, and commands: **[reference/aws.md](reference/aws.md)** (install: [reference/aws-setup.md](reference/aws-setup.md)). - Runpod's S3 API, **not AWS**: access key = Runpod **user id** (`user_...`), secret = S3 API key (`rps_...`). - **S3 API keys are Console-only.** No `runpodctl`/REST/GraphQL creates them — if they're not already in `~/.aws/credentials`/env and S3 access is needed, **stop and ask the user** to generate them (Settings > S3 API Keys). - Every command needs `--region DATACENTER --endpoint-url https://s3api-DATACENTER.runpod.io/` (datacenter = the volume's DC, not an AWS region). - For large/many-file transfers with resume, prefer `runpodctl network-volume upload`/`download` (v3.1.0+, same S3 API keys; see the `runpodctl` skill). On an older runpodctl, see [reference/aws.md → optional resumable volume transfers](reference/aws.md#optional-resumable-volume-transfers-community-tool).

相关技能

运维与云

Docker Essentials

用于容器管理,图像操作,调试的基本道克命令和工作流程.

运维与云

Find Skills

从开放的代理技能生态系统中发现并安装技能. 使用时:(1)用户问"我如何做X",X可能拥有现有技能,(2)用户说"为X找到技能"或"是否为X有技能",(3)用户问"你能否做X",X是专门能力,(4)用户想扩展代理能力,(5)用户想搜索工具,模板,或工作流程,(6)用户提到他们希望…

运维与云

Microsoft Foundry

构建,部署,评价,优化,微调,管理微软创始代理,模型,资源最终结束. 用法:铸造、azd ai代理、azd 提供/部署、托管代理脚手架/开发/运行/部署/拖放、即时代理创建、创建代理、更新代理、添加代理工具、援引代理、代理.yaml、评估代理、批量活化、连续活化、持续监测、代理C…

运维与云

Azure Deploy

执行已有.azure/部署计划.md和基础设施文件的ALREADY-PREPARED应用程序的Azure部署。 当用户向 CREATE 请求新应用程序时, 请不要使用此技能 。 这种技能运行了 azd上行, azd 部署, trarraform 应用, 和 az 部署命令带有内置…