/nvidia-doca-plugin:doca-verbsfrom NVIDIA DOCA
Provides raw verbs access inside DOCA Core for direct control of QP, CQ, PD, SRQ, and address-handle objects. Use when doca-rdma task API doesn't expose needed attributes or when porting libibverbs code.
Ships in NVIDIA DOCA. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Host checks. Commands here that inspect the user's DOCA host (listing or reading
/opt/mellanox/doca, release files such as/etc/mlnx-releaseor/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.
doca-rdma already covers the case (the path
selection rule below); the most common mistake is dropping to raw verbs
unnecessarily. Only a raw QP / CQ / WR / SRQ / Address-Handle attribute
need justifies doca-verbs.pkg-config --modversion doca-verbs must match doca_caps --version and pkg-config --modversion doca-common; the whole
doca_verbs_* ABI is EXPERIMENTAL on this release, so pin it.doca_pe_progress),
manual CQ polling (doca_verbs_bridge_poll_cq), or a completion channel
(doca_verbs_comp_channel_create, doca_verbs_get_cq_event,
doca_verbs_ack_cq_events).DOCA_ERROR_IO_FAILED means the submit succeeded but the completion
reports an error: read the CQE error field after draining the CQ, not the
submit return.doca-rdma/SKILL.md.doca_verbs.h surface.Follow ## Loading order. Open only the companion
that matches the question.
If the task is general RDMA data movement (send / receive / read /
write / atomic between endpoints) and the user did not name a raw
QP / CQ / work-request / SRQ / Address-Handle attribute the
higher-level API cannot express, this skill is out of scope —
route to doca-rdma/SKILL.md and stop after
explaining the boundary. Unless doca-rdma guidance is loaded, do not
infer its implementation APIs; conceptual terms (QP, CQ, connection,
send, receive) are not implementation API names.
Loading this skill is never a license to hand-roll libibverbs /
librdmacm. A general-RDMA deliverable whose ldd shows no
libdoca_rdma is a failed task — the same rule
doca-rdma/SKILL.md enforces. Raw doca_verbs_* is in
scope only for the narrow attribute-level needs below; everything else
climbs back up.
Where to start: This skill is the raw-verbs escape hatch beneath
the higher-level DOCA libraries (doca-rdma/SKILL.md,
doca-eth/SKILL.md, doca-rmax/SKILL.md).
The agent's first job is to confirm the user actually needs to drop
down — most users do not; the right answer is almost always "stay in
the higher-level library". Open CAPABILITIES.md
for what the verbs surface exposes and the libibverbs boundary; open
TASKS.md once raw verbs is confirmed. If DOCA is not
installed, route to doca-setup/SKILL.md first.
For every in-scope porting, lifecycle, or debugging answer, do not declare it complete until it explicitly states all applicable items below:
doca_verbs_context is the DOCA Core context owning the verbs
surface; it wraps the doca_dev, integrates with the progress
engine, and owns the per-object PD / MR / CQ / QP lifecycle in
CAPABILITIES.md ## Capabilities and modes.DOCA_ERROR_IO_FAILED is
diagnosed from the completion-queue entry's error field — not the
submit return — before recommending retries or code changes.pkg-config --modversion doca-verbs must agree with
doca_caps --version and pkg-config --modversion doca-common;
and the doca_verbs_* ABI ships in the EXPERIMENTAL tier — symbols
may rename or graduate between releases and the installed headers
outrank documentation (doca-version/SKILL.md).
Device support for a verb is answered by the doca_devinfo
capability query, not by either version.ibv_* handles are replaced, never mixed with
doca_verbs_* handles on the same hardware objects.The decision every conversation loading this skill must make FIRST, before any code-level discussion:
doca-rdma/SKILL.md for general RDMA,
doca-eth/SKILL.md for Ethernet TX / RX,
doca-rmax/SKILL.md for timing-precise media.
The most common failure is recommending raw verbs unnecessarily
because the user said "verbs" or "QP" without confirming the
higher-level surface already covers the case.doca_rdma_task_* does not surface; custom
CQ handling beyond the progress engine; an esoteric QP attribute
(path MTU, PSN, ECE); explicit SRQ control; congestion-control
group (doca_verbs_cc_group_*) attachment; Address-Handle tuning
(DGID / DLID / SL / SGID index / hop limit / traffic class / UDP
source port). If yes — in scope.ibv_* handles with doca_verbs_* handles, integrate via
doca_verbs_context_create, drive completions via the DOCA
progress engine instead of polling the CQ) — not a mechanical 1:1
replacement.If none of (1)-(3) apply, the answer to "should I use doca-verbs?"
is no — route back to the matching higher-level library. A raw-verbs
skill that talks the user out of raw verbs is doing its job.
This skill serves external developers building applications that
consume the DOCA Verbs library — code calling doca_verbs_*
(directly in C/C++, or via FFI/bindings) for raw QP / CQ / PD / MR /
SRQ / Address-Handle / Ethernet-SQ / Ethernet-RQ control inside a
DOCA Core context. It is not for NVIDIA developers contributing to
DOCA Verbs, and not the entry point for general DOCA RDMA / Eth /
RMAX work — that belongs in the matching higher-level library skill.
DOCA Verbs ships as a C library (pkg-config module doca-verbs);
public headers live under the installed DOCA tree
($(pkg-config --variable=includedir doca-common)/doca_verbs.h plus
the doca_verbs_*.h family) and, per the headers-win-over-docs rule
in doca-version/SKILL.md, are the
authoritative symbol surface. C / C++ is the canonical case TASKS.md
assumes; other languages reach the same *.so through FFI, and the
skill keeps its rules language-neutral while routing to the public C
ABI as the authoritative surface.
Load this skill ONLY after the user has confirmed the matching higher-level DOCA library does not expose the needed semantic. Concretely:
doca-verbs for this?" —
load to answer, but expect "no, stay in the higher-level
library" unless the user can name the verb / opcode / option the
higher-level library does not surface.DOCA_ERROR_* from a doca_verbs_* call needs diagnosis —
including IO_FAILED, where the answer lives on the
completion-queue entry, not the submit return.Do not load for: general RDMA (doca-rdma/SKILL.md);
Ethernet queueing (doca-eth/SKILL.md); timing-precise
media (doca-rmax/SKILL.md); cases another
higher-level library covers (doca-flow/SKILL.md for
steering, doca-sta/SKILL.md for NVMe-oF target acceleration); DOCA install
(doca-setup/SKILL.md); or general orientation —
all routed via
doca-public-knowledge-map/SKILL.md.
This is a thin loader. The substantive raw-verbs material lives in two companion files:
CAPABILITIES.md — what doca-verbs can express on this
version: the higher-level-vs-verbs selection table, the libibverbs
boundary, the verbs object model (doca_verbs_context + QP / CQ /
PD / MR / SRQ / Address-Handle / Completion-Channel / Ethernet-SQ /
Ethernet-RQ / CC-group), the capability-query surface
(doca_verbs_query_device + doca_verbs_device_attr_get_*), the
error taxonomy (mapped onto DOCA_ERROR_* with the IO_FAILED →
completion-entry overlay), the observability surface (progress
engine vs manual CQ polling vs comp-channel delivery), and the
safety policy gating the no-mixing-with-libibverbs rule.TASKS.md — workflows for the six in-scope verbs: configure,
build, modify, run, test, debug, plus a Deferred task verbs block. Every workflow assumes the drop-down decision above
was made; ## configure re-confirms it.The skill assumes DOCA is installed and the user has the privileges
their install profile expects (RDMA stack on host, same as
doca-rdma/SKILL.md). It does not cover installing
DOCA — route to doca-setup/SKILL.md.
This skill is agent guidance, not a samples or templates bundle. It deliberately does not contain — and pull requests should not add:
ls /opt/mellanox/doca/samples/); the agent
routes there and prescribes a minimum-diff modification via the
modify-a-sample workflow in
doca-programming-guide/SKILL.md,
layered with the verbs overrides in
TASKS.md ## modify.meson.build, CMakeLists.txt,
Cargo.toml, …) parked inside the skill. The agent constructs the
manifest in the user's project against the installed DOCA, where
pkg-config --modversion doca-verbs is the source of truth.samples/, bindings/, or reference/ subtree of any
kind. A mock artifact labeled "reference" reads as buildable and
misleads.doca-verbs. Porting is
judgment, not mechanical replacement — see
TASKS.md ## modify.Both companion files cross-link to each other, to the higher-level
libraries (doca-rdma/SKILL.md,
doca-eth/SKILL.md,
doca-rmax/SKILL.md) as climb-back homes, to
doca-common/SKILL.md for the doca_dev /
doca_pe / doca_ctx foundation primitives, to
doca-version/SKILL.md for canonical version
rules, and to
doca-public-knowledge-map/SKILL.md
whenever the right answer is "look it up in the public docs or the
install layout".
When a step below routes to another skill that is not already loaded, read that skill first; if unavailable, stop and name it and the layer it covers — do not continue that layer from memory.
doca-rdma/SKILL.md — the canonical higher-level
RDMA library and the home this skill routes most RDMA users back
to. Any conversation loading doca-verbs for an RDMA question
should also load doca-rdma so the climb-back answer is immediate.doca-eth/SKILL.md — the higher-level Ethernet
queue library. doca-verbs also exposes Ethernet SQ / RQ verbs
(doca_verbs_eth_sq_*, doca_verbs_eth_rq_*); once the user
confirms doca-eth lacks the needed option (TS-source-type tuning,
plane-index pinning, multi-pkt-send-WQE), this skill takes over.doca-rmax/SKILL.md — the higher-level Rivermax
library for timing-precise media. Most Rivermax cases stay there;
raw verbs is the escape hatch for the rare case needing a verb
Rivermax does not expose.doca-common/SKILL.md — the foundation every
DOCA context (including doca_verbs_context) rests on:
doca_dev / doca_pe / doca_ctx, the doca_devinfo cap-query
rule, and the lifecycle. This skill layers verbs specifics on top.doca-public-knowledge-map/SKILL.md —
the routing table for public DOCA docs and the install layout; the
DOCA Verbs public guide is listed there.doca-setup/SKILL.md — env preparation,
install verification, and the no install yet path via the NGC
DOCA container. This skill assumes its preconditions hold.doca-version/SKILL.md — canonical DOCA
version-handling rules. ## Version compatibility cross-links the
four-way match rule (with doca-verbs.pc joining the match set)
and the cap-query-is-runtime-authority rule.doca-structured-tools-contract/SKILL.md —
the bundle's structured-tools precedence rule (detect / prefer /
fall back / report). The Command appendix in TASKS.md
honors it.doca-programming-guide/SKILL.md —
general DOCA programming patterns shared by every library:
pkg-config + meson build, modify-a-shipped-sample first-app, the
universal lifecycle, the DOCA_ERROR_* taxonomy, and the debug
order. This skill layers raw-verbs specifics on top.doca-debug/SKILL.md — the cross-cutting
debug ladder (install / version / build / link / runtime /
program / driver). Raw-verbs debug (completion-entry inspection,
no-mixing-with-libibverbs, lifecycle in verbs terms) overlays on top.doca-hardware-safety/SKILL.md —
the cross-cutting hardware-safety meta-policy this skill's
## Safety policy overlays.BENCHMARK.md (opens in a new tab)CAPABILITIES.md (opens in a new tab)SKILLCARD.yaml (opens in a new tab)TASKS.md (opens in a new tab)evals/evals.json (opens in a new tab)references/command-appendix.md (opens in a new tab)references/deferred-topics.md (opens in a new tab)references/deferred-verbs.md (opens in a new tab)references/install.md (opens in a new tab)references/pattern-overview.md (opens in a new tab)references/use.md (opens in a new tab)skill-card.md (opens in a new tab)skill.oms.sig (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nvidia/skills --plugin nvidia-doca-plugin53 skills in this plugin
/doca-aes-gcmUse this skill when the user is doing hands-on DOCA AES-GCM work on a BlueField DPU or ConnectX NIC — configuring `doca_aes_gcm_task_encrypt` / `_task_decrypt`, querying `doca_aes_gcm_cap_*` for per-key-type (only `DOCA_AES_GCM_KEY_128` / `_256` — AES-192 not supported) and per-task support, sizing plaintext against the max-buf cap, setting source / destination mmap permissions, validating with a NIST GCMVS or RFC 5288 vector, or debugging DOCA_ERROR_* including the security-critical tag-verification-failed outcome on decrypt. Trigger even when the user does not explicitly mention "DOCA AES-GCM" or "AEAD" — typical implicit phrasings: "decrypt completion IO_FAILED", "auth tag isn't verifying", "NOT_PERMITTED on my encrypt buffer", "is AES-192-GCM on this BlueField" (no), or "encrypted record came back tampered". Refuse and route elsewhere for non-GCM AES modes (CBC / CTR / XTS — CPU OpenSSL), key management (KMS / HSM / rotation), SHA (doca-sha), or general AEAD background.
/doca-argpUse this skill for hands-on DOCA Arg Parser CLI work on a shipped sample or new DOCA-using app — adding / removing / renaming flags; wiring `doca_argp_init` → register params → `doca_argp_start` → `doca_argp_destroy` in order; picking a parameter type from the full public enum (`DOCA_ARGP_TYPE_STRING`, `_INT`, `_BOOLEAN`, `_DEVICE`, `_DEVICE_REP`, `_DOUBLE` — six values, not three); preserving the built-in DOCA flags (`-h` `-v` `-l` `--sdk-log-level` `--log-filter` `-j`/`--json`, NOT `--json-config`); `--device` is per-program; or debugging `DOCA_ERROR_BAD_STATE` / `INVALID_VALUE` / `NOT_SUPPORTED` / `IO_FAILED` from `doca_argp_*`. Trigger on implicit phrasings: "add a custom flag to a DOCA sample", "should I use getopt here", "BAD_STATE registering a new param", "my JSON config key is rejected", or "my sample's --json is ignored". Refuse and route elsewhere for variadic-flag / subcommand / shell-completion features, DOCA Core context, or DOCA Log internals.
Other plugins' skills for the same job