Dev & Engineering ✓ NVIDIA · Official doca-telemetryhardware-countersbluefieldconnectxc-ffipci-counters

DOCA Hardware Telemetry Counter Reader

Guides developers in reading per-domain hardware counters from BlueField and ConnectX devices.

FollowSkills review · FSRS-2.0
Use with care
60/ 100 5-point scale 3.0 / 5
Trust18 / 25 · 3.6/5

The documentation scopes the skill to local DOCA hardware-counter reads, requires capability checks and domain-specific privileges, classifies errors, and warns about the destructive effects of clear-on-read. No malicious behavior or covert exfiltration is shown. However, permission boundaries, user confirmation, rollback, and full data-flow disclosure are incomplete, and the supplied license metadata says NOASSERTION while the files claim Apache-2.0, so points are deducted.

Reliability9 / 20 · 2.3/5

SKILL.md, CAPABILITIES.md, and TASKS.md give a fairly consistent static account of the six domains, lifecycle, error taxonomy, and sample-window retries. There are no executable key-path tests, several dependencies are external or installation-specific, and the benchmark dataset is unavailable for verification. Static calibration therefore caps the score at 10 and uncertainty lowers it further.

Adaptability12 / 15 · 4.0/5

Audience, trigger phrases, non-fit scenarios, reader-versus-exporter boundaries, and the PCI capability-query exception are clearly stated. Chinese-language guidance and mainland-China reachability evidence are absent. The core function depends on local DOCA and hardware rather than an overseas service, so no core network deduction is applied, but boundary evidence remains incomplete.

Convention10 / 15 · 3.3/5

The material uses layered loader, capability, task, and reference documents and includes example questions, limitations, version routing, and issue intake. However, stable release versioning, changelog information, and explicit maintenance ownership are incomplete; generated skill-card version and signature fields remain TBD, and the benchmark records missing recommended sections, author metadata, and nonstandard file findings. Points are deducted accordingly.

Effectiveness7 / 15 · 2.3/5

The material covers domain selection, capability discovery, build, run, test, and debugging workflows and maps errors to actions. It is documentation-only and supplies no directly runnable implementation, while success depends on the user's local SDK, device, and related skills. Under static calibration, 7 is the justified ceiling.

Verifiability4 / 10 · 2.0/5

The documents expose traceable symbols, commands, paths, and error semantics, and include a benchmark report. The original dataset and independently reproducible test materials are not supplied, so the evidence does not meet the standard for multiple corroborating evidence types; only limited static verifiability is awarded.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 55f18499943e
Before you use it
  • The supplied license metadata is NOASSERTION, while the included files claim Apache-2.0 and Apache-2.0 AND CC-BY-4.0; reconcile and verify licensing before publication.
  • The benchmark report says PASS, but the raw eight-task dataset is unavailable and cannot substitute for independent reproduction.
  • Execution guidance touches real BlueField/ConnectX hardware and domain-specific privileges; verify device capabilities, version alignment, and permissions rather than defaulting to global sudo.
  • clear-on-read resets underlying counters; obtain explicit confirmation and assess impact on other readers before enabling it.
See the full review method →

What does this skill do, and when should you use it?

This skill serves developers using DOCA Telemetry reader libraries to read PCC, DPA, DIAG, ADP_RETX, PHY, or PCI hardware counters from a doca_dev. It covers capability checks, per-domain context creation, startup, sample-window configuration, snapshot reads, and error handling. It requires the DOCA SDK on Linux and a supported BlueField DPU or ConnectX NIC. It does not publish or export metrics and does not cover DOCA Telemetry Service, NetFlow, IPFIX, or local-socket collection.

Guides selection of the appropriate doca_telemetry_<domain> header and library; checks whether the device exposes a counter domain; creates and starts a per-domain context on a doca_dev; configures the sample window and reads the latest hardware-counter snapshot; explains DOCA_ERROR_* results, NOT_SUPPORTED, AGAIN, permission, and driver conditions; and supplies lifecycle and error-handling rules for C/C++ applications and FFI wrappers in other languages.

  1. A C/C++ developer reading PCC counters from a BlueField application can use the skill to select the PCC reader API and perform capability checks.
  2. A developer sampling DPA counter exports can use the per-domain context and sample-window guidance to read hardware snapshots.
  3. A network-device developer exposing PHY, PCI, or DIAG counters can query the relevant capabilities before attempting reads.
  4. A Rust, Go, or Python developer wrapping the DOCA Telemetry C ABI can use the skill to preserve the per-domain lifecycle and error rules.

What are this skill's strengths and limitations?

Pros
  • Covers six per-domain hardware-counter reader libraries.
  • Enforces capability checks before attempting domain reads.
  • Provides guidance for per-domain lifecycle, sampling windows, and read-error classification.
  • Applies to C/C++ and can guide FFI wrappers in other languages.
Limitations
  • Requires a preinstalled DOCA SDK and a BlueField DPU or ConnectX NIC.
  • Covers counter reading only, not Prometheus, OTLP, or other publishing/export workflows.
  • Excludes DOCA Telemetry Service, NetFlow, IPFIX, and local-socket collection.
  • Detailed workflows are delegated to TASKS.md and CAPABILITIES.md, whose contents were not supplied here.

How do you install this skill?

Install the named skill with the NVIDIA skills CLI:

npx skills add nvidia/skills --skill doca-telemetry --yes

This command is supported by the repository README. The skill becomes available when the agent loads a relevant task. Installing the DOCA SDK itself is outside this skill.

How do you use this skill?

On a Linux host with the DOCA SDK installed and a BlueField DPU or ConnectX NIC attached, give the agent a concrete reader request such as “read PCC counters from my BlueField app” or “sample DPA counter exports.” For configure, build, modify, run, test, or debug work, continue with TASKS.md in the skill directory; for supported counter domains, consult CAPABILITIES.md.

How does this skill compare with similar options?

For publishing or exporting counter values, use the separately named doca-telemetry-exporter skill; for plain structured stdout logging, consider doca-log; for non-DOCA counter sources, use a generic Prometheus or OpenTelemetry client; for a deployed aggregator, consider DOCA Telemetry Service.

FAQ

Does this skill install the DOCA SDK?
No. It assumes the SDK is already installed at /opt/mellanox/doca; SDK installation should be routed to doca-setup.
Must device capabilities be checked before reading?
Yes. PCC, DPA, DIAG, ADP_RETX, and PHY use domain-level capability queries, while PCI uses feature-specific capability queries.
What does AGAIN mean during a read?
In this skill’s error taxonomy, AGAIN means that the hardware-counter snapshot is not ready yet.

More skills from this repository

All from NVIDIA/skills

Dev & Engineering ✓ NVIDIA · Official

DOCA Telemetry Exporter Development

Guides DOCA applications in defining, emitting, and debugging structured telemetry for external consumers.

Automation & Ops ✓ NVIDIA · Official

DOCA PCC Diagnostic Counters

Read fixed firmware and hardware PCC congestion diagnostics on ConnectX and BlueField devices.

Dev & Engineering ✓ NVIDIA · Official

DOCA Device Management Development Skill

Programmatically manage BlueField and ConnectX state through the DOCA C API.

Dev & Engineering ✓ NVIDIA · Official

DOCA SHA OpenSSL Offload Engine

Adds DOCA SHA hardware acceleration to existing OpenSSL pipelines without rewriting the application around the doca-sha C API.

Dev & Engineering ✓ NVIDIA · Official

DOCA Flow DPA Performance

Guides defensible measurement of DOCA Flow rule-update and disable rates on DPA-capable NVIDIA hardware.

Automation & Ops ✓ NVIDIA · Official

DOCA Capabilities Inspector

Inspect what DOCA can see on a host through a read-only device and capability CLI.

Automation & Ops ✓ NVIDIA · Official

DOCA Telemetry Utils

Discover telemetry counters, translate Data IDs, and verify BlueField support before committing exporter configuration.

Dev & Engineering ✓ NVIDIA · Official

DOCA Verbs Raw RDMA Control

Guides DOCA developers who genuinely need low-level verbs control, porting, and diagnosis.

Automation & Ops ✓ NVIDIA · Official

DOCA Management Service Operations

Operate and troubleshoot NVIDIA DMS for centralized BlueField and ConnectX management.

Dev & Engineering ✓ NVIDIA · Official

DOCA GPUNetIO Development Skill

Helps developers connect CUDA kernels on NVIDIA GPUs to DOCA network queues for GPU-side packet I/O and debugging.

Automation & Ops ✓ NVIDIA · Official

DOCA Bench Benchmarking Skill

Measure DOCA library throughput, latency, and bandwidth reproducibly on real NVIDIA networking hardware.

Dev & Engineering ✓ NVIDIA · Official

DOCA Flow Performance Measurement

Guides reproducible, defensible measurements of host-side and DPU-CPU DOCA Flow control-plane rule rates.

Dev & Engineering ✓ NVIDIA · Official

DOCA Flow gRPC Remote Control

Deploy, secure, smoke-test, and troubleshoot DOCA Flow’s gRPC control plane for non-C++ clients.

Dev & Engineering ✓ NVIDIA · Official

DOCA SHA Acceleration

Guidance for offloading SHA hashing to NVIDIA BlueField and ConnectX hardware.

Dev & Engineering ✓ NVIDIA · Official

DOCA Compress Hardware Offload

Guides hands-on DEFLATE and LZ4 decompression development and debugging on BlueField and ConnectX platforms.

Dev & Engineering ✓ NVIDIA · Official

DOCA AES-GCM Acceleration

Configure, validate, and debug DOCA AES-GCM offload on BlueField DPUs and ConnectX NICs.

Dev & Engineering ✓ NVIDIA · Official

DOCA Ethernet Queue Development

Develop and debug DOCA Ethernet RX/TX queues on BlueField DPUs and ConnectX NICs.

Dev & Engineering ✓ NVIDIA · Official

DOCA Arg Parser CLI

Guides developers in building and debugging standard CLIs for DOCA applications.

Dev & Engineering ✓ NVIDIA · Official

DOCA DMA Development Guide

Guides hands-on DOCA DMA memory-copy development on BlueField and ConnectX systems.

Dev & Engineering ✓ NVIDIA · Official

DOCA Flow Tune

Guides engineers through snapshotting, analyzing, and optimizing live or captured DOCA Flow pipelines.

Related skills