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…
Install / Use
npx skills add NVIDIA/skills --skill doca-setupInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OperationsSupported Platforms
Tags
Our assessment of doca-setup
doca-setup scores 86/100 on our quality scale, 262nd of 487 Operations skills we index.
Its SKILL.md is 13 KB long, split into 6 sections and no code examples: a thorough specification that gives an agent plenty to work with.
With 3,421 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 5 days ago, so doca-setup is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
doca-setup compared with similar skills
All 4 of these similar skills score higher than doca-setup; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| doca-setup (this skill)by NVIDIA | 86 | 3.4k | 5d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 6d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 6d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 7d ago | SKILL.md |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 130.2k | 7d ago | SKILL.md |
Frequently asked questions
- How do I install doca-setup?
- Run
npx skills add NVIDIA/skills --skill doca-setup. The install tabs above show the steps for each supported agent. - Which AI agents does doca-setup work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is doca-setup safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is doca-setup still maintained?
- The repository was last updated 5 days ago, so doca-setup is actively maintained.
Skill content
View source on GitHublicense: Apache-2.0 AND CC-BY-4.0 name: doca-setup description: > 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 "I just got a BlueField, what now", "my code is built, how do I run it", "pkg-config can't find doca-flow", "no free 2048 kB hugepages", "representor X not found", "I'm 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. metadata: kind: library compatibility: > No DOCA install required to read this skill (it is an overlay loaded against any DOCA artifact skill); the validation steps within DO require a live DOCA install at /opt/mellanox/doca. The agent must have a target-host command channel or provide commands for the user to run and return their exact output; local shell access must not be assumed to reach the target.
DOCA setup
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),
the bare-metal hardware deployment path
(doca-bare-metal-deployment),
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.
Example questions this skill answers well
The CLASSES this skill is built to handle, each with one worked example. The skill must answer the class; the worked example is illustrative.
- "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 ## testplus the version-detection rules inCAPABILITIES.md ## Capabilities and modes. - "I do not have DOCA installed — what now?" — worked example: "I'm
on macOS and want to learn DOCA before I get a BlueField." Resolved
by
TASKS.md ## no-install(NGC DOCA container as universal Stage-1). - "Prepare the build environment for any DOCA library." — worked
example: "
pkg-config --cflags doca-flowreturns nothing — what's missing?" Resolved by the build-prep workflow inTASKS.md ## configureand the build-class error taxonomy inCAPABILITIES.md ## Error taxonomy. - "Prepare the runtime preconditions on a real DPU box." — worked
example: "hugepages / representors / devlink — what's the minimum set
before I run my first DOCA Flow program?" Resolved by
TASKS.md ## configureand the runtime observability rules inCAPABILITIES.md ## Observability. - "Diagnose an env-class failure (install / build / runtime)." —
worked example: "My DOCA Flow program built fine but says
pkg-configcannot find it at runtime." Resolved by the layered env-class debug workflow inTASKS.md ## debug. - "Change something about the environment safely." — worked
example: "I want to switch eswitch mode from legacy to switchdev."
Resolved by the safety constraints in
CAPABILITIES.md ## Safety policy.
If the question is library-API-shaped (Flow pipe construction, RDMA
queue setup, …) or program-shaped (how to build, modify a sample, debug
the program itself), route to
doca-programming-guide or the
matching library skill instead — env-class only lives here.
When to load this skill
Load this skill when the user is dealing with the environment around DOCA — installing it, verifying the install is healthy, preparing the build / runtime preconditions, debugging env-class failures, figuring out how to reach an install from a host that doesn't have one yet, or asking a deployment-shaped question that hasn't yet been routed (containers vs. bare-metal) — the front-door routing decision lives here. Concretely:
- The deployment-shape routing front door: "I just got a BlueField, what now?", "my code is built, how do I run it?", "how do I deploy this?" All of these load
## recognizefirst so the agent does not silently push the user onto the wrong path. - Verifying that the DOCA install is healthy and that the build environment can find it (
pkg-config, headers, library paths). - Preparing the runtime: hugepages,
devlinkdevice visibility, representor enumeration, kernel-module prerequisites. - Diagnosing common setup-class failures: missing
*.pcfile, hugepages not mounted, representor not visible, header-vs-runtime version mismatch. - The I have no install yet path: the user is on macOS, Windows, or a Linux box without DOCA, and needs to reach an environment where DOCA is actually installed. The canonical Stage-1 answer is the public NGC DOCA container at
nvcr.io/nvidia/doca/doca(works on any OS that runs Docker; no NVIDIA hardware required for the build / read / learn loop). SeeTASKS.md ## no-install.
Do not load this skill for:
- "What is DOCA?", "where is the developer guide?", "where is the install layout documented?" — those are routing questions; use
doca-public-knowledge-map. - "How do I derive a custom first application from a sample?", "how do I structure a DOCA build?", "what does
DOCA_ERROR_BAD_STATEmean?" — those are programming-class questions and live indoca-programming-guide, which owns the universal## modify(first-app derivation), the canonical## buildpattern, the universal lifecycle, and the cross-libraryDOCA_ERROR_*taxonomy. - Library-internal API questions (Flow pipe construction, RDMA queue setup, etc.) — those belong in the matching library skill (e.g.
doca-flow). This skill stops at "the install is healthy and the env is ready"; it does not own program semantics.
What this skill provides
This is a thin loader. The body keeps only the orientation needed to pick the right next file. The substantive env material lives in two companion files:
CAPABILITIES.md— what the install / build / runtime environment surface looks like: install profiles (doca-all,doca-ofed,doca-networking), where the build flavors (release vs trace) live on disk and how to pointLD_LIBRARY_PATHat them, the env-side version-detection rules, the env-class error taxonomy (pkg-confignot findingdoca-flow, hugepages not reserved, representors not visible), what a healthy install looks like under observation, and the safety constraints on environment changes (hugepages global,mlxconfigreset, eswitch mode change).TASKS.md— env workflows:recognize(the front-door system-shape detect + dev-Q decision tree that routes deployment-shaped questions to either container or bare-metal),configure(env prep),test(install health snapshot),debug(env-class layered diagnosis), andno-install(the I have no install yet procedure with the NGC container as Path 0). Three other anchors (build,modify,run) exist for lint compliance and route todoca-programming-guide, which owns those verbs after the env / program split.
This skill assumes nothing about whether DOCA is installed — the ## no-install workflow exists precisely for the fresh laptop case.
Loading order
- Read this
SKILL.mdand classify the question as programming, knowledge-map, beginner orientation, deployment routing, or environment work. Programming and knowledge-map questions route to their owning skill and stop here. - For beginner orientation, show the
TASKS.md ## no-installStage 1 vs Stage 2 roadmap before any command. Then route Stage 1/container learning to## no-installPath 0 and Stage 2/hardware runtime to## no-installPaths A/C, followed by## recognizebefore selecting container versus bare-metal. Ask one clarifying question when the stage is unknown; if it remains unknown or no reply is available in unattended execution, stop withconfirmation_requiredand both paths explained rather than guessing. - For deployment routing, walk TASKS.md ## recognize first only when the container-versus-bare-metal path is not already established. If it is established, proceed directly to the matching env workflow.
- Before a change recommendation on an installed/hardware target, load the mandatory Universal verification contract and walk all applicable steps through an auditable green signal. Hardware-touching answers also load the hardware binding-layer command stanza. The Stage-1 no-hardware path instead uses its own container install/smoke green signal; never fabricate unavailable PCIe, representor, or hardware evidence.
- For env workflows —
configure,test,debug, andno-install— see TASKS.md. Thebuild,modify, andrunanchors route todoca-programming-guide. - Once the env is healthy, hand off to the selected deployment skill,
then
doca-programming-guide, then the matching library skill.
Both companion files cross-link to each other and to doca-public-knowledge-map whenever the right answer is "look it up in the public docs or the installed package layout" rather than "setup-specific guidance".
Related skills
doca-container-deployment— the container deployment runtime (kubelet standalone + YAML pod-spec drop) for any DOCA service container on Blu
Truncated for display — read the full file on GitHub.
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
ui-ux-pro-max
130.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
