What problem does it solve?
DOCA installs can silently drift: build-time headers, runtime libraries, install-tree files, and BlueField BFB images may come from different releases, causing confusing failures like programs that build fine but do nothing on the wire. This Skill gives agents a canonical detection chain and four-way match rule to detect the installed DOCA release, validate consistency, and diagnose version drift instead of guessing versions from memory.
Core Features & Use Cases
- Four-source version detection: Walks pkg-config doca-common, /opt/mellanox/doca/applications/VERSION, doca_caps --version, and bfver plus /etc/mlnx-release on BlueField hosts, with a structured doca-env --json shortcut when available.
- Partial-install and drift diagnosis: Maps symptoms like DOCA_ERROR_NOT_SUPPORTED at runtime or missing pkg-config modules to specific version-mismatch root causes and routes fixes to the right skill.
- Capability availability lookup: Checks whether a DOCA capability exists on the installed release via a version-matrix lookup with fallback to per-library documentation.
- Use Case: A user reports their DOCA program compiled successfully but fails at runtime. The agent runs the four-source chain, finds pkg-config reports 3.3.0 while doca_caps reports 3.2.0, identifies a build-vs-runtime partial install, and routes to a consistent reinstall.
Quick Start
Ask the agent what DOCA version is installed on this host and whether the install is consistent across all sources.