Dev & Engineering ✓ NVIDIA · Official

DOCA Device Emulation Development

Guides developers in building custom PCIe devices on BlueField whose backend runs on the DPU and is visible to the host.

48/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
ChatGPT · Codex · Claude Code
Stars
★ 3.8k
Last updated
today
License
Apache-2.0
docabluefield-dpudevice-emulationpcie
+3virtiodmapci-generic

What does this skill do, and when should you use it?

This skill is for external developers consuming the DOCA Device Emulation library from BlueField-side applications. It covers the PCI Generic, virtio-net, and virtio-fs sub-libraries and makes sub-library selection the first decision. It guides configure, build, modify, run, test, and debug workflows, including Core contexts, doorbells, DMA primitives, capability queries, and DOCA_ERROR_* diagnosis. It excludes DOCA installation, host kernel drivers, standard BlueField NIC behavior, and packaged SNAP or Virtio-net services.

Directs the agent to select PCI Generic, virtio-net, or virtio-fs; inspect libraries, headers, samples, and pkg-config modules under /opt/mellanox/doca; initialize the relevant DOCA Core context; configure doorbell and DMA primitives; query doca_devemu_*_cap_* capability families; and follow configure, build, modify, run, test, and debug workflows. It also routes DOCA setup, standard NIC, host-driver, and packaged-service questions to the named related skills.

Good fit
  • A DPU developer needs the host to enumerate a custom PCIe peripheral backed by DPU-side code.
  • A developer is implementing an emulated virtio network or filesystem device for an existing host driver.
  • A developer must choose between the PCI Generic, virtio-net, and virtio-fs Device Emulation sub-libraries.
  • A developer is diagnosing missing lspci enumeration, driver binding failures, absent DPU responses to host queue kicks, or failed virtio feature negotiation.
  • A developer is designing Rust, Go, or Python bindings over the DOCA Device Emulation C ABI.

How do you install this skill?

Before you use it
  • The supported-library scope is internally inconsistent: SKILL.md primarily declares three classes, while CAPABILITIES.md mentions five; defer to installed headers, pkg-config, and runtime capability queries.
  • Do not treat the BENCHMARK PASS or SKILLCARD signature fields as independently verified test evidence; the supplied files show incomplete evaluation, signing, and scan data.
  • Execution involves PCIe-level emulation, sudo, and firmware configuration; obtain confirmation, verify the exact BlueField, firmware state, and host driver, and prepare reversible detach, stop, and destroy steps.
  • No Chinese-language material or mainland-China reachability guarantee is provided, and key content depends on a local DOCA installation and routed companion skills.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
Install first
  • DOCA SDK installed at /opt/mellanox/doca on the host and BlueField DPU
  • BlueField firmware with the required emulation type enabled
  • Matching host kernel driver
  • DPU-side privileges, including sudo for PCIe-level emulation

Install the named skill with the skills CLI command documented in the repository README: npx skills add nvidia/skills --skill doca-devemu --yes. Add --agent codex to target Codex. The supplied source does not specify a manual-copy destination. The DOCA SDK must also already be installed at /opt/mellanox/doca on both the host and BlueField DPU.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/NVIDIA/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/skills/doca-devemu" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Build a virtio-net emulated device on BlueField whose backend runs on the DPU, and first determine which DOCA Device Emulation sub-library applies.

Give the agent a concrete DPU-side emulation request, for example: “Build a virtio-net emulated device on BlueField whose backend runs on the DPU, and first determine which DOCA Device Emulation sub-library applies.” For configure, build, modify, run, test, or debug work, the skill points to TASKS.md; for capability questions, it points to CAPABILITIES.md.

What are this skill's strengths and limitations?

Pros
  • Covers PCI Generic, virtio-net, and virtio-fs Device Emulation sub-libraries.
  • Addresses capability discovery, doorbell/DMA primitives, permissions, and DOCA_ERROR_* categories.
  • Clearly separates library development from packaged DOCA SNAP and Virtio-net Service solutions.
  • Supports C and C++ directly and gives language-neutral guidance for other languages using FFI or bindings to the public C ABI.
Limitations
  • Requires the DOCA SDK on both host and DPU at /opt/mellanox/doca.
  • Depends on firmware enablement, a matching host kernel driver, and appropriate DPU-side privileges.
  • SKILL.md is a thin loader whose detailed guidance depends on companion files; their full contents are not included in the supplied material.
  • Does not cover DOCA installation, firmware configuration, host-driver installation, backend-body design, or standard NIC behavior.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
DOCA Device Emulation Development this page ✓ NVIDIA · Official 48 · Use with care ★ 3.8k today Apache-2.0
DOCA AES-GCM Acceleration ✓ NVIDIA · Official 57 · Use with care ★ 3.8k today Apache-2.0
DOCA Arg Parser CLI ✓ NVIDIA · Official 55 · Use with care ★ 3.8k today Apache-2.0
DOCA Erasure Coding Development Skill ✓ NVIDIA · Official 49 · Use with care ★ 3.8k today Apache-2.0
DOCA Common Foundation ✓ NVIDIA · Official 55 · Use with care ★ 3.8k today Apache-2.0

The source explicitly distinguishes writing a backend with the doca-devemu library from adopting DOCA SNAP Service or DOCA Virtio-net Service, which are packaged services built on top of the library.

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
48/ 100 5-point scale 2.4 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust16 / 25 · 3.2/5

The documentation makes host/DPU data flows, firmware enablement, DPU privileges, and reverse-order teardown visible; however, it commonly requires sudo and lacks explicit stepwise user confirmation, least-privilege alternatives, a concrete rollback procedure, and detailed sensitive-data handling, so points are deducted.

2Reliability6 / 20 · 1.5/5

Layered loading, capability checks, error taxonomy, and two-sided observability are useful; however, SKILL.md says it covers three libraries while CAPABILITIES.md introduces virtio-blk and NVMe, and sample coverage, pkg-config modules, and API details are inconsistent or delegated externally. No reproducible key-path tests are supplied, so the static score remains limited.

3Adaptability10 / 15 · 3.3/5

The audience, trigger phrases, exclusions, and library-versus-service routing are clearly described; however, Chinese-language support and mainland-China network reachability are not addressed, while core use depends on a local DOCA installation, hardware firmware, and other unavailable skills. Environment-fit evidence is therefore incomplete.

4Convention8 / 15 · 2.7/5

The loader, capability reference, task workflows, and details file provide useful progressive disclosure, dependency notes, maintenance contacts, and related-skill routing; however, version fields remain TBD, SKILLCARD repository/license/signature metadata conflicts with the supplied source, and there is no clear changelog or stable versioning policy, so points are deducted.

5Effectiveness5 / 15 · 1.7/5

The material gives detailed configuration, build, run, test, and debug workflows with useful boundaries; however, it explicitly supplies no runnable code or standalone build manifest, exact module names and key API details require external lookup, and representative outputs are not verified. Substantial user completion work remains.

6Verifiability3 / 10 · 1.5/5

The files contain workflow checklists, an evaluation summary, and some audit-oriented metadata; however, the evaluation dataset is unavailable, the benchmark results are not independently reproducible, SKILLCARD signing and scan fields are TBD, and no committed CI/test suite covering the skill's key paths is provided. Evidence is therefore limited.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 55f18499943e Review evidence[1][2][3][4][5][6][7][8][9][10]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Is this suitable for someone who only wants to run an existing emulation service?
No. It targets developers writing the DPU-side backend. Users seeking a managed solution should use the DOCA SNAP Service or DOCA Virtio-net Service guides.
What must be available before using the skill?
The DOCA SDK must be installed at /opt/mellanox/doca on both host and DPU; firmware must enable the desired emulation type; the host must provide the matching driver; and the DPU process must have the required privileges.
Does it troubleshoot the host virtio kernel driver itself?
No. Host-side virtio-net, virtio-fs, and related drivers are outside this skill’s scope. The skill focuses on the DPU-side Device Emulation library and the emulated PCIe interaction.
What licensing information is provided?
The SKILL.md frontmatter specifies Apache-2.0. The repository README states that the project is dual-licensed under Apache License 2.0 and CC BY 4.0, while the supplied repository metadata says NOASSERTION.

More skills from this repository

All from NVIDIA/skills

Dev & Engineering ✓ NVIDIA · Official

DOCA AES-GCM Acceleration

Configure, validate, and debug DOCA AES-GCM offload on BlueField DPUs and ConnectX NICs.

★ 3.8k FS 57 Use with care today
Automation & Ops ✓ NVIDIA · Official

DOCA Capabilities Inspector

Inspect what DOCA can see on a host through a read-only device and capability CLI.

★ 3.8k FS 56 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA Arg Parser CLI

Guides developers in building and debugging standard CLIs for DOCA applications.

★ 3.8k FS 55 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA Erasure Coding Development Skill

Guides hands-on DOCA Reed-Solomon resilience development and debugging on NVIDIA hardware.

★ 3.8k FS 49 Use with care today
Automation & Ops ✓ NVIDIA · Official

DOCA Socket Relay

Bridge an existing socket application to a BlueField DPU without rewriting it

★ 3.8k FS 49 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA Common Foundation

A shared programming foundation for DOCA applications on BlueField and ConnectX.

★ 3.8k FS 55 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA DMA Development Guide

Guides hands-on DOCA DMA memory-copy development on BlueField and ConnectX systems.

★ 3.8k FS 54 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA Compress Hardware Offload

Guides hands-on DEFLATE and LZ4 decompression development and debugging on BlueField and ConnectX platforms.

★ 3.8k FS 58 Recommended today
Automation & Ops ✓ NVIDIA · Official

DOCA Hardware Safety

A rollback-oriented operating discipline for live DPU and NIC hardware changes.

★ 3.8k FS 57 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA RDMA Initiator

Guides accelerator-initiated one-sided RDMA development on the DPA datapath.

★ 3.8k FS 57 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA Environment Setup

Verify, prepare, and troubleshoot the DOCA environment while routing workloads to the right deployment path.

★ 3.8k FS 57 Use with care today
Automation & Ops ✓ NVIDIA · Official

DOCA BlueField-3 Bring-Up

Guides operators through BF3 day-one bring-up, recovery, RShim/BFB provisioning, and installation validation.

★ 3.8k FS 56 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA RDMA Programming Guide

Helps developers build, configure, and debug DOCA RDMA applications on BlueField, ConnectX, and DOCA hosts.

★ 3.8k FS 56 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA SHA Acceleration

Guidance for offloading SHA hashing to NVIDIA BlueField and ConnectX hardware.

★ 3.8k FS 56 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA Ethernet Queue Development

Develop and debug DOCA Ethernet RX/TX queues on BlueField DPUs and ConnectX NICs.

★ 3.8k FS 55 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA Flow Tune

Guides engineers through snapshotting, analyzing, and optimizing live or captured DOCA Flow pipelines.

★ 3.8k FS 54 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA GPI GPU-Initiated RDMA Skill

Helps CUDA kernels drive RDMA queues directly from GPU memory without host-CPU mediation.

★ 3.8k FS 52 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA UROM Host-Side Offload Development

Guides HPC, UCX, and MPI developers in offloading remote memory operations to a BlueField DPU.

★ 3.8k FS 52 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA PCC Custom Congestion Control

Guides host-side loading and troubleshooting of custom PCC algorithms on BlueField

★ 3.8k FS 51 Use with care today
Dev & Engineering ✓ NVIDIA · Official

DOCA Rivermax Receive Development

Guides developers through building, validating, and debugging DOCA Rivermax receive applications for real-time network streams.

★ 3.8k FS 51 Use with care today

Related skills