RDMA verbs skill for InfiniBand and RoCE programming. An agent skill from mohitmishra786/low-level-dev-skills.

MITAuto-check passed

Install Rdma Verbs

skills CLI
$ npx skills add mohitmishra786/low-level-dev-skills --skill rdma-verbs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mohitmishra786/low-level-dev-skills rdma-verbs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/hpc/rdma-verbs .claude/skills/rdma-verbs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rdma-verbs
GitHub stars
252
Token cost
~1.6k tokens
SKILL.md length
307 words
Files
1
Skills in repo
138
Repo updated
First seen
Licence
MIT

At a glance

RDMA verbs skill for InfiniBand and RoCE programming. An agent skill from mohitmishra786/low-level-dev-skills.

  • Works in 9 steps: RDMA concepts → Device discovery → Minimal libibverbs setup → …
  • Using libibverbs API
  • SKILL.md covers Purpose, When to Use, Workflow and Common Problems, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Rdma Verbs is an agent skill from mohitmishra786/low-level-dev-skills. RDMA verbs skill for InfiniBand and RoCE programming. Use when using libibverbs API, creating queue pairs, RDMA read/write operations, or benchmarking with perftest. Activates on queries about libibverbs, ibvregmr, ibvcreateqp, RDMA, RoCE, ibsendbw, or rdma-sys.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: A curated suite of AI agent skills for systems and low-level programming with C/C++, Rust, and Zig toolchains, covering compilers, debuggers, profilers, build systems…. The licence is MIT.

When your agent uses it

  • Using libibverbs API
  • Creating queue pairs
  • RDMA read/write operations
  • Benchmarking with perftest

Example prompts

  • “/rdma-verbs”

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. RDMA concepts
  2. Device discovery
  3. Minimal libibverbs setup
  4. Connection setup (RC)
  5. Send/Recv (two-sided)
  6. RDMA Write (one-sided)
  7. RoCE vs InfiniBand
  8. perftest benchmarking
  9. Rust rdma-sys

What it can do on your machine

Read from SKILL.md and the folder at commit bdc5847. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are c, bash and toml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rdma Verbs loads about 1.6k tokens when it runs. Until then it costs about 70 tokens; SKILL.md has 307 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mohitmishra786/low-level-dev-skills at commit bdc5847, republished under its MIT licence (© mohitmishra786). 307 words, ~1,640 tokens.

Download SKILL.mdSave it as .claude/skills/rdma-verbs/SKILL.md (or your agent's skills folder).
name
rdma-verbs
description
RDMA verbs skill for InfiniBand and RoCE programming. Use when using libibverbs API, creating queue pairs, RDMA read/write operations, or benchmarking with perftest. Activates on queries about libibverbs, ibv_reg_mr, ibv_create_qp, RDMA, RoCE, ib_send_bw, or rdma-sys.

RDMA Verbs

Purpose

Guide agents through RDMA programming with libibverbs: one-sided vs two-sided operations, RC/UC/UD transports, device setup (ibv_get_device_list, protection domains, memory registration, completion queues, queue pairs), work requests and completions, RoCE vs InfiniBand, perftest benchmarking, and Rust rdma-sys bindings.

When to Use

  • Building ultra-low-latency storage or database networking
  • Bypassing CPU for remote memory access (one-sided RDMA)
  • Setting up RoCE on Ethernet fabrics
  • Benchmarking network fabric with perftest tools
  • Integrating RDMA into MPI or custom RPC systems
  • Debugging RDMA connection and completion errors

Workflow

1. RDMA concepts
RDMA stack
├── Application (libibverbs)
├── Kernel RDMA driver (mlx5, rdma_rxe)
├── NIC/HCA hardware
└── Fabric (InfiniBand or RoCE/Ethernet)

Operation types
├── Two-sided: Send/Recv (both sides participate)
└── One-sided: RDMA Read/Write (remote CPU not involved)

Transports:

TypeReliableConnectionUse
RC (Reliable Connected)Yes1:1 QP pairGeneral purpose
UC (Unreliable Connected)No1:1Multicast-like
UD (Unreliable Datagram)NoMany:ManyMPI, discovery
2. Device discovery
bash
# List RDMA devices
ibv_devices
ibv_devinfo

# RoCE link status
rdma link show
ibstat

# Perftest prerequisites
modprobe ib_umad
3. Minimal libibverbs setup
c
#include <infiniband/verbs.h>
#include <stdio.h>
#include <stdlib.h>

int main(void) {
    int num_devices;
    struct ibv_device **dev_list = ibv_get_device_list(&num_devices);
    if (!dev_list || num_devices == 0) {
        fprintf(stderr, "No RDMA devices\n");
        return 1;
    }

    struct ibv_context *ctx = ibv_open_device(dev_list[0]);
    struct ibv_pd *pd = ibv_alloc_pd(ctx);

    char buf[4096];
    struct ibv_mr *mr = ibv_reg_mr(pd, buf, sizeof(buf),
        IBV_ACCESS_LOCAL_WRITE | IBV_ACCESS_REMOTE_WRITE);

    struct ibv_cq *cq = ibv_create_cq(ctx, 10, NULL, NULL, 0);

    struct ibv_qp_init_attr qp_attr = {
        .send_cq = cq,
        .recv_cq = cq,
        .cap = { .max_send_wr = 10, .max_recv_wr = 10,
                 .max_send_sge = 1, .max_recv_sge = 1 },
        .qp_type = IBV_QPT_RC,
    };
    struct ibv_qp *qp = ibv_create_qp(pd, &qp_attr);

    printf("QP num %u, MR lkey %u rkey %u\n",
           qp->qp_num, mr->lkey, mr->rkey);

    ibv_destroy_qp(qp);
    ibv_dereg_mr(mr);
    ibv_destroy_cq(cq);
    ibv_dealloc_pd(pd);
    ibv_close_device(ctx);
    ibv_free_device_list(dev_list);
    return 0;
}
bash
gcc -o rdma_setup rdma_setup.c -libverbs
4. Connection setup (RC)

RC requires exchanging QP info (lid, gid, qp_num, psn) out-of-band:

c
// Simplified: exchange via TCP socket before RDMA
struct qp_info {
    uint16_t lid;
    uint32_t qpn;
    uint32_t psn;
    union ibv_gid gid;
};

// Modify QP to INIT → RTR → RTS states
struct ibv_qp_attr attr = { .qp_state = IBV_QPS_INIT, ... };
ibv_modify_qp(qp, &attr, IBV_QP_STATE | IBV_QP_PKEY_INDEX | ...);
// RTR: set path_mtu, dest_qp_num, rq_psn, ah_attr
// RTS: set sq_psn, timeout, retry_cnt

Use rdmacm (librdmacm) for simplified connection management:

c
#include <rdma/rdma_cma.h>
// rdma_create_event_channel, rdma_connect, rdma_accept
5. Send/Recv (two-sided)
c
// Post receive
struct ibv_recv_wr recv_wr = {}, *bad_wr;
struct ibv_sge recv_sge = { .addr = (uint64_t)recv_buf, .length = 4096, .lkey = mr->lkey };
recv_wr.wr_id = 1;
recv_wr.sg_list = &recv_sge;
recv_wr.num_sge = 1;
ibv_post_recv(qp, &recv_wr, &bad_wr);

// Post send
struct ibv_send_wr send_wr = {}, *bad_send;
struct ibv_sge send_sge = { .addr = (uint64_t)send_buf, .length = msg_len, .lkey = mr->lkey };
send_wr.wr_id = 2;
send_wr.opcode = IBV_WR_SEND;
send_wr.sg_list = &send_sge;
send_wr.num_sge = 1;
ibv_post_send(qp, &send_wr, &bad_send);

// Poll completion
struct ibv_wc wc;
while (ibv_poll_cq(cq, 1, &wc) == 0);
if (wc.status != IBV_WC_SUCCESS)
    fprintf(stderr, "WC error: %s\n", ibv_wc_status_str(wc.status));
6. RDMA Write (one-sided)
c
struct ibv_send_wr wr = {}, *bad;
struct ibv_sge sge = { .addr = (uint64_t)local_buf, .length = len, .lkey = local_mr->lkey };

wr.wr_id = 3;
wr.opcode = IBV_WR_RDMA_WRITE;
wr.send_flags = IBV_SEND_SIGNALED;
wr.sg_list = &sge;
wr.num_sge = 1;
wr.wr.rdma.remote_addr = remote_addr;  // from peer exchange
wr.wr.rdma.rkey = remote_rkey;

ibv_post_send(qp, &wr, &bad);

Remote CPU is not interrupted — data appears in remote memory directly.

7. RoCE vs InfiniBand
InfiniBandRoCE
PhysicalDedicated IB fabricEthernet (lossless DCB/PFC)
LID/GIDBothPrimarily GID (IPv6-like)
SetupSubnet managerDCB config, PFC, ECN
bash
# RoCEv2 GID
cat /sys/class/infiniband/mlx5_0/ports/1/gids/3
8. perftest benchmarking
bash
# Server
ib_send_bw -d mlx5_0 -x 3

# Client
ib_send_bw -d mlx5_0 -x 3 <server_ip>

# Latency
ib_send_lat -d mlx5_0 <server_ip>

# RDMA write bandwidth
ib_write_bw -d mlx5_0 <server_ip>
9. Rust rdma-sys
toml
# Cargo.toml
rdma-sys = "0.1"

Wrap libibverbs with safe abstractions or use async-rdma crate for higher-level API.

Common Problems

SymptomCauseFix
ibv_reg_mr failsMemory limit or wrong permissionsCheck ulimit -l; set access flags
WC status rem_inv_reqBad rkey/addrRe-exchange MR info after reconnect
QP RTS failureWrong PSN or pathVerify lid/gid match; subnet manager
RoCE packet lossNo PFC on switchesEnable lossless Ethernet; DCQCN
Low bandwidthSmall message sizeIncrease MTU; use larger WRs
Device not foundDriver not loadedmodprobe mlx5_ib; check ibv_devices
  • skills/hpc/mpi — MPI often uses RDMA under UCX/IB verbs
  • skills/async-io/dpdk — alternative userspace networking
  • skills/allocators/numa-programming — NUMA-local MR registration
  • skills/profilers/linux-perf — CPU-side RDMA completion polling
  • skills/kernel/device-drivers — RDMA driver internals
  • skills/virtualization/qemu-kvm — SR-IOV VF passthrough for RDMA

© mohitmishra786, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/hpc/rdma-verbs of mohitmishra786/low-level-dev-skills.

Open the folder on GitHubat commit bdc5847

Compare with similar skills

Rdma Verbs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rdma Verbs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rdma Verbs this skillmohitmishra786/low-level-dev-skills252—~1.6kAutomated safety check: PassMIT
Strict Programming Practicescode-yeongyu/oh-my-openagent70k—~9.5kAutomated safety check: PassCustom licence
Referral Programalirezarezvani/claude-skills28k—~3.4kAutomated safety check: PassMIT
Doca RdmaNVIDIA/skills3.6k—~3.5kAutomated safety check: PassApache-2.0
Intern Programsickn33/agentic-awesome-skills47k1 repos~3.9kAutomated safety check: PassMIT
Mentorship Programsickn33/agentic-awesome-skills47k1 repos~3.7kAutomated safety check: PassMIT

Similar skills

  • Strict Programming Practices

    code-yeongyu/oh-my-openagent

    Applies strict, type-first coding rules for Python, Rust, TypeScript and Go, loading the matching language reference before the agent writes or edits any code.

    70k GitHub stars~9.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Referral Program

    alirezarezvani/claude-skills

    When the user wants to design, launch, or optimize a referral or affiliate program.

    28k GitHub stars~3.4k tokensUpdated 1 mo ago
    Marketing & SEOAuto-check passed
  • Doca Rdma

    NVIDIA/skills

    Official

    A skill your agent uses when the user is doing hands-on DOCA RDMA programming on a BlueField DPU, ConnectX NIC, or DOCA host — bringing up an RDMA context on a docadev, picking a connection method…

    3.6k GitHub stars~3.5k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Intern Program

    sickn33/agentic-awesome-skills

    Internship register: intern and department, supervisor and mentor, institution, start and end dates, stipend, learning goals, mid-term and final scores, conversion flags.

    47k GitHub starsUsed in 1 repo~3.9k tokens
    Auto-check passed
  • Mentorship Program

    sickn33/agentic-awesome-skills

    Mentorship register: mentor and mentee pair, department, focus area, mentee goal, session counts, last and next session, overall rating, progress notes and status.

    47k GitHub starsUsed in 1 repo~3.7k tokens
    Auto-check passed
  • Doca Verbs

    NVIDIA/skills

    Official

    A skill your agent uses when the user is dropping below the higher-level DOCA libraries (doca-rdma / doca-eth / doca-rmax) into the raw-verbs escape hatch — managing QP / CQ / PD / MR / SRQ / AH /…

    3.6k GitHub stars~4.9k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from mohitmishra786/low-level-dev-skills

All 138 skills in this repo
  • ARM and AArch64 Assembly

    mohitmishra786/low-level-dev-skills

    Guides reading and writing AArch64 and ARM Thumb assembly: compiler output, inline asm, registers, the AAPCS calling convention and NEON or SVE basics.

    252 GitHub stars~1.9k tokensUpdated 3 mo ago
    Auto-check passed
  • RISC-V Assembly Guide

    mohitmishra786/low-level-dev-skills

    Reference for RISC-V assembly on RV32 and RV64: register names and calling convention, extension naming, GCC and Clang inline asm, and QEMU with GDB debugging.

    252 GitHub stars~1.8k tokensUpdated 3 mo ago
    Auto-check passed
  • x86-64 Assembly Reference

    mohitmishra786/low-level-dev-skills

    Explains x86-64 registers, the System V AMD64 calling convention, and how to read compiler-generated or inline assembly.

    252 GitHub stars~1.5k tokensUpdated 3 mo ago
    Auto-check passed
  • Bazel for C and C++

    mohitmishra786/low-level-dev-skills

    Guides your agent through Bazel for C/C++ projects: BUILD files, Bzlmod dependencies, toolchain registration, remote execution, dependency queries and sandbox debugging.

    252 GitHub stars~1.5k tokensUpdated 3 mo ago
    Auto-check passed
  • Binary Hardening

    mohitmishra786/low-level-dev-skills

    Binary hardening skill for security-hardened C/C++ builds. An agent skill from mohitmishra786/low-level-dev-skills.

    252 GitHub stars~2k tokensUpdated 3 mo ago
    Auto-check passed
  • Binutils

    mohitmishra786/low-level-dev-skills

    GNU binutils skill for binary manipulation and analysis. An agent skill from mohitmishra786/low-level-dev-skills.

    252 GitHub stars~1.2k tokensUpdated 3 mo ago
    Auto-check passed

Questions about Rdma Verbs

What does Rdma Verbs do?

RDMA verbs skill for InfiniBand and RoCE programming. An agent skill from mohitmishra786/low-level-dev-skills. Rdma Verbs is an agent skill from mohitmishra786/low-level-dev-skills. RDMA verbs skill for InfiniBand and RoCE programming.

When should I use Rdma Verbs?

Rdma Verbs fits situations like: using libibverbs API; creating queue pairs; RDMA read/write operations; benchmarking with perftest.

How do I install Rdma Verbs in Claude Code?

Run `npx skills add mohitmishra786/low-level-dev-skills --skill rdma-verbs -a claude-code`. Or copy the skill folder (skills/hpc/rdma-verbs in mohitmishra786/low-level-dev-skills) into .claude/skills/rdma-verbs in your project. Claude Code loads it when a task matches its description.

How do I install Rdma Verbs in Codex?

Run `npx skills add mohitmishra786/low-level-dev-skills --skill rdma-verbs -a codex`. Or copy the skill folder (skills/hpc/rdma-verbs in mohitmishra786/low-level-dev-skills) into .agents/skills/rdma-verbs in your project. Codex loads it when a task matches its description.

Can I use Rdma Verbs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mohitmishra786/low-level-dev-skills --skill rdma-verbs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rdma-verbs, .gemini/skills/rdma-verbs, .github/skills/rdma-verbs and .opencode/skills/rdma-verbs in your project.

What does Rdma Verbs need to run?

SKILL.md names no scripts, command-line tools or credentials: Rdma Verbs is instructions for the agent only.

Does Rdma Verbs access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rdma Verbs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Rdma Verbs use?

Rdma Verbs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rdma Verbs use?

About 1.6k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rdma Verbs?

Skills that share tags, products or a category with Rdma Verbs: Strict Programming Practices (code-yeongyu/oh-my-openagent, 70k stars), Referral Program (alirezarezvani/claude-skills, 28k stars), Doca Rdma (NVIDIA/skills, 3.6k stars) and Intern Program (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rdma Verbs?

mohitmishra786 (a GitHub user) maintains it in mohitmishra786/low-level-dev-skills, which has 252 GitHub stars. The repository holds 138 skills in this directory. The repository was last updated on June 27, 2026.

Source: mohitmishra786/low-level-dev-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.