К основному содержанию
скилл CX Codex

companion-clis — скилл для Claude Code: что делает и как установить

Скилл помогает агенту работать с CLI HuggingFace, GitHub, Docker и AWS в задачах Runpod. Пригодится для моделей, репозиториев, образов и сетевых томов.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add runpod/runpod-plugins-official --skill companion-clis -a claude-code
Открыть на GitHub

Что делает companion-clis

Скилл направляет агента к справке нужного CLI: hf загружает модели с HuggingFace для кэширования или сборки образа, gh управляет репозиториями и релизами, docker собирает и отправляет образы, а aws работает с сетевыми томами через S3 API Runpod. Для каждой утилиты есть отдельная справка по авторизации и командам; инструкции по установке вынесены отдельно.

Перед работой нужны учётные данные соответствующего сервиса. Для AWS через S3 API потребуются ключи Runpod, а команды должны содержать регион дата-центра и адрес конечной точки. Docker-образы для Runpod нужно собирать с --platform=linux/amd64 и явным тегом, не latest. В Windows инструкции для hf и gh используют WSL2; команды и пути следует держать в выбранной среде.

Какие задачи решает

  • скачать модель с HuggingFace для образа Docker
  • управлять репозиторием рабочего узла и выпустить релиз
  • собрать и отправить образ в Docker Hub для Runpod
  • передать файлы в сетевой том через S3 API Runpod

Примеры запросов агенту

  • Скачай модель из HuggingFace, чтобы добавить её в образ Docker для Runpod.
  • Подготовь релиз репозитория рабочего узла через gh для индексации Hub.
  • Собери образ для Runpod и отправь его в Docker Hub с явным тегом.

Как установить companion-clis

1Через Skills CLI (Vercel)

npx skills add runpod/runpod-plugins-official --skill companion-clis -a claude-code

2Вручную: положить файлы

~/.claude/skills/companion-clis/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/companion-clis/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о companion-clis

Как установить companion-clis в Claude Code?

Выполните npx skills add runpod/runpod-plugins-official --skill companion-clis -a claude-code. Файл скилла появится по пути ~/.claude/skills/companion-clis/SKILL.md.

Что делает companion-clis?

Скилл подсказывает, как использовать CLI HuggingFace, GitHub, Docker и AWS в рабочих процессах Runpod. Он направляет к отдельной справке по командам и авторизации нужной утилиты.

Какие учётные данные нужны для работы с сетевым томом?

Для S3 API Runpod нужны ID пользователя Runpod как ключ доступа и ключ S3 API как секрет. Каждой команде также нужны регион дата-центра тома и адрес конечной точки.

Исходный текст

SKILL.md · Apache-2.0
---
name: 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: "1.8.0" # 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 `<cli>-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 `<cli>-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 **`<cli> --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 reliable resume, see [reference/aws.md → optional resumable volume transfers](reference/aws.md#optional-resumable-volume-transfers-community-tool).

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

Похожие скиллы

Все скиллы по теме «DevOps и инфраструктура» →
wizard Matt Pocock Скилл создаёт интерактивный bash-скрипт для ручных шагов: настройки сервисов, секретов CI и разовых миграций. 553 369установок hyperframes-cli heygen-com Управляет проектами HyperFrames через терминал: собирает таймлайн, проверяет контраст кадров, запускает предпросмотр и рендерит видео локально или в облаке. CX Codex +1 1 300 000установок setup-pre-commit Matt Pocock Скилл настраивает pre-commit для JavaScript-репозитория: Husky запускает форматирование, проверку типов и тесты перед коммитом. 489 289установок using-git-worktrees Jesse Vincent Готовит изолированное рабочее дерево перед доработкой или выполнением плана. Проверяет текущий репозиторий, выбирает нативные средства платформы либо Git. CX Codex 217 153установок finishing-a-development-branch Jesse Vincent Скилл проверяет тесты и помогает выбрать, как завершить работу в ветке: слить её, открыть Pull Request или оставить как есть. CX Codex 214 439установок orca-cli stablyai Скилл даёт агенту доступ к worktree, терминалам, артефактам и встроенному браузеру Orca через CLI. Пригодится, когда работа идёт в окружении Orca. CX Codex +1 353 600установок

Из того же набора13

flash Скилл для написания и деплоя Runpod Serverless через runpod-flash: декораторы @Endpoint, локальная итерация и выкладка эндпоинтов. CX Codex +1 13 700установок runpod-mcp Скилл подключает Runpod MCP и направляет агента при управлении подами и серверлесс-эндпоинтами Runpod. Помогает поднимать GPU-ресурсы прямо из чата с моделью. CX Codex +1 12 500установок runpod-usage Объясняет, как устроен Runpod: поды против Serverless, выбор GPU и VRAM, образы, хранилища и сеть. Пригодится, когда нужно решить, что запускать, до того как что-то запускать. CX Codex +1 12 500установок runpod-migrate Переносит код с Runpod GraphQL API и REST v1 на REST v2, находит вызовы и отмечает ломающие изменения. Нужен перед обновлением API или аудитом версии API в проекте. CX Codex +1 10 800установок runpod-templates Скилл находит официальные шаблоны Runpod Pod, подсказывает порты и автозапуск и чинит метаданные моделей в воркфлоу ComfyUI. CX Codex +1 10 100установок serverless-deploy Разворачивает модель или воркер на Runpod Serverless через MCP-инструменты: подбирает движок, GPU, провижинит и проверяет одним реальным job. CX Codex +1 2 700установок pod-doctor Находит причины сбоев в подах Runpod: ошибки прокси 502, пропажу GPU после перезагрузки и зависания контейнеров. Работает в режиме чтения через MCP-инструменты Runpod. CX Codex +1 2 600установок endpoint-ops Скилл для работы с уже существующим Serverless endpoint в Runpod: находит причину зависших задач и падающих воркеров, меняет настройки только с разрешения. CX Codex +1 2 700установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой