Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add NVIDIA/skills --skill doca-setup -a claude-code
Open on GitHub

What 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-config cannot 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-code

2Manually: put the files in place

~/.claude/skills/doca-setup/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/doca-setup/

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.

Similar skills

All skills for DevOps and infrastructure →

From the same set312

The whole set →
doca-dpdk-bridge The doca-dpdk-bridge skill adds DOCA Flow and other DOCA features to an existing DPDK application, binding ports and converting buffers between DPDK and DOCA without rewriting the fastpath. CX Codex +1 ★ 4,106repo stars doca-dts doca-dts is a Claude Code skill that deploys and configures NVIDIA DOCA Telemetry Service on BlueField DPUs, Docker hosts, and DPF clusters. It covers DTS setup across these environments. CX Codex +1 ★ 4,106repo stars doca-structured-tools-contract The doca-structured-tools-contract skill guides an agent through gathering DOCA environment and device details with a structured helper or manual commands. It also covers pre-commit validation and host-versus-DPU checks. CX Codex +1 ★ 4,106repo stars nemo-fabric-build-adapter nemo-fabric-build-adapter is a skill for developing and validating NVIDIA NeMo Fabric adapters against the platform contract, from descriptors and configuration mapping to lifecycle implementation and spec checks. CX Codex +1 ★ 4,106repo stars nvflare-autofl nvflare-autofl is a skill that runs candidate-based optimization campaigns for existing NVFLARE jobs and compares results when an optimization objective is defined. CX Codex +1 ★ 4,106repo stars doca-flow Keeps the agent on DOCA Flow when writing packet steering code for NVIDIA NICs. Covers match/action pipes, ports, representors and counters. CX Codex +1 ★ 4,106repo stars doca-dpa doca-dpa is a Claude Code skill for host-side DOCA DPA work on BlueField. It helps set up the context, launch kernels, inspect device capabilities, and troubleshoot errors. CX Codex +1 ★ 4,106repo stars g-assist-mcp-skill This skill connects Claude Code and Codex to NVIDIA G-Assist for reading and changing display and GPU settings. Use it for refresh rate, G-SYNC, brightness, color, and performance controls. CX Codex +1 ★ 4,106repo stars

Project sponsors

Companies that keep this analytics open