doca-gpunetio

doca-gpunetio is a skill for Claude Code, Codex from NVIDIA/skills. It costs 244 tokens per session (3,799 once invoked), scanned A, original, Apache-2.0.

A programming guide for connecting CUDA kernels running on an NVIDIA GPU to network queues through DOCA GPUNetIO. It describes receiving and sending network data with the GPU involved directly in the data path.

In plain words
What is it for?
Use it to build GPU-based packet processing, connect GPU-visible Ethernet queues, and design persistent CUDA kernels that drain those queues.
Why use it?
It helps avoid routing every packet through the host CPU when a CUDA kernel needs to process network traffic.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build GPU-based packet processing, connect GPU-visible Ethernet queues, and design persistent CUDA kernels that drain those queues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nvidia/skills/doca-gpunetio
About the project

NVIDIA/skills is a catalogue of portable instruction sets that teach coding agents how to use NVIDIA software for robotics, simulation, CUDA, retrieval-augmented generation, and related workflows. Developers install these skills in agents such as Claude Code or Codex, while the catalogue mirrors skills maintained in separate NVIDIA product repositories.

NVIDIA/skills · 3,873 stars · on GitHub · docs.nvidia.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NVIDIA/skills --skill doca-gpunetio
Clone the repo
git clone --depth 1 https://github.com/NVIDIA/skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for doca-gpunetio

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvidia/skills/doca-gpunetio/github.svg)](https://agentmods.dev/skills/nvidia/skills/doca-gpunetio)
Your own site
<a href="https://agentmods.dev/skills/nvidia/skills/doca-gpunetio"><img src="https://agentmods.dev/badge/skills/nvidia/skills/doca-gpunetio/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for doca-gpunetio

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia/skills/doca-gpunetio"><img src="https://agentmods.dev/badge/skills/nvidia/skills/doca-gpunetio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 244 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,799 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00244 $0.03799
Opus 5.5 $0.00098 $0.01520
Sonnet 5.5 $0.00049 $0.00760
Haiku 4.5 $0.00024 $0.00380

Measured 8d ago against content hash b8e57be02b8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doca-gpunetio scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/doca-gpunetio/SKILL.md · 317 lines

How it starts

The opening of the file, as written. The whole thing — 317 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DOCA GPUNetIO

Examples

  • "CUDA kernel reading packets directly from the NIC." — this is in scope. Stay on doca_gpu_eth_rxq / _txq and the persistent kernel; do not rewrite it as host-CPU Ethernet.
  • "DOCA_ERROR_DRIVER on doca_gpu_create." — check CUDA device match and dmabuf / nvidia-peermem registration before changing queue type.

Instructions

Follow Loading order below. Open the tasks companion for configure / build / run. Open the capabilities companion for GPU vs host path selection. Do not open every companion file.

Where to start: This skill assumes DOCA is already installed, the CUDA toolkit is installed and matched to the DOCA install, and the user is doing hands-on GPUNetIO work — i.e. wiring a DOCA network queue into a CUDA kernel on an NVIDIA GPU. Open the tasks companion if the user wants to do something (configure / build / modify / run / test / debug); open the capabilities companion when the question is what can GPUNetIO express on this version + this GPU. If the user has not installed DOCA yet, route to doca-setup/SKILL.md first; if the user has not set up the underlying Ethernet RX/TX queues yet, that is a DOCA Ethernet question — route to doca-eth/SKILL.md.

Example questions this skill answers well

The CLASSES of GPUNetIO questions this skill is built to answer, each with one worked example. The agent should treat the class as the load-bearing piece — the worked example is a single instance.

  • "How do I get a CUDA kernel to receive packets directly from the NIC?" — worked example: "persistent kernel on one GPU reads packets from a doca_gpu_eth_rxq built on top of a representor doca_eth_rxq and counts them per-flow". Answered by the persistent-kernel pattern in

    Capabilities and modes

    • the GPU-side bring-up workflow in

    configure.

  • "Can I run GPUNetIO on this GPU?" — worked example: "my host has one Ampere card and one Turing card; which one supports GPU-initiated networking?". Answered by the dual capability-discovery rule (DOCA cap-query AND cudaGetDeviceProperties against the CUDA device ordinal) in

    Capabilities and modes

    • the device-enumeration step in

    configure.

  • "Why does my GPUNetIO setup fail with DOCA_ERROR_NOT_SUPPORTED even though doca-eth came up fine?" — worked example: "nvidia_peermem is not loaded so GPUDirect RDMA is unavailable". Answered by the env preconditions in ## Safety policy
    • the env checklist in

    configure step 1.

  • "How do I move data between CUDA-allocated buffers and a DOCA queue?" — worked example: "use cudaMalloc for the receive buffer pool and register it with DOCA via doca_buf_arr_create_* before starting the context". Answered by the CUDA-allocator
    • DOCA-registration overlay in

    Safety policy

    • the buffer-prep step in

    configure step 4.

  • "Is the GPUNetIO API I'm reading about on my installed DOCA + CUDA combination?" — worked example: "is the persistent-kernel helper available with the CUDA toolkit version I have?". Answered by the version-compatibility overlay in

    Version compatibility

    which cross-links the canonical detection chain in doca-version/SKILL.md and adds the GPUNetIO-specific DOCA must match CUDA overlay.
  • "What does this DOCA_ERROR_* from a GPUNetIO call mean and which layer caused it?" — worked example: "DOCA_ERROR_DRIVER on doca_gpu_*_create — is it DOCA, CUDA, or the underlying doca-eth queue?". Answered by the GPUNetIO overlay on the cross-library taxonomy in

    Error taxonomy

    • the layered ladder in

    debug that escalates to

    doca-debug/SKILL.md.

Read the full file on GitHub · 317 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago Changed b8e57be02b8c
  2. 15d ago Changed · +1 lines 23e637cfa132
  3. 23d ago Changed · +17 lines a4a62e7c0a2e
  4. 2mo ago First seen · 299 lines · 244 tokens per session scan A 2fcc7b98f23b

Subscribe to this mod's changes

doca-gpunetio is a skill published in the GitHub repository NVIDIA/skills (3,873 stars, last pushed yesterday), licensed Apache-2.0. It adds 244 tokens to every session and 3,799 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

doca-gpunetio compared with skills from other repositories

doca-gpunetio next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doca-gpunetioNVIDIA/skillsSkill3.9kyesterdayApache-2.0A244Claude Code, Codex
desktop-and-local-ipc-securitymakifbaysal/tasktrooperSkill12016d agoApache-2.0A78Claude Code, Codex
spark-environment-setupwshobson/agentsSkill42kyesterdayMITA76Claude Code
spark-training-gotchaswshobson/agentsSkill42kyesterdayMITA63Claude Code
technical-troubleshootingstrands-agents/samplesSkill925yesterdayApache-2.0A38Claude Code
screen-mockup-htmlmakifbaysal/tasktrooperSkill12016d agoApache-2.0A63Claude Code, Codex
responsive-layoutmakifbaysal/tasktrooperSkill12016d agoApache-2.0A35Claude Code, Codex