Agent skill

Libreqos Lqos Sys Ebpf

by LibreQoE in LibreQoE/LibreQoS

Shared LibreQoS workflow for lqossys eBPF, C wrapper, bindgen, and pinned-map ABI work.

GPL-2.0Auto-check passed

Install Libreqos Lqos Sys Ebpf

skills CLI
$ npx skills add LibreQoE/LibreQoS --skill libreqos-lqos-sys-ebpf -a claude-code

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

GitHub CLI
$ gh skill install LibreQoE/LibreQoS libreqos-lqos-sys-ebpf --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/LibreQoE/LibreQoS.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/libreqos-lqos-sys-ebpf .claude/skills/libreqos-lqos-sys-ebpf && 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
libreqos-lqos-sys-ebpf
GitHub stars
718
Token cost
~793 tokens
SKILL.md length
366 words
Files
2
Skills in repo
8
Repo updated
First seen
Licence
GPL-2.0

At a glance

Shared LibreQoS workflow for lqossys eBPF, C wrapper, bindgen, and pinned-map ABI work.

  • Works in 7 steps: Compile src/bpf/lqos_kern.c to LLVM IR… → Convert LLVM IR to a BPF object with llc → Generate lqos_kern_skel.h with bpftool… → …
  • Changing src/rust/lqossys/build.rs
  • SKILL.md covers Scope, Build Pipeline, High-Risk Changes and Required Checklist, plus 4 more sections
  • Calls cargo

What it does

Libreqos Lqos Sys Ebpf is an agent skill from LibreQoE/LibreQoS. Shared LibreQoS workflow for lqossys eBPF, C wrapper, bindgen, and pinned-map ABI work. Use when changing src/rust/lqossys/build.rs, src/rust/lqossys/src/bpf/, wrapper.c or wrapper.h, lqossys Rust mirror structs, or XDP/TC attachment and map ABI behavior.

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It works with Rust. The repository describes itself as: Self-hosted traffic management and network operations platform for ISPs. Use CAKE and fqcodel to reduce bufferbloat, enforce bandwidth plans, and troubleshoot congestion with… The licence is GPL-2.0.

When your agent uses it

  • Changing src/rust/lqossys/build.rs
  • Src/rust/lqossys/src/bpf/
  • Lqossys Rust mirror structs
  • XDP/TC attachment and map ABI behavior

Example prompts

  • “/libreqos-lqos-sys-ebpf”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Compile src/bpf/lqos_kern.c to LLVM IR with clang
  2. Convert LLVM IR to a BPF object with llc
  3. Generate lqos_kern_skel.h with bpftool gen skeleton
  4. Compile src/bpf/wrapper.c
  5. Archive the wrapper into a small static library
  6. Run bindgen on wrapper.h
  7. Include generated bindings from OUT_DIR/bindings.rs

What it can do on your machine

Read from SKILL.md and the folder at commit 3eeaf94. 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

Libreqos Lqos Sys Ebpf loads about 793 tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 366 words of instructions outside code blocks.

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

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 LibreQoE/LibreQoS at commit 3eeaf94, republished under its GPL-2.0 licence (© LibreQoE). 366 words, ~793 tokens.

Download SKILL.mdSave it as .claude/skills/libreqos-lqos-sys-ebpf/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
libreqos-lqos-sys-ebpf
description
Shared LibreQoS workflow for lqos_sys eBPF, C wrapper, bindgen, and pinned-map ABI work. Use when changing src/rust/lqos_sys/build.rs, src/rust/lqos_sys/src/bpf/**, wrapper.c or wrapper.h, lqos_sys Rust mirror structs, or XDP/TC attachment and map ABI behavior.

LibreQoS lqos_sys eBPF Workflow

Use this skill for lqos_sys BPF/FFI work.

Scope

  • Source of truth lives under src/rust/lqos_sys/.
  • eBPF/C code lives under src/rust/lqos_sys/src/bpf/.
  • Rust includes generated bindings from OUT_DIR; do not edit generated artifacts directly.

Build Pipeline

build.rs orchestrates this pipeline:

  1. Compile src/bpf/lqos_kern.c to LLVM IR with clang
  2. Convert LLVM IR to a BPF object with llc
  3. Generate lqos_kern_skel.h with bpftool gen skeleton
  4. Compile src/bpf/wrapper.c
  5. Archive the wrapper into a small static library
  6. Run bindgen on wrapper.h
  7. Include generated bindings from OUT_DIR/bindings.rs

When changing any part of that chain, treat the whole chain as one linked surface.

High-Risk Changes

  • BPF map key/value structs
  • Shared constants such as sizing limits
  • wrapper.h / wrapper.c function signatures
  • Skeleton-exposed program or map names
  • Pinned-map ABI expectations in lqos_kernel.rs

Required Checklist

  1. Edit only source files under src/rust/lqos_sys/.
  2. If a BPF-side struct changes, update the Rust mirror type in the same change.
  3. Update or preserve size assertions for Rust mirror types.
  4. Review pinned-map ABI cleanup in src/rust/lqos_sys/src/lqos_kernel.rs.
  5. Run cargo check -p lqos_sys.
  6. Run relevant tests for touched Rust mirror types and map readers.
  7. If runtime attach/detach behavior changed, state clearly whether live root validation was performed.
  8. After any repo change, invoke heckler via $libreqos-review-subagents-workflow before returning to the user.
  9. After each source-code implementation batch, also invoke reaper via $libreqos-review-subagents-workflow.
Show full SKILL.md (138 more words)Show less

Mirror Types To Check

  • src/rust/lqos_sys/src/throughput.rs
  • src/rust/lqos_sys/src/flowbee_data.rs
  • src/rust/lqos_sys/src/ip_mapping/ip_hash_data.rs
  • src/rust/lqos_sys/src/ip_mapping/ip_hash_key.rs

Safety Rules

  • Do not edit OUT_DIR files.
  • Do not assume a Rust-only change is safe if it reads a BPF map with a mirrored struct layout.
  • Do not run live XDP/TC attach-detach or pinned-map cleanup without explicit user approval; this can disrupt networking on the host.
  • Be careful with verifier-sensitive patterns in BPF code: bounds checks, scratch maps for large structs, and hot-path allocation avoidance are intentional.

Common Failure Modes

  • clang, llc, or bpftool missing from the host
  • Skeleton generation succeeding but wrapper/bindgen drifting
  • Rust mirror struct sizes no longer matching BPF-side layouts
  • Stale pinned maps silently reusing an incompatible ABI

Notes

  • build.rs treats stderr from clang and llc as fatal.
  • Pinned map compatibility cleanup already exists for several maps in lqos_kernel.rs; extend it when introducing new ABI-sensitive pinned maps.

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

Files

SKILL.md and 1 other file in .agents/skills/libreqos-lqos-sys-ebpf of LibreQoE/LibreQoS.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 3eeaf94

Compare with similar skills

Libreqos Lqos Sys Ebpf 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.

Libreqos Lqos Sys Ebpf compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Libreqos Lqos Sys Ebpf this skillLibreQoE/LibreQoS718—~793Automated safety check: PassGPL-2.0
Update V8 Versionopeninterpreter/openinterpreter69k2 repos~845Automated safety check: PassApache-2.0
Firecrawl Page Scrape Integrationfirecrawl/firecrawl190k1 repos~944Automated safety check: PassISC
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
Rust TDD Workflowrtk-ai/rtk83k—~753Automated safety check: NotesApache-2.0
Rust Best Practicesfarm-fe/farm5.6k3 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Update V8 Version

    openinterpreter/openinterpreter

    Bumps the pinned v8 and rusty_v8 versions in Codex, validates the release-candidate path with the v8-canary check, and traces failures to upstream build changes.

    69k GitHub starsUsed in 2 repos~845 tokens
    DevOps & CloudAuto-check passed
  • Adds Firecrawl's /scrape endpoint to application code to pull markdown, HTML, links, screenshots or structured data from a single known URL.

    190k GitHub starsUsed in 1 repo~944 tokens
    Data & AnalyticsAuto-check passed
  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Enforces red-green-refactor for Rust work, with idiomatic test patterns, a naming convention and a pre-commit gate of cargo fmt, clippy and test.

    83k GitHub stars~753 tokensUpdated today
    Testing & QAAuto-check: notes
  • Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.

    5.6k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Decides whether an OpenLogi device problem on macOS is a privacy-permission (TCC) problem, using agent log lines, and says which identity needs which grant.

    23k GitHub stars~2.5k tokensUpdated 4 days ago
    DevelopmentAuto-check: notes

More from LibreQoE/LibreQoS

All 8 skills in this repo
  • Project workflow for invoking the local review sub-agents Thomas, Helen, Beck, Jonas, The Reaper, and Heckler during LibreQoS coding sessions.

    718 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Libreqos Anti Slop

    LibreQoE/LibreQoS

    Anti-slop workflow for LibreQoS. An agent skill from LibreQoE/LibreQoS.

    718 GitHub stars~820 tokensUpdated today
    Auto-check passed
  • Shared LibreQoS workflow for packaging, release, and shipped-file changes.

    718 GitHub stars~781 tokensUpdated today
    Auto-check passed
  • Libreqos Python Workflow

    LibreQoE/LibreQoS

    Shared LibreQoS workflow for Python orchestration, scheduler, integrations, and helper scripts under src/.

    718 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Libreqos Git Workflow

    LibreQoE/LibreQoS

    Shared LibreQoS git workflow. An agent skill from LibreQoE/LibreQoS.

    718 GitHub stars~479 tokensUpdated today
    Auto-check passed
  • Shared LibreQoS workflow for nodemanager frontend work. An agent skill from LibreQoE/LibreQoS.

    718 GitHub stars~915 tokensUpdated today
    Auto-check passed

Works with

Questions about Libreqos Lqos Sys Ebpf

What does Libreqos Lqos Sys Ebpf do?

Shared LibreQoS workflow for lqossys eBPF, C wrapper, bindgen, and pinned-map ABI work. Libreqos Lqos Sys Ebpf is an agent skill from LibreQoE/LibreQoS. Shared LibreQoS workflow for lqossys eBPF, C wrapper, bindgen, and pinned-map ABI work.

When should I use Libreqos Lqos Sys Ebpf?

Libreqos Lqos Sys Ebpf fits situations like: changing src/rust/lqossys/build.rs; src/rust/lqossys/src/bpf/; lqossys Rust mirror structs; XDP/TC attachment and map ABI behavior.

How do I install Libreqos Lqos Sys Ebpf in Claude Code?

Run `npx skills add LibreQoE/LibreQoS --skill libreqos-lqos-sys-ebpf -a claude-code`. Or copy the skill folder (.agents/skills/libreqos-lqos-sys-ebpf in LibreQoE/LibreQoS) into .claude/skills/libreqos-lqos-sys-ebpf in your project. Claude Code loads it when a task matches its description.

How do I install Libreqos Lqos Sys Ebpf in Codex?

Run `npx skills add LibreQoE/LibreQoS --skill libreqos-lqos-sys-ebpf -a codex`. Or copy the skill folder (.agents/skills/libreqos-lqos-sys-ebpf in LibreQoE/LibreQoS) into .agents/skills/libreqos-lqos-sys-ebpf in your project. Codex loads it when a task matches its description.

Can I use Libreqos Lqos Sys Ebpf 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 LibreQoE/LibreQoS --skill libreqos-lqos-sys-ebpf -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/libreqos-lqos-sys-ebpf, .gemini/skills/libreqos-lqos-sys-ebpf, .github/skills/libreqos-lqos-sys-ebpf and .opencode/skills/libreqos-lqos-sys-ebpf in your project.

What does Libreqos Lqos Sys Ebpf need to run?

Going by SKILL.md and its folder, Libreqos Lqos Sys Ebpf needs the command-line tools its instructions call (cargo).

Does Libreqos Lqos Sys Ebpf 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 Libreqos Lqos Sys Ebpf 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 Libreqos Lqos Sys Ebpf use?

Libreqos Lqos Sys Ebpf is published under the GPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Libreqos Lqos Sys Ebpf use?

About 793 tokens (SKILL.md is roughly 3.2k 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 Libreqos Lqos Sys Ebpf?

Skills that share tags, products or a category with Libreqos Lqos Sys Ebpf: Update V8 Version (openinterpreter/openinterpreter, 69k stars), Firecrawl Page Scrape Integration (firecrawl/firecrawl, 190k stars), Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars) and Rust TDD Workflow (rtk-ai/rtk, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Libreqos Lqos Sys Ebpf?

LibreQoE (a GitHub organization) maintains it in LibreQoE/LibreQoS, which has 718 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 8, 2026.

Source: LibreQoE/LibreQoS on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.