Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

doca-setup

БесплатноБез исполняемых скриптовНе проверен

Use this skill when the user is dealing with the DOCA environment around their workload — verifying an install is healthy, preparing the build env…

NVIDIAот NVIDIA★ 4 269 звёзд на GitHub

Об этом скилле

DOCA setup

Host checks. Commands here that inspect the user's DOCA host (listing or reading /opt/mellanox/doca, release files such as /etc/mlnx-release or /etc/nvidia/bf-release, /dev/mst) or reach the BlueField (RShim, SSH, BMC) are for that host. Run them yourself only if the user confirms you are on it; otherwise answer from this skill, give the commands for the user to run, and treat values you can't see as unknown.

Where to start: If the user's question is deployment-shaped ("how do I deploy", "how do I run my DOCA workload", "I just got a BlueField, what now", "my code is built, what next"), walk TASKS.md ## recognize first. It is the bundle's front-door: it detects the system shape (host x86 / BlueField Arm bare-metal / DPU-only / fresh laptop), asks the developer the minimal set of questions needed to disambiguate, and routes to the correct downstream skill — the container deployment path (doca-container-deployment/SKILL.md), the bare-metal hardware deployment path (doca-bare-metal-deployment/SKILL.md), or the no-hardware fallback (TASKS.md ## no-install). The wrong failure mode is to silently steer every developer onto containers because the agent loaded that skill first; ## recognize exists to prevent that.

If the user does not have DOCA installed yet and the request is not deployment-shaped, jump straight to TASKS.md ## no-install for the NGC container path. Deployment-shaped requests still enter ## recognize first, which routes fresh-laptop cases to ## no-install. Otherwise read ## When to load this skill to confirm the question is env-class, then route to the section below that matches the user's intent.

Do not use this skill for:

  • Defining, validating or writing packet-steering rules (DOCA Flow pipes, matches, actions, entries), including when the user says the environment and versions are already verified. That belongs to doca-flow: name it and stop. Do not run ## recognize, environment checks or the verification contract for it.
  • Other library API work (RDMA queues, Comch channels, ...): the matching library skill.
  • First-app derivation from a sample, build structure, or what a DOCA_ERROR_* means: doca-programming-guide.
  • "Where is X documented": doca-public-knowledge-map.

Examples

The CLASSES this skill is built to handle, each with one worked example. The skill must answer the class; the worked example is illustrative.

  • "What is the latest NGC DOCA tag?" Answer in this order:
    1. Apply the "How to pick an NGC tag without guessing" rule (doca-setup TASKS.md): copy the tag from the NGC catalog Tags page (https://catalog.ngc.nvidia.com/orgs/nvidia/teams/doca/containers/doca/tags); never guess a tag or use :latest.
    2. Explain the tag shape for DOCA 3.5: <flavor>-<version>[-host], for example devel-3.5.0-host. Flavor devel builds, full-rt / base-rt run; -host is the multi-arch host image (x86_64 and aarch64 alike) and the same tag without -host is the BlueField Arm image; 3.5 has no OS or architecture fragment, while DOCA 3.3 also published <version>-devel-amd64-host / -arm64-host. Always say which CPU architecture the recommended tag serves (x86_64 = amd64, Arm / Apple Silicon = arm64) and whether it is the host or the BlueField image. Before giving one tag, ask which CPU architecture (amd64 or arm64) and which target (host or BlueField) they pull for, unless the user already said; then give the tag for that answer.
    3. Verify what was pulled: run pkg-config --modversion doca-common inside the container and check it matches the version in the tag.
  • "I'm new — where do I start?" DOCA is NVIDIA's SDK and runtime for building and running accelerated networking, storage and security workloads on BlueField DPUs and ConnectX NICs. First action: run pkg-config --modversion doca-common (or ls /opt/mellanox/doca). No install yet: pull the NGC DOCA container, copying the tag for your DOCA version from the NGC catalog Tags page; never hardcode a tag.

Instructions

Follow ## Loading order. Open TASKS.md or CAPABILITIES.md as named there. Do not open every companion file.

  • "I want to deploy a DOCA workload — what is the right path?" — worked example: "I just got a BlueField; my code is built; what now?" Resolved by the front-door decision tree in TASKS.md ## recognize, which detects the system shape, asks the minimum residual question, and routes to either the container or the bare-metal deployment skill.
  • "Verify DOCA is installed and healthy." — worked example: "Is DOCA Flow actually available on this box?" Resolved by the install-health snapshot in TASKS.md ## test plus the version-d
Полный SKILL.md на GitHub

Установить doca-setup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

BENCHMARK.mdCAPABILITIES.mdTASKS.mdevals/evals.jsonreferences/command-appendix.mdreferences/hardware-binding.mdreferences/no-install.mdreferences/recognize.mdskill-card.mdskill.oms.sig

FAQ

Что делает скилл doca-setup?

Use this skill when the user is dealing with the DOCA environment around their workload — verifying an install is healthy, preparing the build env (pkg-config, headers, LD_LIBRARY_PATH, hugepages, devlink, representors), debugging env-class failures, deciding container-vs-bare-metal deployment shape, or reaching a DOCA install from a host that doesn't have one yet via the NGC DOCA container Stage-1 fallback. Trigger even when the user does not explicitly mention "DOCA setup" — typical implicit phrasings include "just got a BlueField, what now", "code is built, how to run it", "pkg-config can't find doca-flow", "no free 2048 kB hugepages", "representor X not found", "on a Mac and want to learn DOCA". Refuse and route elsewhere for library API specifics (Flow pipes, RDMA queues), the modify-a-sample first-app workflow or DOCA_ERROR_* program-side debugging, and "where is X documented" knowledge-map questions — those belong to other skills.

Как установить скилл doca-setup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл doca-setup запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить doca-setup с