/nvidia-doca-plugin:doca-versionfrom NVIDIA DOCA
Detects installed DOCA release and validates four-way version match across pkg-config, VERSION file, doca_caps, and BlueField release files. Diagnoses build-vs-runtime drift and resolves version-skew symptoms.
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.
Follow Loading order below. Open the tasks companion for detect / validate / diagnose, and the capabilities companion for the four-way match and NGC tag rules. Do not open every companion file.
Where to start: This skill is the bundle's single source of truth for DOCA version handling. Open the tasks companion if the user wants to do something with the version (detect / validate / diagnose mismatch); open the capabilities companion when the question is what does version handling cover (the four-way match, the detection chain, NGC semantics, the per-library overlay pattern). Every other skill in the bundle that touches version routes here — they MUST NOT redefine the rules.
The CLASSES of version-handling 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.
pkg-config --modversion
says 3.3.0; doca_caps --version says 3.2.0". Answered by the
four-way match rule in
doca-structured-tools-contract/SKILL.md#schemas
with fallback to per-library docs via
doca-public-knowledge-map/SKILL.md).doca-comch to
the bundle, what does its ## Version compatibility look
like?". Answered by the per-library overlay pattern in
apt list shows DOCA 3.3.0109, but /etc/apt/sources.list.d/doca.list
is pinned at latest / a different release — is the next
apt install doca-* going to silently upgrade me?" — worked
example: "I rolled back BFB to 3.1.0105 but my sources still
point at the latest channel." Answered by the apt-source
consistency precheck in
Load this skill whenever version handling is the load-bearing
concern. The decision must be made before the agent composes
its first sentence — the activation checklist below is the same
one referenced from
AGENTS.md ## Cross-cutting overlay activation triggers (bundle AGENTS.md#cross-cutting-overlay-activation-triggers),
mirrored here so the activation rule is at hand whenever this skill
is consulted.
| Trigger class | Concrete prompt-side signals (any one fires the overlay) |
|---|---|
| Direct version question | "what DOCA version do I have", "is X consistent", "is feature Y supported on version Z", "can I mix host package version A with BFB version B", "is my LTS still supported", "what does the version string mean" |
| Container tag question | any prompt that mentions a specific NGC container tag, or asks about latest, or asks how to pin a tag in a Dockerfile / pod spec / Compose file. The agent MUST also cite the "never invent a tag string from memory, never quote latest without confirming it" rule from ## Safety policy. |
| Build vs runtime drift | any debug session where the symptom is "the program built fine but DOCA_ERROR_NOT_SUPPORTED at runtime", "undefined reference to a symbol the docs say exists", "my code does nothing on the wire", "counter didn't increment" — these are the canonical partial-install symptoms |
| Upgrade / downgrade plan | the user is planning to upgrade or downgrade DOCA on a host already running other DOCA workloads, or to refresh the BFB on a BlueField pair already attached to a host |
| Per-artifact cross-link | a per-artifact skill's ## Version compatibility section cross-links here for the rule body, OR the agent is about to author a new per-artifact skill and needs the overlay template |
When any cell above fires, the agent MUST:
pkg-config --modversion doca-common → cat /opt/mellanox/doca/applications/VERSION → doca_caps --version → bfver plus cat /etc/mlnx-release (BlueField hosts). Do not paraphrase or summarize the chain; cite the commands by name. Do NOT substitute mlxprivhost or bfb-info for the BFB leg — those are common hallucinations and the bundle explicitly bans them in ## Capabilities and modes.pkg-config --modversion output from the user's host, the answer must say so and route to the detection chain — not assert a version from training-data recall.Whenever ANOTHER overlay (e.g. doca-setup/SKILL.md, doca-hardware-safety/SKILL.md, doca-container-deployment/SKILL.md, doca-bare-metal-deployment/SKILL.md) calls a ## test / ## configure / ## modify step that requires "the install is healthy" or "versions are consistent", that step MUST resolve to a citation of this skill's four-source detection chain and four-way match rule. The agent does NOT redefine the rule per-overlay — every step that needs a version verification must route here. This is the only place in the bundle that owns the rule body.
Do not load this skill for general DOCA orientation, for
install procedures (use doca-setup/SKILL.md),
or for library-specific API questions (use the matching library
skill).
This is a thin loader. The body keeps only the orientation needed to pick the right next file. The substantive version-handling material lives in two companion files:
latest").configure (detect on this host), build
(build-time match), modify (update a version pin in a build
manifest), run (runtime check), test (four-way validation +
capability-availability lookup), debug (diagnose mismatch / partial
install). Plus a Deferred task verbs block.doca-structured-tools-contract/SKILL.md —
the JSON schemas for the helper tools the agent should prefer
when present. This skill's ## test workflow uses the
capability-availability table schema defined there; do not redefine the
schema here.doca-public-knowledge-map/SKILL.md —
the routing table to public DOCA docs, including the
Compatibility Policy. This skill cites the Compatibility Policy
URL once via that map; it does not duplicate the routing.doca-setup/SKILL.md — env-side install /
verify / NGC container path. This skill assumes its
preconditions are satisfied (i.e., something is installed
somewhere; the version question is what was installed and is
it consistent).doca-programming-guide/SKILL.md —
program-side guidance (quote the version observed, header-wins,
capability-discovery rules). The program-side ## Version compatibility section there is now a 3-5 line redirect to this
skill plus the program-side overlay (quote vs assume; never use
agent-memory version).doca-debug/SKILL.md — the cross-cutting
debug ladder. Layer 2 (version mismatch) of that ladder is
owned by this skill's ## debug workflow.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