doca-hardware-safety
Installation
SKILL.md
DOCA hardware safety
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.
Examples
- "Enable SR-IOV and reboot." — this is in scope. Inventory first, require out-of-band reachability, a maintenance window, replica rehearsal, then apply.
- A pre-flight source is missing (no
bfver, no/etc/mlnx-release). Record it as unknown, finish the read-only capture (flint -d <bdf> q,mlxconfig -d <bdf> q, link state), then stop before the write and say which item is still missing. - "Flip BlueField mode over SSH." — refuse if the host has no out-of-band path. A link-breaking change without BMC / RShim / console is a hard stop.