Generated banner for Doca Upgrade
Generated logo for Doca Upgrade

Doca Upgrade

NVIDIAOfficialCreated by NVIDIA

  • Skill
  • Workflow
  • Software development
  • Apache-2.0
  • Medium risk

From the author

Changing DOCA versions safely: upgrading or downgrading the host DOCA packages, refreshing the BlueField BFB, bumping the NGC DOCA container tag, or rolling back, with the discipline detect -> report -> ASK -> only then a guided upgrade. Trigger on "is there a newer DOCA", "I want the newest DOCA features, can I just apt upgrade in place", "should I move to the next release", "the upgrade stopped midway and dpkg is in a broken state", "my component is being deprecated, what now", or "roll me back", even without the word upgrade. Detect what is installed, find the newer release, report the gap, then STOP and ask for explicit confirmation; never upgrade automatically. Do not use it for a runtime error on an unchanged install (doca-debug). Version detection alone belongs to doca-version, first-time install to doca-setup, any hardware / firmware / reboot step to doca-hardware-safety, and public-docs or sunset routing to doca-public-knowledge-map.
— the description by NVIDIA

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The doca-upgrade skill provides a structured, safety-first approach to managing DOCA software versions. It enforces a strict detect-report-ask-act workflow to prevent accidental or broken upgrades. The skill covers host package upgrades, BlueField BFB refreshes, and container tag updates. It is designed to handle planned version transitions as well as recovery from failed or partial upgrades, ensuring that all hardware-related safety steps are delegated to appropriate specialized skills.

What it does

  • Detects currently installed DOCA versions across host and DPU components.
  • Reports the version gap between the current install and the target release.
  • Enforces a mandatory confirmation gate before executing any upgrade commands.
  • Provides a recovery ladder for interrupted or failed package installations.
  • Routes hardware, firmware, and reboot requirements to the dedicated safety skill.
  • Identifies if components are on a deprecation or sunset track.

When to use it

  • When you need to upgrade or downgrade your DOCA software environment.
  • When an upgrade was interrupted and left the system in a broken state.
  • When you need to verify if a newer DOCA release is available for your setup.
  • When you need to update NGC DOCA container tags.
  • When you suspect your DOCA packages have drifted due to system-wide updates.

Advantages

  • Prevents accidental system breakage by requiring explicit user confirmation.
  • Standardizes the upgrade process across different DOCA deployment types.
  • Provides clear recovery paths for common upgrade failure scenarios.
  • Maintains system integrity by delegating hardware-sensitive tasks to safety-focused modules.

Usage examples

“Should I move to the next DOCA release?”
The agent will detect your current version, report the available target release, explain the gap, and stop to wait for your explicit confirmation.
“The upgrade aborted half-way and dpkg is in a broken state.”
The agent will diagnose the partial upgrade, identify the interrupted transaction, and guide you through the recovery ladder to stabilize the package database.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/nvidia/doca-upgrade/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip doca-upgrade.zip -d .agents/skills

Documentation by NVIDIA

DOCA upgrade

Examples

  • "Should I move to the next DOCA release?" — detect what is installed, report the gap, then STOP and ask. Never auto-upgrade.

  • "apt upgrade drifted my DOCA packages." — this is recovery, not a silent repair. Detect, report, ask, then guide.

Quick answers (answer from this file)

  • Not changing versions (a runtime error on the current, pinned install)? This skill does not apply: name doca-debug and stop.

These two answers are complete here; open TASKS.md only for a guided upgrade after the user confirms. Run only the read-only detection commands yourself. Package commands (sudo dpkg, apt, apt-get) need root and change the system: give them to the user to run and stop; in an agent shell sudo waits for a password and the session stalls.

  • "Can I just apt upgrade to the next DOCA?" Never upgrade automatically. Detect the installed release with the doca-version four-source chain (pkg-config --modversion doca-common, cat /opt/mellanox/doca/applications/VERSION, doca_caps --version, and the BFB version on BlueField), report the gap to the target release, then STOP and ask for explicit confirmation. BFB, firmware or reboot steps follow doca-hardware-safety.

  • "The upgrade aborted half-way and dpkg reports an interrupted transaction." Recover the package database first: after the user explicitly confirms (both commands change system package state), the user runs sudo dpkg --configure -a, then sudo apt-get -f install (Debian/Ubuntu). Do not re-run the upgrade as the first action; re-detect the release with doca-version before deciding the next step.

Instructions

Follow Loading order below. Open the tasks companion for detect → report → ASK → guided upgrade. Open the capabilities companion for the upgrade-mode taxonomy and refuse-auto-upgrade rule. Do not open every companion file.

Where to start: This skill is the bundle's single source of truth for the discipline that wraps a DOCA upgrade or downgrade. Open the tasks companion when the user wants to do something with an upgrade (detect the gap, ask for confirmation, walk the guided upgrade, verify it, or diagnose a failed one); open the capabilities companion when the question is what does an upgrade even cover (the host apt-upgrade vs BFB reflash vs container-tag bump vs downgrade/rollback modes, the never-auto rule, the confirmation gate, the sunset-awareness concern, the error taxonomy, and the upgrade-specific safety overlay).

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.

For a planned move, the single most important rule this skill exists to enforce is detect → report → ASK → only-then guided upgrade. Never upgrade automatically. The skill detects the installed DOCA env and what newer release is available, reports the gap clearly, then STOPS and asks the user for explicit confirmation. Only on an explicit "yes" does it walk a guided upgrade. A failed or partial move instead enters the recovery ladder without presenting a new target move. In both paths every hardware / firmware / reboot step is delegated to doca-hardware-safety/SKILL.md, never redefined here. Version detection itself is owned by doca-version/SKILL.md; this skill routes there and does not restate the detection chain.

Example questions this skill answers well

The CLASSES of upgrade 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.

  • "Is there a newer DOCA than what I have, and how far behind am I?" — worked example: "pkg-config --modversion doca-common says <installed X.Y.Z>; what's current and what does moving cost me?". Answered by the detect-and-report-the-gap workflow in

    configure, which routes the

    detection to doca-version/SKILL.md and the what is current lookup to doca-public-knowledge-map/SKILL.md.

  • "Should I just run apt upgrade to move to the next DOCA release?" — worked example: "I want the newest Flow features; can I upgrade in place right now?". Answered by the never-auto rule and the confirmation gate in

    Safety policy

    plus the ask-before-acting step in

    run — the agent reports the gap and

    STOPS for explicit confirmation before any upgrade command runs.

  • "My upgrade left the host on a different release than the BlueField — what happened?" — worked example: "after the upgrade pkg-config reports the new release but bfver still reports the old one". Answered by the host/BFB-skew row in

    Error taxonomy

    and the failed-upgrade diagnosis in

    debug, which re-routes the

    detection to doca-version ## test.

  • "The upgrade aborted half-way and now dpkg is wedged — how do I recover?" — worked example: "apt upgrade was interrupted; dpkg reports an interrupted transaction". Answered by the partial-upgrade and aborted-transaction rows in

    Error taxonomy

    plus the recovery ladder in ## debug.

  • "The upgrade needs me to reflash the BFB / flip BlueField mode / reboot — is that safe?" — worked example: "the target release requires a new BFB; can I reflash now?". Answered by routing every hardware / firmware / reboot step to doca-hardware-safety/SKILL.md via

    run; this skill never redefines the

    reflash, mode-flip, or cold-power-cycle discipline.

  • "My installed component is being sunset — should I keep building on it or move?" — worked example: "I rely on DOCA App Shield / the DOCA Flow Inspector service; are they on a deprecation track?". Answered by the sunset / deprecation awareness concern in

    Capabilities and modes,

    which routes the user to the public release notes via doca-public-knowledge-map/SKILL.md to confirm lifecycle status rather than recommending continued investment in a component that may be sunsetting.

When to load this skill

Load this skill whenever an upgrade or downgrade of DOCA is the load-bearing concern — the user is asking whether a newer release exists, whether to move to it, how to move safely, or how to recover a move that went wrong. The decision must be made before the agent composes its first sentence; the activation checklist below is mirrored here so the activation rule is at hand whenever this skill is consulted. For a planned upgrade or downgrade, it reports the gap and then STOPS for explicit user confirmation. For a failed or partial upgrade, it enters ## debug first to capture and stabilize the current state; it never uses another upgrade command as the first recovery action, retries the move, or issues a new upgrade command without explicit confirmation.

Agent activation checklist — load this skill at the START of the answer when any cell below is true

Trigger classConcrete prompt-side signals (any one fires the overlay)
Upgrade / downgrade intent"is there a newer DOCA", "should I move to the next release", "upgrade me to the latest", "roll me back to the previous DOCA", "downgrade to 3.1 for a bug repro"
Accidental / drifted upgrade"apt upgrade pulled a newer DOCA point release and broke my build", "my host and BlueField are on different releases now", *"the source channel is latest and I didn't mean to move" *
Failed / partial upgrade"the upgrade aborted half-way", "dpkg is wedged after an interrupted transaction", "upgrade finished but the four-way match no longer holds"
Container tag bumpthe user wants to move an NGC DOCA container deployment from one tag to a newer one, or asks whether bumping the tag is an upgrade
Sunset / deprecation awarenessthe user asks whether the component they depend on is deprecated, being sunset, or worth continued investment

First classify the request. A planned move (including a requested rollback) follows detect → report → ASK. A failed, partial, or accidentally drifted move is already a diagnosis/recovery request: load this skill, capture the current four-source state, and enter TASKS.md ## debug; do not ask for permission to perform an upgrade that has already failed, and do not issue another upgrade command as the first recovery action.

For a planned move, the agent MUST:

  1. Route planned-upgrade version detection to doca-version ## configure. For failed or partial upgrades, start with doca-version ## debug and

    debug. Do NOT restate the

    four-source detection chain here; this skill consumes the detected state and four-way match status.

  2. Report the gap and STOP for explicit confirmation. Present the installed release, the available target release, and what moving costs (per

    Version compatibility),

    then ask the user to confirm. Do NOT proceed to any upgrade command until the user explicitly says yes.

  3. Route every hardware / firmware / reboot step to doca-hardware-safety/SKILL.md. This skill names when such a step is part of the upgrade; that skill names how it is applied safely.

For a failed/partial move, the agent MUST instead classify the captured state against CAPABILITIES.md ## Error taxonomy, delegate the single documented corrective action, and re-enter the recovery ladder. Any unsupported installed → target jump fails closed: do not improvise intermediate releases or commands; require an upgrade path explicitly documented by the Compatibility Policy or release notes.

Do not load this skill for first-time install (use doca-setup/SKILL.md), for the version-detection chain in isolation (use doca-version/SKILL.md), or for general orientation (use doca-public-knowledge-map/SKILL.md).

What this skill provides

This is a thin loader. The body keeps only the orientation needed to pick the right next file. The substantive upgrade material lives in two companion files:

  • the capabilities companion — the upgrade surface: the upgrade-mode taxonomy (host apt upgrade vs BFB reflash vs container-tag bump vs downgrade/rollback), the never-auto rule and the confirmation gate, the sunset / deprecation-awareness concern, the version-compatibility overlay that redirects to doca-version, the error taxonomy (partial upgrade, apt-source drift, host/BFB skew, aborted transaction / dpkg interrupted), the observability surface (which commands prove the upgrade did or did not happen), and the upgrade-specific safety overlay on top of doca-hardware-safety.

  • the tasks companion — step-by-step workflows for the in-scope verbs: configure (detect + discover target + apt-source precheck), build and modify (routing stubs — the version-pin change is owned elsewhere), run (the confirmation-gated guided upgrade), test (post-upgrade four-way verification), debug (diagnose a failed / partial upgrade), plus a Deferred task verbs block.

Loading order

  1. Read this skill first to confirm the user's question is in scope (an upgrade / downgrade is being contemplated or recovered).

  2. For the upgrade-mode taxonomy, the never-auto rule, the sunset-awareness concern, the error taxonomy, observability, and the safety overlay, see the capabilities companion.

  3. For step-by-step workflows — detect-and-report, the confirmation-gated guided upgrade, post-upgrade verification, and failed-upgrade diagnosis — see the tasks companion.

  • doca-version/SKILL.md — owns the four-source detection chain and the four-way match rule. This skill's detect step routes there and does not redefine version detection; the gap report consumes the detected version.

  • doca-setup/SKILL.md — owns first-time install, install verification, and the apt-source path. This skill's apt-source consistency precheck cross-links there before any apt-shaped upgrade is contemplated.

  • doca-hardware-safety/SKILL.md — owns every hardware / firmware / reboot step (mlxconfig, BFB reflash, BlueField mode flip, cold power cycle). This skill's ## Safety policy overlays that meta-policy and adds only the upgrade-specific surface (confirmation gate, rollback-first, maintenance window).

  • doca-public-knowledge-map/SKILL.md — the routing table to public DOCA docs, including the release notes and the Compatibility Policy. This skill routes what is the current release and is this component sunsetting there; it does not duplicate the routing.

  • doca-debug/SKILL.md — the cross-cutting debug ladder. A failed upgrade whose residual symptom lives at a software layer hands off there once the upgrade state is known.

  • doca-programming-guide/SKILL.md — the build pattern a consumer rebuilds against after an upgrade. This skill surfaces that a rebuild may be needed; the build mechanics live there.

  • doca-structured-tools-contract/SKILL.md — the JSON schemas the agent prefers when present; the upgrade detect step reuses the same doca-env one-shot the version skill uses, when the host has it.

Files

CAPABILITIES.md

DOCA upgrade — capabilities, version compatibility, errors, observability, safety

Where to start: Pick the H2 anchor that matches your question (what an upgrade covers / how the target release is chosen / which failure modes to recognize / how to prove the upgrade happened / the upgrade-specific safety overlay) and read that section end-to-end. The tables in each section are the load-bearing content; the prose is interpretation.

Read this file when the loader sent you here from SKILL.md. For the how of executing each workflow, jump to TASKS.md. The version-detection chain this skill consumes is owned by doca-version/SKILL.md; the hardware / firmware / reboot discipline this skill delegates to is owned by doca-hardware-safety/SKILL.md.

Pattern overview

Every planned-upgrade question resolves into detect what is installed → report the gap to the target → ASK for explicit confirmation → only then walk a guided upgrade. A failed/partial upgrade instead resolves into capture the current state → classify the failure → apply one documented corrective action → re-verify or rollback/escalate. The patterns are CLASSES — they apply across every DOCA release, every upgrade mode, and every host kind.

Upgrade patternClass shapeWhere the substance lives
1. Detect + discover the gapRead the installed version (via doca-version) and the available target release (via the public release notes) and state the delta## Capabilities and modes + TASKS.md ## configure
2. Report + confirmPresent installed, target, and cost; STOP; obtain explicit user confirmation before any command runs## Safety policy confirmation gate + TASKS.md ## run
3. Walk the guided upgradeExecute the mode-appropriate steps; delegate every hardware / firmware / reboot step to doca-hardware-safety## Capabilities and modes mode table + TASKS.md ## run
4. Verify the upgrade landedRe-run the four-way match (via doca-version) and prove the new version is what is loaded## Observability + TASKS.md ## test
5. Diagnose a failed / partial upgradeMap the symptom (partial upgrade, source drift, host/BFB skew, aborted transaction) to a recovery action## Error taxonomy + TASKS.md ## debug

Two cross-cutting rules that apply to every pattern above:

  • Never upgrade automatically. The agent detects and reports; the user decides. No upgrade command runs until the user has seen the gap report and explicitly confirmed (see ## Safety policy).

  • Surface sunset / deprecation status before recommending more investment. When the gap report touches a component that may be on a deprecation track, route the user to the public release notes to confirm lifecycle status rather than recommending continued investment.

Capabilities and modes

An "upgrade" is not one operation. The agent identifies which upgrade mode the user is in before reporting the gap, because the mode determines the steps, the rollback shape, and which hardware-touching steps (if any) are delegated to doca-hardware-safety/SKILL.md.

Upgrade modeWhat movesWhat it touchesWho owns the touching step
Host apt upgradeThe host-side DOCA packages (doca-common, the per-tool packages, doca-host) move to a newer releaseUserspace packages; may pull a new kernel module / DKMS / OFED stepThe apt-source path is owned by doca-setup ## configure (doca-setup/TASKS.md#configure); the precheck is doca-version ## apt-source consistency (doca-version/TASKS.md#apt-source-consistency)
BFB reflashThe BlueField OS image and DPU-side DOCA install move to a newer BFBThe BlueField OS image, the DPU PCIe surface, every hosted service container; a link-breaking, reboot-class changeDelegated entirely to doca-hardware-safety ## modify (doca-hardware-safety/TASKS.md#modify); never redefined here
Container image tag bumpAn NGC DOCA container deployment moves from one tag to a newer oneThe container image only; the host packages and BFB are independent anchorsThe tag-selection rule is owned by doca-setup/SKILL.md; the version inside the new tag is verified via doca-version ## test (doca-version/TASKS.md#test)
Downgrade / rollbackThe host packages, BFB, or container tag move back to a prior release (e.g. for a bug repro or a regression rollback)The same surfaces as the forward modes, in reverseSame delegation as the forward mode; the rollback discipline overlays doca-hardware-safety ## debug (doca-hardware-safety/TASKS.md#debug)

The agent's rule: identify the mode, then report the gap for that mode. A host apt upgrade and a BFB reflash are different changes with different blast radii even when they move the same release number; the agent does not conflate them.

Sunset / deprecation awareness

When the agent detects what is installed, part of the gap report is checking whether an installed component is on a deprecation / sunset track. DOCA App Shield and the DOCA Flow Inspector service (both outside this bundle's scope; see AGENTS.md ## Non-goals (bundle AGENTS.md#non-goals-questions-the-agent-should-recognize-and-refuse-politely) item 7) are worked examples to watch on this front. The discipline is:

  • Treat a possible sunset as a finding to surface, not a fact to assert from memory. The authoritative statement of a component's lifecycle status is the public release notes, reached via doca-public-knowledge-map ## Public documentation entry points (doca-public-knowledge-map/SKILL.md#public-documentation-entry-points) (DOCA Release Notes) — the agent routes the user there to confirm.

  • When a component does appear to be sunsetting, the agent does NOT recommend continued investment in it as part of an upgrade. It surfaces the sunset status, points at the public migration / docs path via doca-public-knowledge-map/SKILL.md, and lets the user decide whether to upgrade-in-place or migrate.

  • This is class-shaped: DOCA App Shield and the Flow Inspector service are the worked examples, but the discipline applies to any component whose release notes mark it deprecated.

Version compatibility

For the canonical DOCA version-detection chain, the four-way match rule, NGC container semantics, and the headers-win-over-docs rule, see doca-version/SKILL.md. The body lives there; this skill does not duplicate it.

The upgrade overlay is:

  • The gap is installed → target. The installed version comes from the four-source chain in doca-version ## Capabilities and modes (doca-version/CAPABILITIES.md#capabilities-and-modes); the target release is the one the user wants, confirmed against the public release notes — never a version string from agent memory.

  • The target must be a supported pairing. Before recommending a move, the agent confirms the installed → target jump is inside the window NVIDIA documents in the DOCA Compatibility Policy (cited once via doca-version ## Version compatibility (doca-version/CAPABILITIES.md#version-compatibility)). If the target is outside that documented window, or the policy and target release notes do not document the exact requested jump, report it as unsupported and STOP; do not recommend or execute the move or synthesize an intermediate-release ladder. Route the user through doca-public-knowledge-map to the release-matched policy and ask for a documented supported path, or keep the current release in place.

  • Host, BFB, firmware, and container tag are independent anchors. An upgrade that moves one anchor must bring the others into a supported pairing; a move that leaves them skewed is a failed upgrade, caught by the post-upgrade four-way match in ## Observability.

  • Never quote a version literal from memory. The version-handling anti-hallucination rules in doca-version ## Safety policy (doca-version/CAPABILITIES.md#safety-policy) apply here without modification.

Error taxonomy

The upgrade-level failure modes the agent should recognize and disambiguate before continuing. For the cross-library DOCA_ERROR_* taxonomy itself, see doca-programming-guide CAPABILITIES.md ## Error taxonomy (doca-programming-guide/CAPABILITIES.md#error-taxonomy); the rows below are the upgrade-level causes that bubble up as those errors.

SymptomMost-likely upgrade causeFirst action
Some DOCA packages moved to the target release; others did notPartial upgrade — the package set converged unevenly (a held package, a missing per-tool package, or an interrupted run)Re-detect the four sources per doca-version ## debug (doca-version/TASKS.md#debug); converge the package set on one release before any other diagnosis
apt-cache policy doca-common shows a Candidate from a different release than what is installedApt-source drift — the configured source channel disagrees with the installed releaseReconcile the apt source first per doca-version ## apt-source consistency (doca-version/TASKS.md#apt-source-consistency); do not upgrade until the source matches the intended target
After the upgrade, pkg-config/doca_caps report the new release but bfver still reports the old BFBHost/BFB version skew post-upgrade — the host moved but the BFB did notThe BFB reflash is the missing step; route it to doca-hardware-safety ## modify (doca-hardware-safety/TASKS.md#modify), and re-verify per doca-version ## test (doca-version/TASKS.md#test)
dpkg reports an interrupted / half-configured transaction; further apt invocations refuse to proceedAborted transaction / dpkg interrupted — the upgrade run was interrupted mid-flightRecover the package database (sudo dpkg --configure -a, then sudo apt-get -f install) before retrying; see TASKS.md ## debug for the recovery ladder
Upgrade completed but the program now returns DOCA_ERROR_NOT_SUPPORTED / builds against a symbol the runtime lacksBuild/runtime skew after upgrade — the runtime *.so and the headers/pkg-config are now from different releasesSame partial-install diagnosis owned by doca-version ## debug (doca-version/TASKS.md#debug); reconverge, do not patch around in code
Downgrade left the host on the older release but a co-tenant workload now failsRollback blast radius — the downgrade affected shared host stateTreat the rollback with the same discipline as the forward move; route any hardware-touching rollback step to doca-hardware-safety ## debug (doca-hardware-safety/TASKS.md#debug)

Observability

The upgrade observability surface is the set of commands that prove whether the upgrade did or did not happen. There is no DOCA "upgrade counter"; the visibility comes from comparing the version state before and after against the sources doca-version/SKILL.md owns. The agent reads the same chain before the upgrade (to establish the baseline) and after (to prove the move).

PhaseSignalWhat it tells the agent
Pre-upgradeThe four-source detection chain + four-way match status, captured per doca-version ## configure (doca-version/TASKS.md#configure)The baseline the post-upgrade state is compared against; without it the agent cannot prove the move happened
Pre-upgradeapt-cache policy <pkg> / the configured apt source channelWhether the host will resolve to the intended target before any command runs; the apt-source precheck owns this
Post-upgradeThe same four-source chain re-read, plus the four-way match per doca-version ## test (doca-version/TASKS.md#test)Whether the install converged on the target release and is internally consistent; a partial result is a failed upgrade
Post-upgradeThe BFB version (bfver) on BlueField hostsWhether the BFB moved in step with the host packages, or is now skewed
Post-upgradeThe structured one-shot doca-env --json version.consistent field when present, per doca-structured-tools-contract ## Schemas (doca-structured-tools-contract/SKILL.md#schemas)The four-way match pre-computed in one read; prefer it when the host has the helper

The agent prefers the structured one-shot when present and falls back to the manual chain doca-version documents otherwise. The load-bearing rule: prove the upgrade with the same sources before and after; a claim that the upgrade "worked" without a post-upgrade four-way match is not evidence.

Safety policy

This skill's safety surface is the confirmation gate on top of the hardware-safety meta-policy. For the cross-cutting discipline that wraps any hardware / firmware / reboot step — pre-flight inventory, out-of-band access, maintenance window, replica-first validation, rollback discipline, refuse-and-escalate — see doca-hardware-safety ## Safety policy (doca-hardware-safety/CAPABILITIES.md#safety-policy). The body lives there; this skill does not redefine it.

The upgrade-specific overlay is:

  • Confirmation gate (never auto-upgrade). The agent reports the installed → target gap and STOPS. No upgrade command runs until the user has seen the report and explicitly confirmed. "Should I upgrade?" is answered with the gap and a request to confirm, never with an upgrade command issued on the user's behalf.

  • Rollback-first. Before the guided upgrade begins, the agent confirms a rollback path exists for the chosen mode (reinstall the prior release, reflash the prior BFB, redeploy the prior container tag) and that the prior version anchors are captured — the same documented-and-rehearsed rollback rule the hardware-safety meta-policy requires for any hardware-touching step. Viability means the prior artifact is identified by an immutable version/tag and is available through the release-matched documented source: the package manager can resolve the prior host package set, the prior BFB plus its published checksum is locally available or retrievable and has an OOB restore path, or the prior container tag resolves and the prior config is saved. Record the exact rollback artifact and verification command. If any required artifact, checksum, config snapshot, or recovery path is unavailable, STOP; a conceptual rollback is not a rollback path.

  • Maintenance window when disruptive. An explicit, time-boxed maintenance window with stakeholders notified is mandatory when the target carries real workload, when the move disrupts a shared service, and for every BFB reflash or reboot-class step. A non-disruptive move on an idle, dedicated non-production target does not require a fictional stakeholder window; record that the target is isolated and why no window is needed.

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

The author says: No DOCA install required to read this skill (it is a cross-cutting overlay loaded against any DOCA artifact skill); the detection, gap-report, and guided-upgrade steps within DO require a live DOCA install at /opt/mellanox/doca, and the hardware / firmware / reboot steps require a BlueField DPU or ConnectX NIC plus out-of-band console reachability as gated by doca-hardware-safety.

Security

What our scanner noticed· Medium risk

  • Phrasing that asks for actions without confirmation
  • Large base64-encoded blobs

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
NVIDIA
Publisher
NVIDIA (Official)
Source
NVIDIA/skills · skills/doca-upgrade · commit fce3cca
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE-APACHE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by NVIDIA.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download doca-upgrade.zip