/nvidia-doca-plugin:doca-ngaugefrom NVIDIA DOCA
Drives the DOCA ngauge tool to probe NIC hardware counters, collect HDF5 performance data, and debug single-node network performance on BlueField/ConnectX devices.
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.
These requests are out of scope: say so, name the skill that owns the request, and stop.
doca-eth/SKILL.md.doca-comch/SKILL.md.doca-setup/SKILL.md.doca-version/SKILL.md.doca-hardware-safety/SKILL.md.doca-public-knowledge-map/SKILL.md./usr/share/doc/ngauge/examples/plugins; dependencies may need
separate installation.doca-setup.The authoritative source for the binary name, flags, paths, and
configuration schema is the public DOCA ngauge guide at
https://docs.nvidia.com/doca/archive/3-5-0/doca-ngauge/index.html.
Confirm details with the installed tool's --help and the sample
configuration files before quoting them.
ngauge analyzes, visualizes, and debugs network performance on a single node by probing NIC hardware counters and storing collected data in HDF5 format with relevant metadata.
Supported hardware: NVIDIA BlueField-3, NVIDIA ConnectX-7, and above; firmware version xx.43.1000 or higher.
ngauge relies on the fwctl driver and cannot run simultaneously with other tools or services that also use fwctl.
All configurations are defined in an input YAML file. Sample
configuration files are under /usr/share/doc/ngauge/examples/settings.
The device is specified by its PCIe address, for example
device: "0000:03:00.0".
Output path and file prefix are mandatory. The output file is saved
as /path/to/output/directory/<prefix>_<DATE>_<TIME>.h5; the exact
file name is printed after each run.
The silent option suppresses CLI progress indications when set to
true (default false).
Runtime parameters include mode (repetitive or single) and
period_us (sampling period in microseconds; decimal or scientific
notation accepted, e.g. 1e2 = 100 μs).
Counter definitions require id (data ID); optional fields are
desc, unit, accumulating, normalizer (time, a non-zero
number, or a configured data ID with an id/ prefix), cutoff_min,
and cutoff_max.
All supported performance counters are listed in the public guide's "Supported Data IDs" section.
Run ngauge with:
ngauge <configuration YAML file>
To end a run early, use Ctrl+C (SIGINT). This is a normal and supported way to stop; all results collected up to that point are saved as usual.
During a run, progress bars for each counter are displayed. Color coding: blue for low values, red for high values, gradient for intermediate values, solid gray for no changes. Data is updated once per second, showing mean, standard deviation (σ), minimum, and maximum observed during the last second.
To reference the most recent results when the output directory is
/tmp (the default), use:
$(ls -1 /tmp/ngauge_data_*.h5 | tail -n1)
Follow Loading order below. Open the tasks companion for configure / run / parse / debug. Open the capabilities companion for what ngauge measures and reports. Do not open every companion file.
Where to start: This is a tool skill for invoking DOCA ngauge —
the single-node network performance analysis, visualization, and
debugging tool that probes NIC hardware counters and stores HDF5 data.
Open the tasks companion and start at ## configure for the YAML
configuration decision, then ## run for the execution flow. Open the
capabilities companion when the question is what counters can be
measured, what metadata is stored, and what the progress display
implies. If the user has not installed ngauge or fwctl, route to
doca-setup/SKILL.md first. If the user is asking about
hardware/firmware state changes, route to
doca-hardware-safety/SKILL.md. If the user is asking about version
compatibility, route to doca-version/SKILL.md.
How to use this skill. Read this file, then search the companion
file for the ## <name> heading the question needs and read that whole
section. Answer completely from it, quoting only its symbols and
commands. Do not browse docs; use the entry points in
doca-public-knowledge-map. Give environment checks as commands for
the user's DOCA host. For out-of-scope requests, name the skill that
owns them and stop.
The CLASSES of ngauge questions this skill is built to answer, each with one worked example. The class is the load-bearing piece; the worked example is one instance.
simple_plot.py or simple_text_plot.py.doca-setup.Load this skill when the user is — or the agent needs to — drive DOCA ngauge on a real host or BlueField Arm with ngauge installed. Concretely:
Do not load this skill for general DOCA orientation, raw packet
I/O, the comch control plane, DOCA install, version questions, or
hardware/firmware state changes. For those, route to
doca-public-knowledge-map/SKILL.md,
doca-eth/SKILL.md,
doca-comch/SKILL.md,
doca-setup/SKILL.md,
doca-version/SKILL.md, or
doca-hardware-safety/SKILL.md.
This is a thin loader. Substantive material lives in two companion files:
id, desc, unit, accumulating,
normalizer, cutoff_min, cutoff_max), HDF5 output format,
progress display semantics, sample plugins, and the safety posture
that ngauge itself is read-only probing while any step that changes
hardware or firmware state routes to doca-hardware-safety.configure (YAML setup), run (execution and Ctrl+C),
parse / plot (simple_plot.py and simple_text_plot.py), debug
(fwctl conflict, missing dependencies), plus a Command appendix
that honors the bundle's
doca-structured-tools-contract/SKILL.md
preamble.The skill assumes a host or BlueField where ngauge and fwctl are already installed and the operator has whatever privileges the public DOCA ngauge guide requires for the chosen device.
This skill is agent guidance, not a samples or scripts bundle. To keep the boundary clean, it deliberately does not contain — and pull requests should not add:
docs.nvidia.com and the
installed --help on the user's version are the joint source of
truth; copying them here pins the skill to one release and silently
rots when ngauge evolves. The skill routes the agent at those sources
instead.samples/ or reference/ subtree. This is a thin loader for
a documented DOCA artifact; substantive material lives on the public
page and in --help.configure, run, parse, debug, plus
the Command appendix — see the tasks companion.doca-setup/SKILL.md — env preparation,
install verification, fwctl driver installation and conflict
resolution, and the I have no install yet path. This skill assumes
its preconditions are satisfied.doca-version/SKILL.md — canonical DOCA
version-handling rules. The ## Version compatibility section in
the capabilities companion is a concise overlay that redirects here
for the body.doca-hardware-safety/SKILL.md —
any step that changes hardware or firmware state routes here. ngauge
itself is read-only probing, but if a workflow includes firmware
updates or device state changes, use this skill.doca-public-knowledge-map/SKILL.md
— routing to the public DOCA ngauge guide and the rest of the public
DOCA documentation set. The canonical URL is reached via
doca-public-knowledge-map ## DOCA tools
(doca-public-knowledge-map/SKILL.md#doca-tools).doca-structured-tools-contract/SKILL.md
— the bundle's detect → prefer → fall back → report contract for
structured helper tools. The Command appendix in the tasks companion
honors this contract.doca-debug/SKILL.md — the cross-cutting
debug ladder. ngauge slots in at the runtime layer as a
single-node telemetry tool whose fwctl conflict surface escalates to
the cross-cutting ladder when the cause is below DOCA.doca-eth/SKILL.md — the line-rate raw
packet I/O surface. ngauge is for hardware counter telemetry, not
packet I/O; use doca-eth when the application needs to operate on
packets directly.doca-comch/SKILL.md — the host ↔ DPU
control-plane primitive. ngauge is single-node performance telemetry,
not a control-plane channel; pair them only when coordinating a
measurement across host and DPU.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
doca, ngauge, nic-counters, hdf5, network-performance, hardware-telemetry
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