Skip to content
Development
Skill

/doca-flow-tune

Use this skill when the user is tuning a live or captured `doca-flow` pipeline with `doca_flow_tune` — snapshotting pipe / counter / KPI state, picking a tuning axis (rule placement, resource hints / table sizing, HW-offload mode) and a matching measurement (rule-install rate,

From plugin
skills
3.8k200 skills

Claude Code

$ npx -y skills add NVIDIA/skills --skill doca-flow-tune --agent claude-code

SKILL.md

doca-flow-tune.SKILL.md
license: Apache-2.0
name: doca-flow-tune
description: >
  Use this skill when the user is tuning a live or captured `doca-flow`
  pipeline with `doca_flow_tune` — snapshotting pipe / counter / KPI
  state, picking a tuning axis (rule placement, resource hints / table
  sizing, HW-offload mode) and a matching measurement (rule-install
  rate, lookup latency, hardware-counter delta), running offline or
  online (read-only or state-changing) modes, reading the dumper CSV /
  analyze JSON / visualize mermaid, or applying a recommendation back
  into the Flow program. Trigger even when the user does not explicitly
  mention "doca_flow_tune" — typical implicit phrasings include "Flow
  rule-install rate is low on BlueField", "table sizing looks wrong for
  this pipe", "tune visualize step is empty", "before/after counters
  don't move", or "which doca-flow knob does this recommendation hit".
  Refuse and route elsewhere for writing the doca-flow
  application, DOCA install, or streaming Flow telemetry — those belong
  to other skills.
metadata:
  author: NVIDIA <doca-feedback@nvidia.com>
  kind: tool
  doca_version: "3.5"
  tags:
    - doca
    - flow
    - tune
compatibility: >
  Requires DOCA SDK installed at /opt/mellanox/doca on Linux (Ubuntu
  22.04/24.04 or RHEL/SLES) with a BlueField DPU or ConnectX NIC
  attached, plus a running or captured `doca-flow` application to
  observe. Reads the user's local install via `pkg-config doca-flow` and
  the installed `/opt/mellanox/doca/tools/doca_flow_tune`. The validation steps require a live DOCA
  install.

DOCA Flow Tune (`doca_flow_tune`)

Examples

  • **"Flow rule-install rate is low on BlueField."** — this is

in scope. Capture a monitor-mode baseline, then pick one tuning axis.

  • **"Tune visualize step is empty."** — check the dumper JSON/CSV /

analyze JSON before changing the Flow program.

Instructions

Follow Loading order below. Open the tasks companion for configure / tune / debug. Open the capabilities companion for online vs offline modes. Do not open every companion file.

> **Command surface (DOCA 3.5 public Flow Tune guide).** > `doca_flow_tune` is a single binary whose **role on a given > invocation is determined by which of three top-level > commands** the user picks — `monitor`, `analyze`, > `visualize` (confirm with `--help` on the installed > version); use only the commands the public guide and the > installed `--help` list. > Counter dumping is part of `monitor` (`--enable-dump`, or the > `background` sub-command for dumping without screen output), > not a separate command; `analyze` accepts the `export` and > `packet-trace` sub-commands (hyphenated). `monitor` and > `analyze` run the binary in **server-attached online mode** > against a live `doca-flow` application reached over a Unix- > domain socket whose path lives in `network.server_uds` of the > JSON configuration file; `visualize` (and offline > analysis of a previously exported pipeline file) runs in > **offline / captured-snapshot mode** against JSON / CSV files > the online commands previously dropped into the > configured `outputs_directory`. The rest of this skill (and > the capabilities companion / the tasks companion) > uses the legacy *"server role / online mode / offline mode"* > framing — that framing is internally consistent with the > command surface here: *server role* = a server-attached > online command (`monitor`, `analyze export` / `analyze > packet-trace`); *online mode* = any of those; *offline mode* = > `visualize` over captured files. Treat the command name as the > primary handle; treat *server/online/offline* as the > downstream behavioral consequence of the subcommand pick.

**Where to start:** This is a tool skill for invoking `doca_flow_tune`, the unified DOCA Flow tuning tool. Open the tasks companion and start at `## configure` to commit to the three-axis decision (target Flow pipeline × tuning axis × measurement) and pick offline vs online vs server-attach mode, then `## run` for the snapshot → analyze → visualize loop, then `## test` for the smoke-before-bulk overlay that gates any state-changing application of a tuning recommendation back into the Flow application's code. Open the capabilities companion when the question is *what state `doca_flow_tune` can observe and recommend on*, *how its server / client roles fit inside the single artifact*, *which DOCA version the tool ships in*, or *how to interpret the dumper / monitor / analyze / visualize outputs without fooling yourself*. If DOCA is not installed, route to `doca-setup/SKILL.md` first; if the user has no running `doca-flow` application yet, route to `doca-flow/SKILL.md` — flow-tune does not create pipes, it observes and recommends on top of pipes the library already created.

Example questions this skill answers well

The CLASSES of `doca_flow_tune` questions this skill is built to answer, each with one worked example. The class is the load-bearing piece; the worked example is one instance.

  • **"Do I measure first or tune first?"** — worked example: *"my

doca-flow service runs on a BlueField-3 and I think the rule-install rate is below what the device can sustain"*. Answered by the *measure, then tune* rule in the capabilities companion: a monitor-mode baseline, one tuning axis, then a monitor-mode re-capture on the same axis.

  • **"Capture a snapshot of a live `doca-flow` pipeline's hardware

and software counters without touching the dataplane."** — worked example: *"I want a side-effect-free dumper / monitor run against the running Flow ports for an operations-rate profile"*. Answered by the snapshot flow in the tasks companion plus the read-only-by-default posture in the capabilities companion.

  • **"Pick the right tuning axis — rule placement, resource hints,

or hardware-offload mode — for the question I actually have."** — worked example: *"my Flow pipe's rule-install rate is low; is this a placement question or a table-s

Read more
@nvidia
Ships withskills

Official, NVIDIA-verified Agent Skills for Claude Code, Codex, and other coding agents.

3.8k200 skills
Get the whole plugin

Stars on GitHub

Momentum

stars in total
3.8k
Star history of NVIDIA/skills on GitHub, a chart by star-history.com

Other skills on skills.

nvidia-skill-finder

nvidia-skill-finder

Use for NVIDIA-related requests where an NVIDIA skill might help, even if the user did not ask for a skill. Trigger on NVIDIA…

@nvidia@nvidiaInstall Skill
accelerated-computing-cudf

accelerated-computing-…

Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby,…

@nvidia@nvidiaInstall Skill
amc-run-rtsp-calibration

amc-run-rtsp-calibrati…

Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or…

@nvidia@nvidiaInstall Skill
amc-run-sample-calibration

amc-run-sample-calibra…

Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice.…

@nvidia@nvidiaInstall Skill
amc-run-video-calibration

amc-run-video-calibrat…

Calibrates pre-recorded `cam_*.mp4` datasets through the AutoMagicCalib REST API. Use for user-supplied local MP4s; route live…

@nvidia@nvidiaInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about doca-flow-tune.

Which coding agents can use doca-flow-tune?
doca-flow-tune installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.