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, lookup latency, hardwa…
Install / Use
npx skills add NVIDIA/skills --skill doca-flow-tuneInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Tags
Our assessment of doca-flow-tune
doca-flow-tune scores 88/100 on our quality scale, 1020th of 2,125 Automation skills we index (top 48%).
Its SKILL.md is 19 KB long, well organised into 9 sections and no code examples: a thorough specification that gives an agent plenty to work with.
With 3,421 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 5 days ago, so doca-flow-tune is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
doca-flow-tune compared with similar skills
All 4 of these similar skills score higher than doca-flow-tune; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| doca-flow-tune (this skill)by NVIDIA | 88 | 3.4k | 5d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 86.0k | 13d ago | CLAUDE.md |
| rufloby ruvnet | 100 | 73.4k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 84.4k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 6d ago | SKILL.md |
Frequently asked questions
- How do I install doca-flow-tune?
- Run
npx skills add NVIDIA/skills --skill doca-flow-tune. The install tabs above show the steps for each supported agent. - Which AI agents does doca-flow-tune work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is doca-flow-tune safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is doca-flow-tune still maintained?
- The repository was last updated 5 days ago, so doca-flow-tune is actively maintained.
Skill content
View source on GitHublicense: 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 measuring
baseline numbers (doca-flow-perf, doca-flow-dpa-perf), writing
the doca-flow application, DOCA install, or streaming Flow
telemetry — those belong to other skills.
metadata:
kind: tool
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 shipped flow_tune_cfg*.json
templates and scripts/ directory under /opt/mellanox/doca.
DOCA Flow Tune (doca_flow_tune)
Subcommand surface correction (Run-12, verified Run-13 against doca/tools/flow_tune/src/tune/common/tune_config.cpp).
doca_flow_tuneis a single binary whose role on a given invocation is determined by which of five top-level subcommands the user picks —dump,monitor,web,analyze,visualize(case-insensitive on the CLI; uppercased in this skill for readability). All five names are registered viadoca_argp_cmd_set_name(...)intune_config.cpp(lines 1799 / 1860 / 1896 / 2074 / 2111);analyzefurther acceptsimport/export/packet_trace/sim_timingsub-subcommands. Thedump/monitor/websubcommands run the binary in server-attached online mode against a livedoca-flowapplication reached over a Unix- domain socket whose path lives innetwork.server_udsof the shippedflow_tune_cfg*.json; theanalyze/visualizesubcommands run in offline / captured-snapshot mode against JSON / CSV files the online modes previously dropped into the configuredoutputs_directory. The rest of this skill (andCAPABILITIES.md/TASKS.md) uses the legacy "server role / online mode / offline mode" framing — that framing is internally consistent with the subcommand surface here: server role = a server-attached online subcommand (dump/monitor/web); online mode = any ofdump/monitor/web; offline mode =analyze/visualize. Treat the subcommand 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 TASKS.md 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
CAPABILITIES.md 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 first; if the user has
no running doca-flow application yet, route to
doca-flow — 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.
- "Should I reach for
doca-flow-tuneordoca-flow-perffor this question?" — 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; do I measure first or tune first?". Answered by the tune vs perf boundary inCAPABILITIES.md ## Capabilities and modesand the routing intodoca-flow-perffor baselines vs this skill for optimization on top of a measured baseline. - "Capture a snapshot of a live
doca-flowpipeline'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 inTASKS.md ## runplus the read-only-by-default posture inCAPABILITIES.md ## Safety policy. - "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-sizing question?". Answered
by the three-axis configuration in
CAPABILITIES.md ## Capabilities and modes- the configure walk in
TASKS.md ## configure.
- the configure walk in
- "How do
doca_flow_tune's server role and client / consumer role fit together inside the single artifact?" — worked example: "I keep reading about a Flow Tune server and a Flow Tune client; which binary am I running?". Answered by the one binary, two roles breakdown inCAPABILITIES.md ## Capabilities and modesand the corresponding routing inTASKS.md ## configure. - "How do I take a recommended parameter change from flow-tune
back into my doca-flow application without breaking the
dataplane?" — worked example: "the analyze step suggests a
different table sizing for my pipe; how do I apply it?".
Answered by the recommendation → minimum-diff modification of
the Flow program loop in
TASKS.md ## modifyand the smoke-before-bulk rule inTASKS.md ## test. - "
doca_flow_tunereports nothing / disagrees with the Flow app / cannot attach — what does that mean?" — worked example: "the tool runs but the visualize step produces an empty mermaid diagram". Answered by the layered error taxonomy inCAPABILITIES.md ## Error taxonomy
Audience
This skill serves external operators, performance engineers,
DOCA Flow application developers, and AI agents who need to
understand, characterize, or improve a running doca-flow
pipeline's behavior on the user's actual install and device.
Concretely:
- A platform operator running a
doca-flowservice on BlueField who wants a read-only snapshot of which pipes exist and how their hardware / software counters are progressing before recommending any change. - A performance engineer who already has a
doca-flow-perfbaseline number and wants to turn the measurement into an optimization — pick a tuning axis and identify which knob in the doca-flow program is the lever for it. - A DOCA Flow application developer who wants the offline analyze
- visualize loop to understand a pipe layout without re-instrumenting the Flow program.
- An AI agent driving the "is this Flow pipeline behaving as expected, and would a non-mutating tuning hint help" triage step before recommending any code change to the Flow program.
It is not for users debugging the doca_flow_tune source code,
not a substitute for the live public DOCA Flow Tune guide on
docs.nvidia.com, not the right place to learn the
doca-flow API (that audience belongs in
doca-flow), and not the
right place for baseline measurement methodology — that belongs
to doca-flow-perf.
doca_flow_tune is shipped as a single tool (one binary plus
its companion analyzer / visualizer scripts and JSON config
templates) — the historical server and client roles live
inside this one artifact, not in two separate executables. The
skill uses the same kind: tool three-file shape as the rest
of the bundle so the agent's task-verb contract
(configure / build / modify / run / test / debug) is uniform
across libraries, services, and tools.
Language scope
This skill governs invocation, output interpretation, and
recommendation-to-code-change routing for the C / C++ DOCA Flow
application that doca_flow_tune observes. The tool itself is
not a programming target — there is no public API the agent is
supposed to link against; what the agent and the user do with the
tool is configure JSON, run, read the outputs, propose minimum-
diff changes to the surrounding doca-flow program in the
program's own language. For the doca-flow API the
recommendations route back into, see
doca-flow CAPABILITIES.md;
for cross-language application patterns, see
doca-programming-guide.
When to load this skill
Load this skill when the user is — or the agent needs to — invoke
doca_flow_tune against a running or planned doca-flow
application (on host or BlueField Arm, or inside the public NGC
DOCA container with the matching Flow trace-build flavor) to
characterize, dump, visualize, analyze, or tune that pipeline.
Concretely:
- Picking which role of
doca_flow_tuneto engage (offline analyze / visualize on a captured config + state, online dumper / monitor against the live Flow app, or attach-to-app server-role usage when the Flow application links the documented tune server entry points). - Picking which tuning axis to ask about (rule placement, resource hints / table sizing, or hardware-offload-mode) for a candidate workload.
- Picking which measurement axis to compare against (rule-install
rate, lookup latency, hardware-counter delta) — the three are
not interchangeable and the chosen axis should be the same one a
prior
doca-flow-perfbaseline named. - Capturing a documented before / after pair around a proposed Flow-program change (the documented JSON config file path, the command line, the DOCA version, the device, the as-deployed environment, the full unredacted dumper / analyzer / visualizer output).
- Diagnosing why a tune session produced empty output, a visualize step rendered a degenerate diagram, or an analyze recommendation does not match what the live counters say.
Do not load this skill for general DOCA orientation, Flow
program API work, install, or pure measurement methodology.
For those, route to
doca-public-knowledge-map,
doca-flow,
doca-setup, or
doca-flow-perf.
What this skill provides
This is a thin loader. Substantive material lives in two companion files:
CAPABILITIES.md—
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
86.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
73.4k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Scrapling
84.4k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
