doca-pcc
Use this skill when the user is doing hands-on host-side DOCA PCC work to load a CUSTOM Programmable Congestion Control algorithm onto a BlueField DPU — creating per-port `doca_pcc` contexts, loading a `dpacc`-compiled `doca_pcc_app` onto the `doca_dev` for the RoCE-bearing port, parameterizing it,…
Install / Use
npx skills add NVIDIA/skills --skill doca-pccInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of doca-pcc
doca-pcc scores 88/100 on our quality scale, 973rd of 3,356 Development & Engineering skills we index (top 29%).
Its SKILL.md is 19 KB long, well organised into 8 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-pcc 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-pcc compared with similar skills
All 4 of these similar skills score higher than doca-pcc; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| doca-pcc (this skill)by NVIDIA | 88 | 3.4k | 5d ago | SKILL.md |
| ai-job-searchby MadsLorentzen | 100 | 44.4k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 41.7k | 2d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 6d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 6d ago | SKILL.md |
Frequently asked questions
- How do I install doca-pcc?
- Run
npx skills add NVIDIA/skills --skill doca-pcc. The install tabs above show the steps for each supported agent. - Which AI agents does doca-pcc 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-pcc 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-pcc still maintained?
- The repository was last updated 5 days ago, so doca-pcc is actively maintained.
Skill content
View source on GitHublicense: Apache-2.0
name: doca-pcc
description: >
Use this skill when the user is doing hands-on host-side DOCA
PCC work to load a CUSTOM Programmable Congestion Control
algorithm onto a BlueField DPU — creating per-port doca_pcc
contexts, loading a dpacc-compiled doca_pcc_app onto the
doca_dev for the RoCE-bearing port, parameterizing it,
walking triple-axis capability discovery (DOCA cap-query +
DPA-capable BlueField + firmware custom-PCC slot enabled), or
debugging DOCA_ERROR_* from doca_pcc_*. Trigger even
without explicit "DOCA PCC" phrasing — implicit forms include
"loading my own congestion control onto a BF port",
"DOCA_ERROR_NOT_PERMITTED on algorithm load",
"DOCA_ERROR_DRIVER when I attach my custom algorithm", "my
custom rate-update isn't affecting RoCE traffic", or "load
succeeds but no on-wire change". Refuse and route elsewhere
for DPA-side algorithm-body design, the pcc_counters
CLI, default factory PCC in ConnectX firmware, or setting up
the RDMA / RoCE traffic — those belong to other skills.
metadata:
kind: library
compatibility: >
Requires DOCA SDK installed at /opt/mellanox/doca on Linux
(Ubuntu 22.04/24.04 or RHEL/SLES) with a BlueField DPU whose
DPA processor is exposed to the host AND whose firmware has
the custom-PCC slot enabled. Also requires the DPACC compiler
installed at a version matched to DOCA per the DOCA
Compatibility Policy. Reads the user's local install via
pkg-config doca-pcc and inspects
/opt/mellanox/doca/{lib,include,samples,applications}.
DOCA PCC
Where to start: This skill assumes DOCA is already installed,
the user's BlueField has a DPA processor that the host can see
through DOCA, the BlueField firmware has the custom-PCC slot
enabled, and the user is doing hands-on custom PCC work from
the host side — i.e. using doca-pcc to load a DPA-side
congestion control algorithm onto the BlueField, attach it to a
port handling RDMA / RoCE traffic, and parameterize it from the
host. Open TASKS.md if the user wants to do
something (configure / build / modify / run / test / debug);
open CAPABILITIES.md when the question is
what can the host-side PCC API express on this version + this
BlueField generation + this firmware. If the user has not
installed DOCA yet, route to
doca-setup first; if the user is
asking how to write the DPA-side congestion-control algorithm
itself (the code that runs on the DPA processor, compiled by
dpacc), that is a different scope — route via
doca-public-knowledge-map
to the public DOCA PCC programming guide and to
doca-dpa for the host-side DPA
lifecycle this skill builds on. If the user only wants to
inspect PCC counters at runtime without writing a custom
algorithm, that is the pcc_counters CLI tool — route via
doca-public-knowledge-map ## DOCA tools;
this skill is for custom algorithms only.
Example questions this skill answers well
The CLASSES of PCC 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.
- "How do I deploy my own custom congestion control algorithm
onto a BlueField port carrying RDMA / RoCE traffic?" —
worked example: "load a small DPA-side PCC algorithm and
attach it to the BlueField port that handles my RoCE traffic".
Answered by the two-side-program model + the host-side
load-and-attach workflow in
CAPABILITIES.md ## Capabilities and modes- the bring-up steps in
TASKS.md ## configure.
- the bring-up steps in
- "Does this BlueField + firmware actually allow a custom PCC
algorithm, and which PCC features does my DOCA install
expose?" — worked example: "my host has a BlueField and the
default factory PCC works; can I drop in a custom algorithm
instead?". Answered by the triple-axis precondition rule
(BlueField generation must carry a DPA, firmware must have the
custom-PCC slot enabled,
doca_pcc_cap_*against the activedoca_devinfomust agree) inCAPABILITIES.md ## Capabilities and modes- the env-precondition checklist in
TASKS.md ## configurestep 1.
- the env-precondition checklist in
- "Why does my custom PCC fail with
DOCA_ERROR_NOT_PERMITTEDeven though I havedoca_devaccess?" — worked example: "the BlueField firmware in this host has the custom-PCC slot disabled". Answered by the permission matrix inCAPABILITIES.md ## Safety policy- the firmware-side env fix in
TASKS.md ## configurestep 1.
- the firmware-side env fix in
- "Is this
doca-pcclibrary the right tool for what I want, or do I want the default firmware PCC or thepcc_countersCLI?" — worked example: "I just want to read PCC counters without touching the algorithm". Answered by the path-selection rule inCAPABILITIES.md ## Capabilities and modes- the deferred-topic boundaries in
CAPABILITIES.md ## Deferred topic boundarieswhich route todoca-public-knowledge-map ## DOCA toolsfor the counter tool.
- the deferred-topic boundaries in
- "Is the host-side PCC API I'm reading about on my installed
DOCA?" — worked example: "is the host-side load helper I
see in the docs available against the DOCA + DPACC versions on
this host?". Answered by the version-compatibility overlay in
CAPABILITIES.md ## Version compatibilitywhich cross-links the canonical detection chain indoca-versionand adds the PCC-specific DOCA must match DPACC overlay inherited fromdoca-dpa. - "What does this
DOCA_ERROR_*from adoca_pcc_*call mean and which layer caused it?" — worked example: "DOCA_ERROR_DRIVERon the host-side algorithm-load call — is it DOCA, the firmware-side custom-PCC slot, or the DPACC- produced image?". Answered by the PCC overlay on the cross-library taxonomy inCAPABILITIES.md ## Error taxonomy- the layered ladder in
TASKS.md ## debugthat escalates todoca-debug.
- the layered ladder in
Audience
This skill serves external developers building applications
that consume the DOCA PCC library from the host side — i.e.,
users whose code calls doca_pcc_* from host C / C++ to stand
up the per-PCC-instance context, load a DPA-side PCC algorithm
image that dpacc produced from their DPA-side source, attach
it to the BlueField port that carries the RDMA / RoCE traffic
the algorithm is meant to control, parameterize the algorithm,
start the context, and observe runtime reports back from the
algorithm. It is not for NVIDIA developers contributing to
DOCA PCC itself, nor is it the place to learn how to write
the DPA-side congestion-control algorithm itself (that path
goes through the public DOCA PCC programming guide and the
companion DOCA DPA / DPACC guides via
doca-public-knowledge-map).
Language scope. DOCA PCC ships as a host-side C library
with pkg-config module name doca-pcc. The host-side API is
C; the DPA-side congestion-control algorithm is a separate
translation unit written in the language the DPACC compiler
accepts and compiled by dpacc into a binary that the host
packages into the executable as the PCC algorithm image. The
shipped samples under /opt/mellanox/doca/samples/doca_pcc/
are written in C plus DPA-side source (NVIDIA's choice).
Other-language consumers are limited in practice — the
DPA-side algorithm has no FFI escape hatch because it must be
a translation unit dpacc accepts — but a Rust / Go / Python
host-side wrapper that drives doca_pcc_* setup and loads a
PCC algorithm image built separately is still useful, and the
skill keeps the lifecycle, capability-discovery,
env-precondition, and error-taxonomy guidance language-neutral.
When to load this skill
Load this skill when the user is doing hands-on DOCA PCC work
from the host side for a custom congestion control
algorithm, in any host language plus a DPA-side translation
unit built by dpacc. Concretely:
- Initializing a
doca_pccagainst adoca_devthat maps to the BlueField port carrying the RDMA / RoCE traffic to be controlled. - Loading a PCC algorithm image (
doca_pcc_app) thatdpaccproduced from the user's DPA-side congestion-control algorithm source, into thedoca_pcccontext. - Parameterizing the loaded algorithm with the host-side knobs
the algorithm exposes, and starting the
doca_pccCore context so the algorithm begins affecting RDMA / RoCE traffic on the attached port. - Checking which PCC features are supported on the active
doca_devinfovia thedoca_pcc_cap_*family — BlueField generations and firmware revisions differ in whether they permit a custom PCC algorithm. - Debugging a
DOCA_ERROR_*returned from adoca_pcc_*call — in particular disambiguating firmware-level custom-PCC slot disabled from device does not support custom PCC at all from algorithm image incompatible with this device from standarddoca_devaccess denied. - Designing host-side bindings in a non-C language that drive
a custom PCC algorithm image they built separately with
dpacc— the env-precondition and capability-discovery rules in this skill still apply.
Do not load this skill for general DOCA orientation, install
of DOCA or the DPACC compiler, the DPA-side programming model
itself (how to write the congestion-control algorithm body that
runs on the DPA), questions about the default factory PCC
algorithm shipped in ConnectX firmware (no host-side doca-pcc
code needed — that path is firmware-only configuration), or
questions about the pcc_counters diagnostic CLI (route via
doca-public-knowledge-map ## DOCA tools).
For all of those, route through
doca-public-knowledge-map
to the matching upstream guide.
What this skill provides
This is a thin loader. The body keeps only the orientation needed to pick the right next file. The substantive PCC-specific material lives in two companion files:
CAPABILITIES.md— what the host-side PCC API can express on this version + this BlueField generation + this firmware: the per-PCC-instancedoca_pcccontext, the loadeddoca_pcc_appalgorithm image produced bydpacc, the attach-to-port semantics that bind the algorithm to the RDMA / RoCE traffic it will control, the capability-query surface (doca_pcc_cap_*), the PCC error taxonomy mapped onto the cross-libraryDOCA_ERROR_*set, the observability surface (host-side reports plus the public PCC counter tool reachable viadoca-public-knowledge-map), and the safety policy that gates env preconditions (DPA-capable BlueField, firmware-level custom-PCC slot enabled, matched DOCA + DPACC versions, algorithm image and host-side expectations agree).TASKS.md— step-by-step workflows for the six in-scope PCC verbs:configure,build,modify,run,test,debug. Plus aDeferred task verbsblock that points out-of-scope questions at the right next skill.
The skill assumes a host where DOCA is already installed at the standard location, a BlueField with a DPA processor is physically present and visible to the host, the BlueField firmware has the custom-PCC slot enabled, the DPACC compiler is installed at a version matched to the DOCA
Truncated for display — read the full file on GitHub.
Related Skills
ai-job-search
44.4kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.7kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
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.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
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.
