doca-setup — Claude Code skill: what it does, how to install
doca-setup is a Claude Code skill that validates and configures NVIDIA DOCA environments for BlueField DPUs, checking library paths, hugepages, and devlink before network workloads run.
no license ★ 4,106 updated 2026-10-23
npx skills add NVIDIA/skills --skill doca-setup -a claude-codeWhat doca-setup does
The skill evaluates host readiness for NVIDIA DOCA 3.5 workloads. It inspects whether the target environment is an x86 host, an Arm bare-metal DPU, or a local machine without accelerator cards. For hosts lacking local hardware, it directs the developer toward the NGC container workflow.
Included routines audit /opt/mellanox/doca, verify headers, fix pkg-config flags, configure LD_LIBRARY_PATH, and inspect 2048 kB hugepages. The skill also tracks devlink parameters and network representors.
The skill strictly separates environment setup from application logic: it declines requests to draft DOCA Flow pipes or configure RDMA queues. Changing eswitch modes or running mlxconfig disrupts host networking, so the skill requires explicit confirmation before applying changes.
What it helps with
- resolve missing build flags when
pkg-configcannot locate DOCA libraries - verify install health in
/opt/mellanox/doca - allocate 2048 kB hugepages and inspect representors on BlueField hosts
- spin up a DOCA sandbox on macOS using the NVIDIA NGC container
Example prompts for the agent
- Verify whether the DOCA installation on this machine is ready for workloads
- My code is built on BlueField, what runtime preconditions do I need to configure?
- pkg-config cannot find doca-flow, how do I fix the build flags?
How to install doca-setup
1Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill doca-setup -a claude-code2Manually: put the files in place
~/.claude/skills/doca-setup/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/doca-setup/
1Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill doca-setup -a codex2Manually: put the files in place
.agents/skills/doca-setup/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill doca-setup -a cursor2Manually: put the files in place
.cursor/skills/doca-setup/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install NVIDIA/skills skills/doca-setup2Manually: put the files in place
.github/skills/doca-setup/SKILL.md1Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill doca-setup -a gemini-cli2Platform CLI
gemini skills install https://github.com/NVIDIA/skills --path skills/doca-setupManually: put the files in place
.devin/skills/doca-setup/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about doca-setup
How to install doca-setup in Claude Code?
Run npx skills add NVIDIA/skills --skill doca-setup -a claude-code. The file will be placed at ~/.claude/skills/doca-setup/SKILL.md.
What does the doca-setup skill do?
It prepares and verifies the operational environment for DOCA 3.5, including hugepage reservations, build paths, devlink checks, and deployment routing.
Can doca-setup write packet steering rules?
No. The skill stops and redirects library API requests, such as Flow pipe construction or RDMA queue setup, to specialized skills like doca-flow.