iouring skill for Linux async I/O. An agent skill from mohitmishra786/low-level-dev-skills.

MITAuto-check passed

Install Io Uring

skills CLI
$ npx skills add mohitmishra786/low-level-dev-skills --skill io-uring -a claude-code

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

GitHub CLI
$ gh skill install mohitmishra786/low-level-dev-skills io-uring --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/async-io/io-uring .claude/skills/io-uring && 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
io-uring
GitHub stars
253
Token cost
~1.8k tokens
SKILL.md length
320 words
Files
1
Skills in repo
138
Repo updated
First seen
Licence
MIT

At a glance

iouring skill for Linux async I/O. An agent skill from mohitmishra786/low-level-dev-skills.

  • Works in 10 steps: SQ/CQ model → Minimal liburing example → Common prep operations → …
  • Building high-performance servers with liburing
  • SKILL.md covers Purpose, When to Use, Workflow and Common Problems, plus 1 more section
  • Calls cargo

What it does

Io Uring is an agent skill from mohitmishra786/low-level-dev-skills. iouring skill for Linux async I/O. Use when building high-performance servers with liburing, multi-shot operations, provided buffers, fixed files, zero-copy send, or tokio-uring. Activates on queries about iouring, SQE/CQE, liburing, IORINGOPPROVIDEBUFFERS, or iouring vs epoll.

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

It works with Linux and Rust. 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

  • Building high-performance servers with liburing
  • Multi-shot operations
  • Provided buffers

Example prompts

  • “/io-uring”

Workflow steps

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

  1. SQ/CQ model
  2. Minimal liburing example
  3. Common prep operations
  4. Multi-shot operations
  5. Provided buffer rings
  6. Fixed files and registered buffers
  7. Zero-copy send
  8. tokio-uring (Rust)
  9. io_uring vs epoll
  10. Security considerations

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

    Shell commands in SKILL.md call:

    • cargo

    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

Io Uring loads about 1.8k tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 320 words of instructions outside code blocks.

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

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). 320 words, ~1,766 tokens.

Download SKILL.mdSave it as .claude/skills/io-uring/SKILL.md (or your agent's skills folder).
name
io-uring
description
io_uring skill for Linux async I/O. Use when building high-performance servers with liburing, multi-shot operations, provided buffers, fixed files, zero-copy send, or tokio-uring. Activates on queries about io_uring, SQE/CQE, liburing, IORING_OP_PROVIDE_BUFFERS, or io_uring vs epoll.

io_uring

Purpose

Guide agents through Linux io_uring: the submission/completion queue model (SQE/CQE), liburing API, multi-shot accept/recv, provided buffer rings, fixed files and registered buffers, zero-copy send, Rust integration with tokio-uring, performance comparison with epoll, and security considerations.

When to Use

  • Building a high-throughput network or disk server on Linux 5.1+
  • Replacing epoll + thread pool with fewer syscalls
  • Implementing multi-shot accept/recv for connection-heavy services
  • Using zero-copy networking with IORING_OP_SEND_ZC
  • Integrating async I/O in Rust via tokio-uring
  • Evaluating io_uring vs epoll for your workload

Workflow

1. SQ/CQ model
Application                    Kernel
    │                            │
    ├── mmap SQ ring ───────────►│ submission queue (SQE)
    ├── mmap CQ ring ◄──────────│ completion queue (CQE)
    ├── io_uring_submit() ──────►│ processes SQEs
    └── io_uring_wait_cqe() ◄──│ posts CQEs

Each SQE describes one operation; each CQE reports result and user_data cookie.

2. Minimal liburing example
c
#include <liburing.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>

int main(void) {
    struct io_uring ring;
    io_uring_queue_init(32, &ring, 0);

    int fd = open("test.txt", O_RDONLY);
    char buf[4096];

    struct io_uring_sqe *sqe = io_uring_get_sqe(&ring);
    io_uring_prep_read(sqe, fd, buf, sizeof(buf), 0);
    io_uring_sqe_set_data(sqe, (void *)1);

    io_uring_submit(&ring);

    struct io_uring_cqe *cqe;
    io_uring_wait_cqe(&ring, &cqe);
    if (cqe->res >= 0)
        printf("read %d bytes\n", cqe->res);
    else
        perror("read");

    io_uring_cqe_seen(&ring, cqe);
    io_uring_queue_exit(&ring);
    close(fd);
    return 0;
}
bash
gcc -o uring_read uring_read.c -luring
./uring_read
3. Common prep operations
FunctionOperation
io_uring_prep_readFile read
io_uring_prep_writeFile write
io_uring_prep_recvSocket recv
io_uring_prep_sendSocket send
io_uring_prep_acceptAccept connection
io_uring_prep_connectOutbound connect
io_uring_prep_poll_addPoll fd
io_uring_prep_timeoutTimeout/link timeout
c
// Batch multiple SQEs before single submit
for (int i = 0; i < n; i++) {
    sqe = io_uring_get_sqe(&ring);
    io_uring_prep_read(sqe, fds[i], bufs[i], sizes[i], 0);
    io_uring_sqe_set_data(sqe, (void *)(intptr_t)i);
}
io_uring_submit(&ring);
4. Multi-shot operations
c
// Multi-shot accept — one SQE handles many connections
sqe = io_uring_get_sqe(&ring);
io_uring_prep_multishot_accept(sqe, listen_fd, NULL, NULL, 0);
io_uring_sqe_set_data(sqe, (void *)ACCEPT_COOKIE);

// Loop on CQEs until CQE_FLAG_MORE is clear
while (1) {
    io_uring_wait_cqe(&ring, &cqe);
    if (cqe->user_data == ACCEPT_COOKIE) {
        int client_fd = cqe->res;
        if (client_fd >= 0)
            handle_client(client_fd);
        if (!(cqe->flags & IORING_CQE_F_MORE))
            break;  // re-arm accept SQE
    }
    io_uring_cqe_seen(&ring, cqe);
}
5. Provided buffer rings
c
#include <liburing.h>

#define BUF_GROUP 0
#define BUF_SIZE  4096
#define BUF_COUNT 64

struct io_uring_buf_ring *buf_ring;
char bufs[BUF_COUNT][BUF_SIZE];

// Setup buffer ring
buf_ring = io_uring_setup_buf_ring(&ring, BUF_COUNT, BUF_GROUP, 0, &ret);
for (int i = 0; i < BUF_COUNT; i++)
    io_uring_buf_ring_add(buf_ring, bufs[i], BUF_SIZE, i, BUF_COUNT - 1 - i, 0);
io_uring_buf_ring_advance(buf_ring, BUF_COUNT);

// Recv with provided buffers
sqe = io_uring_get_sqe(&ring);
io_uring_prep_recv_multishot(sqe, sock_fd, NULL, 0, 0);
sqe->buf_group = BUF_GROUP;

Kernel selects buffer from ring — eliminates per-recv buffer allocation.

6. Fixed files and registered buffers
c
// Register files — avoids per-op fd table lookup
int fds[64];
io_uring_register_files(&ring, fds, 64);
io_uring_prep_read(sqe, 0, buf, size, offset);  // index 0, not fd

// Registered buffers — pinned, DMA-friendly
struct iovec iov = { .iov_base = buf, .iov_len = size };
io_uring_register_buffers(&ring, &iov, 1);
io_uring_prep_read_fixed(sqe, fd, buf, size, offset, 0);
7. Zero-copy send
c
sqe = io_uring_get_sqe(&ring);
io_uring_prep_send_zc(sqe, sock_fd, data, len, 0, 0);
// May complete with IORING_CQE_F_MORE — wait for notification CQE

Requires kernel 6.0+, NIC/driver support. Falls back to copy mode if unavailable.

8. tokio-uring (Rust)
rust
use tokio_uring::fs::File;

#[tokio_uring::main]
async fn main() -> std::io::Result<()> {
    let file = File::open("test.txt").await?;
    let buf = vec![0u8; 4096];
    let (res, buf) = file.read_at(buf, 0).await;
    println!("read {} bytes", res?);
    Ok(())
}
bash
cargo add tokio-uring
9. io_uring vs epoll
Aspectepollio_uring
Syscallsepoll_wait + read/write per opBatch SQEs, single submit
Buffer mgmtApp allocatesProvided buffers
Zero-copysendfile, manualSEND_ZC built-in
ComplexityLowerHigher
Kernel version2.6+5.1+ (features vary)
Choose io_uring when
├── Syscall overhead is measurable bottleneck
├── High connection count with multi-shot
└── Kernel 6.x+ with needed op support

Stay on epoll when
├── Simple app, portability matters
└── Team familiarity outweighs gains
10. Security considerations
bash
# Restrict unprivileged io_uring (some distros disable by default)
sysctl kernel.io_uring_disabled   # 0=enabled, 1=disabled, 2=allow registered
sysctl kernel.io_uring_group      # gid allowed when disabled=2

io_uring has been an attack surface — keep kernels patched; sandbox untrusted code.

Common Problems

SymptomCauseFix
-EINVAL on prepOp not supported on kernelCheck io_uring_get_probe()
Hang on wait_cqeMissing submitCall io_uring_submit after SQEs
Buffer not returnedProvided buffer not re-addedbuf_ring_add after consuming
SEND_ZC incompleteNeed second CQEWait for IORING_CQE_F_MORE clear
Slower than epollSmall batch sizeBatch more SQEs; use SQPOLL
Permission deniedio_uring disabledsysctl or run with capability
  • skills/async-io/dpdk — kernel bypass alternative for networking
  • skills/async-io/af-xdp — XDP socket path for packet I/O
  • skills/observability/ebpf — trace io_uring events
  • skills/rust/rust-async-internals — async model behind tokio-uring
  • skills/profilers/strace-ltrace — syscall comparison vs epoll
  • skills/kernel/kernel-internals — kernel I/O subsystem context

© 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/async-io/io-uring of mohitmishra786/low-level-dev-skills.

Open the folder on GitHubat commit bdc5847

Compare with similar skills

Io Uring 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.

Io Uring compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Io Uring this skillmohitmishra786/low-level-dev-skills253—~1.8kAutomated safety check: PassMIT
Apple Container Test RunnerRustPython/RustPython22k—~467Automated safety check: PassMIT
RmuxHelvesec/rmux2.7k—~1.3kAutomated safety check: PassCustom licence
Waku Computer Useegoist/waku1.6k—~3.6kAutomated safety check: PassGPL-3.0
Linux Desktop Controlagent-sh/computer-use-linux663—~2.8kAutomated safety check: PassMIT
Plugin CreatoruseLexora/Lexora548—~1kAutomated safety check: PassAGPL-3.0

Similar skills

  • Apple Container Test Runner

    RustPython/RustPython

    Runs RustPython tests inside a Linux container built with Apple's container CLI, so macOS users can compare Linux results with their local ones.

    22k GitHub stars~467 tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Rmux

    Helvesec/rmux

    Guide for using RMUX with Claude Code, including the tmux-compatible CLI, agent automation waits, the typed SDK, browser web-share, and the rmux claude launcher.

    2.7k GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Control local macOS, Windows, and Linux apps through Waku Computer Use.

    1.6k GitHub stars~3.6k tokensUpdated 6 days ago
    Productivity & AutomationAuto-check passed
  • Linux Desktop Control

    agent-sh/computer-use-linux

    Lets an agent observe and operate a local Linux desktop through the computer-use-linux MCP server or Pi tools: accessibility trees, screenshots, windows and input.

    663 GitHub stars~2.8k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Plugin Creator

    useLexora/Lexora

    创建、修改并验证可安装的 Lexora 桌面插件,包括工作台装饰、导航与面板、文件阅读工具、控件样式、网络查询、通知和定时命令。也响应 $plugin-creator。普通任务执行、使用现有插件、其他产品的插件开发不属于此技能。

    548 GitHub stars~1k tokensUpdated 8 days ago
    Agent WorkflowsAuto-check passed
  • Ccap

    wysaid/CameraCapture

    Install or use the ccap CLI for camera capture, webcam inspection, device listing, frame capture, and video metadata.

    191 GitHub stars~1.4k tokensUpdated 3 mo ago
    MobileAuto-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.

    253 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.

    253 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.

    253 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.

    253 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.

    253 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.

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

Works with

Questions about Io Uring

What does Io Uring do?

iouring skill for Linux async I/O. An agent skill from mohitmishra786/low-level-dev-skills. Io Uring is an agent skill from mohitmishra786/low-level-dev-skills. iouring skill for Linux async I/O.

When should I use Io Uring?

Io Uring fits situations like: building high-performance servers with liburing; multi-shot operations; provided buffers.

How do I install Io Uring in Claude Code?

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

How do I install Io Uring in Codex?

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

Can I use Io Uring 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 io-uring -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/io-uring, .gemini/skills/io-uring, .github/skills/io-uring and .opencode/skills/io-uring in your project.

What does Io Uring need to run?

Going by SKILL.md and its folder, Io Uring needs the command-line tools its instructions call (cargo).

Does Io Uring 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 Io Uring 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 Io Uring use?

Io Uring 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 Io Uring use?

About 1.8k tokens (SKILL.md is roughly 7.1k 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 Io Uring?

Skills that share tags, products or a category with Io Uring: Apple Container Test Runner (RustPython/RustPython, 22k stars), Rmux (Helvesec/rmux, 2.7k stars), Waku Computer Use (egoist/waku, 1.6k stars) and Linux Desktop Control (agent-sh/computer-use-linux, 663 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Io Uring?

mohitmishra786 (a GitHub user) maintains it in mohitmishra786/low-level-dev-skills, which has 253 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.