·
Last changedVersion:
This version passed the hardening gate. Hardening updated the skill content and independently checked the resulting changes. Classified findings before hardening: 4. Classified findings closed: 3. Classified findings remaining: 1. Unclassified scanner findings remaining: 0. Review findings closed: 12. Review findings remaining: 2.
4
1
Expand | File | Group | Subtype | Severity | Status |
|---|---|---|---|---|---|
CAPABILITIES.md | Excessive Agency & Rogue Autonomy | — | Medium | Closed | |
TASKS.md | Privilege Escalation & Host / Cloud Compromise | Privilege escalation | Medium | Closed | |
BENCHMARK.md | Privilege Escalation & Host / Cloud Compromise | Privilege escalation | Medium | Open | |
CAPABILITIES.md | Privilege Escalation & Host / Cloud Compromise | Privilege escalation | Medium | Closed |
4 findings
doca_sta + subsystem/namespaces; do not
rewrite the initiator stack here.doca_sta_cap_is_supported and queue sizing before
changing backend disks.Follow Loading order below. Open TASKS.md for configure / target / debug. Open CAPABILITIES.md for queue limits and NVMe-oF caps. Do not open every companion file.
Where to start: This skill assumes DOCA is already installed and
the user is doing hands-on NVMe-over-Fabrics storage-target work on
a BlueField-class device with DOCA. Open TASKS.md if
the user wants to do something (configure / modify / build / run
/ test / debug); open CAPABILITIES.md when the
question is what can DOCA STA express on this version. If the
user has not installed DOCA yet, route to
doca-setup/SKILL.md first. If the user is
asking "is this an NVMe-oF initiator/host transport?", the
answer is no — doca-sta accelerates the target side: it presents
NVMe-oF doca_sta_subsystem targets backed by local NVMe-PCI
disks; the model lives in
CAPABILITIES.md.
The CLASSES of DOCA STA 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.
doca_sta_subsystem (NQN) with one namespace backed by a local
NVMe-PCI disk (doca_sta_be) and accept NVMe-over-RDMA
connections from a remote initiator". Answered by the
target-model-and-lifecycle
workflow in TASKS.md +
the CAPABILITIES.md
target-object table. The user confirms which local disk backs
each namespace before it is bound, per the backend disk
selection rule in CAPABILITIES.md.doca_sta_cap_is_supported against a
doca_devinfo) in
CAPABILITIES.md
doca_sta_get_max_* query (e.g.
doca_sta_get_max_qps, doca_sta_get_max_io_queue_size).doca-flow/SKILL.md and the RDMA substrate
to doca-rdma/SKILL.md.doca-version/SKILL.md and adds the
STA-specific cap-query rule (pkg-config --modversion doca-sta
is the build-time anchor; the runtime doca_sta_cap_is_supported
query is the truth).DOCA_ERROR_* from a STA call mean and which
layer caused it?" — worked example: "DOCA_ERROR_NOT_PERMITTED
when opening the doca_dev".
Answered by the STA overlay on the cross-library taxonomy in
CAPABILITIES.md
doca-debug/SKILL.md. For a permission error, route to the
group membership and device permission guidance in
doca-setup/SKILL.md and keep the program on least privilege.This skill serves external developers building NVMe-over-Fabrics
storage targets that consume DOCA STA on BlueField — i.e., users
whose code calls doca_sta_* (directly in C/C++, or through
FFI/bindings from another language) to accelerate the target-side
data path of an NVMe-oF target on the BlueField hardware: presenting
doca_sta_subsystem targets (NQN + namespaces) backed by local
NVMe-PCI disks (doca_sta_be) to remote initiators over RDMA. The
skill is not for NVIDIA developers contributing to DOCA STA
itself, and it is not for initiator/host-side NVMe stacks.
Language scope. DOCA STA ships as a C library with
pkg-config module name doca-sta. DOCA STA ships no public
samples — the public packages install no
samples/doca_sta/ directory — so the worked examples in
TASKS.md build against the public headers directly rather than
modify a shipped sample. Show any generated code to the user for
review before it is built, and get the user's confirmation before
the built program is run. C and C++ consumers are the canonical
case. Other-language
consumers (Rust, Go, Python, …) consume the same *.so through
FFI or language-specific bindings; the skill's contribution in
that case is to keep the target-model, lifecycle,
capability-discovery, queue-pair shape, substrate-dependency,
and error-taxonomy guidance language-neutral, and to route the
agent to the public C ABI as the authoritative surface that any
wrapper will eventually call.
Load this skill when the user is doing hands-on DOCA STA work, in any language. Concretely:
doca_sta instance on a doca_dev opened
against a BlueField PF / SF and configuring the NVMe-oF
target subsystems before doca_ctx_start().doca_sta_subsystem (NQN +
namespaces) and doca_sta_be backend controllers (local
NVMe-PCI disks) — and accepting NVMe-oF connections (admin
queue plus N I/O queues per connection) on the target side as
remote initiators connect over RDMA CM.doca_sta_set_*
family, checking device support via doca_sta_cap_is_supported,
and querying sizing limits via the doca_sta_get_max_* family
(max I/O queue depth, max number of queue pairs, max I/O size,
max subsystems, max namespaces per subsystem, max backends).doca-rdma substrate and uses RDMA CM for
connection establishment — for the target's I/O queues.doca-flow/SKILL.md — the
steering boundary is doca-flow, not doca-sta, and any Flow
rule is applied there with the user's confirmation.DOCA_ERROR_* returned from a STA call (lifecycle
vs. capability vs. transport-layer I/O failure vs.
driver-below) and the per-queue events on the DOCA Core
progress engine.Do not load this skill for general DOCA orientation, install
of DOCA itself, raw RDMA data movement (use
doca-rdma/SKILL.md), raw packet I/O on
Ethernet queues (use doca-eth/SKILL.md),
flow-rule programming (use doca-flow/SKILL.md),
or initiator/host-side NVMe stack development
(SPDK or kernel-nvme own that, not this skill). For DOCA
documentation orientation, use
doca-public-knowledge-map/SKILL.md.
This is a thin loader. The body keeps only the orientation needed to pick the right next file. The substantive STA-specific material lives in two companion files shipped with this skill:
doca_sta_subsystem /
namespaces / doca_sta_be backend NVMe-PCI disks),
the NVMe queue-pair shape (admin queue + I/O queues over RDMA),
the RDMA-only transport,
the capability-query surface (doca_sta_cap_is_supported plus
the doca_sta_get_max_* sizing queries), the STA
error taxonomy (mapped onto the cross-library DOCA_ERROR_*
set), the observability surface (per-queue progress engine
events, capability snapshots), and the safety policy that
gates substrate-library, permission, backend disk, and steering
preconditions.configure, modify, build, run, test,
debug. Plus a Deferred task verbs block that points
out-of-scope questions at the right next skill, and a
Command appendix of the recurring commands the agent
reaches for. Every command in that appendix follows the Host
checks rule above.The skill assumes a BlueField (with DOCA installed at the
standard location) plus a remote NVMe-oF initiator reachable on
the fabric to connect into the accelerated target, and one or
more local NVMe-PCI disks to back the target's namespaces. It
does not cover installing
DOCA — that path goes through
doca-setup/SKILL.md. It does not cover
initiator/host-side NVMe stacks (SPDK bdev_nvme, kernel nvme
host) or NVMe protocol semantics above the accelerated target
data path — those are out of scope.
This skill is agent guidance, not a samples or templates bundle. To keep the boundary clean, it deliberately does not contain — and pull requests should not add:
/opt/mellanox/doca/samples/doca_sta/ directory. The authoritative surface is the public headers (the user can list them on their DOCA host with
ls "$(pkg-config --variable=includedir doca-common)/doca_sta*.h") plus the public
DOCA STA guide; the agent builds against those directly rather
than modifying a shipped sample, per the
TASKS.md workflow.bdev_nvme,
the kernel nvme host, and any initiator-side NVMe stack are
upstream projects out of scope for this skill — DOCA STA is
target-side acceleration, not an initiator transport provider.meson.build, CMakeLists.txt,
Cargo.toml, …) parked inside the skill. The agent
constructs the build manifest in the user's project
directory against the user's installed DOCA, where
pkg-config --modversion doca-sta is the source of truth.
First check whether the project already has a meson.build,
CMakeLists.txt, or sources; propose a diff or a new file name,
and get the user's confirmation before changing or replacing any
existing file.samples/, bindings/, or reference/ subtree of any
kind. A mock or incomplete artifact in this skill's tree,
even one labeled "reference", is misleading: users will
read it as buildable.Both companion files cross-link to each other,
doca-version/SKILL.md for the canonical
version-handling rules,
doca-rdma/SKILL.md for the RDMA substrate
that NVMe-over-RDMA transport lands on,
doca-flow/SKILL.md for the steering rules
that direct NVMe traffic to STA-managed queues, and
doca-public-knowledge-map/SKILL.md
whenever the right answer is "look it up in the public docs or
the installed package layout" rather than "STA-specific
guidance".
Load a routed skill only when it comes from the same verified DOCA
skill bundle as this one. If a routed skill is unavailable or of
unknown origin, tell the user it is unavailable, give only
high-level guidance from this skill (for example the version
checks pkg-config --modversion doca-sta and doca_caps --version),
and point to the public DOCA documentation rather than inventing
the missing details.
doca-public-knowledge-map/SKILL.md —
the routing table for every public DOCA documentation source
and the on-disk layout of an installed DOCA package. The
STA URL slug is DOCA-STA.doca-setup/SKILL.md — env preparation,
install verification, BlueField mode checks, and the
permission / group-membership requirements for opening a
doca_dev. This skill assumes its preconditions are
satisfied.doca-version/SKILL.md — canonical
DOCA version-handling rules. This skill's ## Version compatibility cross-links the four-way match rule and adds
only the STA-specific overlay (STA target-acceleration
availability windows, NVMe-oF feature-set device-conditional
support).doca-structured-tools-contract/SKILL.md —
the bundle's structured-tools precedence rule (detect /
prefer / fall back / report). The Command appendix in
TASKS.md honors this contract.doca-programming-guide/SKILL.md —
general DOCA programming patterns shared by every library:
the canonical pkg-config + meson build pattern, the
universal modify-a-shipped-sample first-app workflow, the
universal lifecycle, the cross-library DOCA_ERROR_*
taxonomy, and the program-side debug order. This skill
layers STA specifics on top.doca-rdma/SKILL.md — the RDMA substrate
that NVMe-over-RDMA transport lands on. STA hides most of
the RDMA queue-pair details from the consumer, but the user
still needs doca-rdma linked in and the device's RDMA
capabilities discoverable for the NVMe-over-RDMA path to
work.doca-eth/SKILL.md — the queue-pair
shape that STA's per-connection queue model echoes. Reach
here if the user is asking general questions about how
DOCA exposes queue-pairs that don't have an STA-specific
answer.doca-flow/SKILL.md — the steering
surface that decides which NVMe-oF packets land on which
STA-managed queue. DOCA STA does not program steering
itself; an NVMe-oF target whose connections never come up
is often a missing or wrong Flow rule, not a STA bug.doca-debug/SKILL.md — the
cross-cutting debug ladder (install / version / build /
link / runtime / program / driver). STA-specific debug
(transport-type mismatches, queue-depth oversize,
IO-failed transport errors) overlays on top of that
ladder.Get started with chainctlchainctl skill install public/nvidia/doca-sta: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-sta: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