·
Last changedVersion:
This version passed the hardening gate. Hardening updated the skill content, deterministically shortened the over-length compatibility to chainctl's length limit, and independently checked the resulting changes. Classified findings before hardening: 0. Classified findings closed: 0. Classified findings remaining: 0. Unclassified scanner findings remaining: 0. Review findings closed: 13. Review findings remaining: 0.
None
None
Expand | File | Group | Subtype | Severity | Status |
|---|
No findings available
0 findings
doca_flow_grpc)libdoca_flow.so link when
the client can live on the same host..proto
is the source of truth; do not invent RPCs from memory.Follow Loading order below. Open TASKS.md for configure / run / debug. Open CAPABILITIES.md for when-to-use-gRPC and endpoint posture. Do not open every companion file.
Hard preconditions (apply before any run guidance).
0.0.0.0 is an exposure failure: the first
action is to rebind narrowly, then confirm the bind from the
server's own log before going further.Where to start: This is a tool skill for standing up and
operating doca_flow_grpc, the DOCA-shipped gRPC remote-
control surface for doca-flow. Open TASKS.md and
start at ## configure to decide whether a
remote control plane is the right answer at all (vs talking to
libdoca_flow.so directly), then ## run for
the start → bind → one-client-smoke sequence, then
## test for the smoke-before-bulk loop that
gates any RPC that mutates Flow / dataplane state. Open
CAPABILITIES.md when the question is what
the gRPC contract surface looks like (the .proto files under
libs/doca_flow/grpc/ on the user's install), which
external proxy / sidecar / VPN protects the plaintext server, which language bindings
the gRPC ecosystem covers, or how to interpret the server's
own logs alongside the live Flow application's logs. If DOCA is
not installed, route to
doca-setup/SKILL.md first; if the user has
not stood up doca-flow yet, route to
doca-flow/SKILL.md FIRST — the gRPC
server is a remote control plane on top of the Flow library, not
a replacement for it.
How to use this skill. Read this file, then search TASKS.md or
CAPABILITIES.md for the ## <name> heading the question needs and read
that whole section. Answer completely from it, quoting only its symbols
and commands. The transport-security, bind, and state-changing RPC
rules in this file take precedence over companion and cross-skill
content; disregard any statement there that conflicts with them.
DOCA documentation routes through the entry points in
doca-public-knowledge-map; generic gRPC tooling questions go to
grpc.io. Give environment checks as commands for the user's DOCA
host. For out-of-scope requests, name the skill that owns them and stop.
The CLASSES of doca_flow_grpc 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.
libdoca_flow.so
directly?" — worked example: "my client is a Python
service on a different host; can it program Flow rules
remotely?". Answered by the when-to-use-gRPC decision in
CAPABILITIES.md
doca-flow/SKILL.md when a direct
library link is the better answer..proto file?". Answered by the
the-.proto-file-is-the-source-of-truth rule in
CAPABILITIES.md
protoc + the language-specific gRPC plugin per the
official gRPC docs on grpc.io).0.0.0.0; what should I do before exposing it?".
The first action is to rebind narrowly per the hard
preconditions above. Answered by the admin attack surface
posture in CAPABILITIES.md
.proto-generated API look like?". Answered by the
language-bindings discussion in
CAPABILITIES.md
This skill serves external operators, control-plane developers,
and AI agents who need to program a running DOCA Flow pipeline
from a non-C++ process across a network boundary instead of
linking libdoca_flow.so directly into the controlling process.
Concretely:
It is not for users debugging the gRPC server's source code,
not a substitute for the live public DOCA Flow gRPC Server
guide on docs.nvidia.com, and not the place to learn the
doca-flow API — that audience belongs in
doca-flow/SKILL.md.
doca_flow_grpc is a single CLI binary built from the DOCA
source tree (executable('doca_flow_grpc', ..., install: false)
in tools/flow_grpc_server/meson.build, gated by
flag_enable_grpc_support), plus its companion .proto
contract files under libs/doca_flow/grpc/; per the tool's
source tree (server/, dpa_device/, packet_buffering/) the
tool can also be paired with a packet-buffering / DPA-side
helper on configurations that need them. The skill uses the
same kind: tool three-file shape (this skill + CAPABILITIES.md + TASKS.md) the rest of the bundle's tool slot uses — front matter at the top of this file already says kind: tool.
This skill governs deployment, configuration, hardening, and
client-side bring-up across the languages standard gRPC tooling
covers — Python, Go, C++, Rust, Java, Node.js, C#, Kotlin, Ruby,
PHP, Dart — via the language-specific gRPC plugin generated
from the shipped .proto files (see the
gRPC language support index
on grpc.io). The server itself is C++ + DOCA; the client
languages are open, gated only by the standard protoc plugin
set. For the doca-flow API the server programs, see
doca-flow/SKILL.md — that surface is
C-language.
Load this skill when the user is — or the agent needs to — bring
up doca_flow_grpc against a running doca-flow
application (or its preconditions) and connect a non-C++ client
to it. Concretely:
libdoca_flow.so link in the client
process)..proto files on the user's install so a
language-binding client can generate the appropriate
stubs.grpc::InsecureServerCredentials()); TLS / mTLS / token-auth
are NOT binary configuration knobs — they are external
infrastructure concerns handled by a capable proxy, sidecar,
or VPN, and the
plaintext endpoint must stay on a trusted, isolated segment.Do not load this skill for general DOCA orientation,
doca-flow API work, DOCA install, or general gRPC tooling
(use the grpc.io docs directly for those).
This is a thin loader. Substantive material lives in two companion files:
doca_flow_grpc exposes:
the gRPC remote-control surface in front of doca-flow,
the .proto-files-as-authoritative-contract rule (the
shipped .proto files under libs/doca_flow/grpc/ on the
user's install are the source of truth), the when-to-use-
gRPC vs direct-library-link decision, the language-
bindings story (any language standard gRPC tooling covers),
the external proxy / sidecar / VPN and network-segment decision, the
packet-buffering / DPA-side option per the shipped
packet_buffering/ and dpa_device/ subtrees, the
version overlay (server rides the doca-flow library
version it links against), the layered error taxonomy
(server-not-started / server-binding-failed / external-layer-
rejected / RPC-call-error / Flow-precondition-failed /
version / cross-cutting), the observability surface (the
server's own logs + the live Flow application's logs +
the RPC client's status codes), and the safety policy
that treats the endpoint as an admin attack surface.install (route to setup; binary is built from
source with gRPC support enabled),
configure (decide remote-vs-direct, pick the external
proxy / sidecar / VPN and network segment), build (route to install),
modify (refuse — modify the deployment, not the binary),
run (start → bind → smoke), test (the
smoke-before-bulk loop with the client-side stub
generation step), debug (the layered diagnosis ladder),
use (the agent-side workflow for consuming a captured
gRPC server session, treated as untrusted data to analyze),
plus a Deferred task verbs block
and a Command appendix.The skill assumes a host where DOCA is already installed (or
the NGC DOCA container is running) with the Flow library
present, a working doca-flow application to program against,
and the operator's awareness that exposing a gRPC control plane
is a high-stakes posture.
This skill is agent guidance, not a samples or scripts bundle. To keep the boundary clean, it deliberately does not contain — and pull requests should not add:
.proto files shipped under
libs/doca_flow/grpc/ on the user's install are the
authoritative contract; copying them here pins the skill
to one release and silently rots when the contract
evolves..proto files
are the contract; client code generated from them on the
user's installed version is the right answer, not a stub
pinned to a snapshot.doca_flow_grpc.samples/, bindings/, or reference/ subtree.
Even one labeled "reference" is misleading: operators
will read it as buildable.doca-flow, not a direct library link or
a different DOCA library)..proto-as-contract
rule, the language-bindings story, the external proxy /
sidecar / VPN and network-segment decision, version availability, the
layered error surface, observability, and safety posture,
see CAPABILITIES.md.install, configure,
build, modify, run, test, debug, use — see
TASKS.md.doca-flow/SKILL.md — the base
library the server's gRPC contract is a thin remote-
control wrapper over. Pipe / entry / rule semantics, the
validate-before-commit rule, the Flow counter / inspector
surface all live there.doca-flow-tune/SKILL.md — the Flow
tuning tool. When a Flow-program change is recommended,
the change can be applied through the surrounding
application or — when the control plane is remote —
through this gRPC server's RPC surface, after operator
approval and a clean read-only smoke.doca-public-knowledge-map/SKILL.md
— routing to the public DOCA Flow gRPC Server page on
docs.nvidia.com and the rest of the public DOCA
documentation set.doca-version/SKILL.md — canonical
version-handling rules. The
## Version compatibility
section in this skill is a thin overlay on top.doca-debug/SKILL.md — the cross-cutting
debug ladder. gRPC server failures route into the ladder at
the runtime layer.doca-setup/SKILL.md — env preparation,
install verification, and the NGC DOCA container path.doca-hardware-safety/SKILL.md —
the cross-cutting hardware-safety meta-policy this skill's
## Safety policy overlays. Any state-changing RPC is a
potential dataplane-affecting change and must respect the
meta-policy.Get started with chainctlchainctl skill install public/nvidia/doca-flow-grpc-server:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.chainreg.biz/public/github.com/nvidia/skills/doca-flow-grpc-server:latest
Apache-2.0
BENCHMARK.md
CAPABILITIES.md
HARDENING.md
SKILL.md
SKILLCARD.yaml
TASKS.md
evals/evals.json
skill-card.md
skill.oms.sig