·
Last changedVersion:
This version passed the hardening gate. Hardening applied 30 targeted changes and preserved all other text. Classified findings before hardening: 7. Classified findings closed: 1. Classified findings remaining: 6. Unclassified scanner findings remaining: 0. Review findings closed: 15. Review findings remaining: 1.
1
6
1
5
Expand | File | Group | Subtype | Severity | Status |
|---|---|---|---|---|---|
BENCHMARK.md | Sensitive Data & Secret Exposure | Agent snooping | Medium | Open | |
SKILL.md | Malicious Code & Command Execution | — | Low | Open | |
SKILL.md | Supply Chain & Install-Time Trust | Install-time download and execute | Low | Open | |
CAPABILITIES.md | Prompt Injection | Indirect prompt injection | Low | Open | |
CAPABILITIES.md | Supply Chain & Install-Time Trust | Install-time download and execute | Low | Open | |
TASKS.md | Excessive Agency & Rogue Autonomy | — | Low | Closed | |
CAPABILITIES.md | Malicious Code & Command Execution | — | Low | Open |
7 findings
Follow Loading order below. Open TASKS.md for detect / validate / diagnose, and CAPABILITIES.md for the four-way match and NGC tag rules. Do not open every companion file.
Where to start: This skill is the bundle's reference for DOCA version handling. Open TASKS.md if the user wants to do something with the version (detect / validate / diagnose mismatch); open CAPABILITIES.md when the question is what does version handling cover (the four-way match, the detection chain, NGC semantics, the per-library overlay pattern). Other skills in the bundle that touch version are recommended to rely on this skill rather than restating its 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
the Version compatibility section of CAPABILITIES.md
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
CAPABILITIES.md#safety-policy
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
the apt-source consistency section of TASKS.md,
which enumerates the three legitimate shapes of a configured
DOCA apt source (network URL, local file-repo, RHEL/OEL
equivalent) and the do-not-install-until-the-source-matches
rule that protects pinned installs from accidental drift.Load this skill whenever version handling is the load-bearing
concern. The activation checklist below mirrors the optional bundle
AGENTS.md#cross-cutting-overlay-activation-triggers guidance; when
that file is absent, this checklist is the full activation guidance.
| 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 |
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 |
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.md#capabilities-and-modes.pkg-config --modversion doca-common, (b) cat /opt/mellanox/doca/applications/VERSION, (c) doca_caps --version, and (on BlueField hosts) (d) the BFB-image version MUST match within a release. Any disagreement means the install is partial; the fix is to reinstall consistently, NOT a code change."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.For an upgrade / downgrade plan or a BFB refresh, this skill produces plans and compatibility checks only. The user performs any change through doca-setup (or doca-hardware-safety for firmware) after a warning about disruption to running DOCA workloads and after explicit confirmation.
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", it is recommended that the step cite this skill's four-source detection chain and four-way match rule rather than restating them. This routing is advisory guidance scoped to this skill.
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, or another file the user names, after the user sees and
confirms the diff), run (runtime check), test (four-way validation +
capability-availability lookup), debug (diagnose mismatch / partial
install). Plus a Deferred task verbs block.Workflows in CAPABILITIES.md and TASKS.md default to read-only inspection. Any file write needs the user's explicit confirmation of the shown diff first.
doca-structured-tools-contract/SKILL.md —
the JSON schemas for optional helper tools. Prefer such a helper
only when it is a reviewed, read-only tool the user or site has
approved; otherwise use the four-source commands. This file is
optional; when it is absent, use the per-library docs via
doca-public-knowledge-map/SKILL.md and the four-source commands. 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.Get started with chainctlchainctl skill install public/nvidia/doca-version:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.chainreg.biz/public/github.com/nvidia/skills/doca-version:latest
Apache-2.0
BENCHMARK.md
CAPABILITIES.md
HARDENING.md
SKILL.md
TASKS.md
evals/evals.json
skill-card.md
skill.oms.sig