Agent skill

Libreqos Rust Workflow

by LibreQoE in LibreQoE/LibreQoS

Shared LibreQoS Rust workflow for repo contributors. An agent skill from LibreQoE/LibreQoS.

GPL-2.0Auto-check passed

Install Libreqos Rust Workflow

skills CLI
$ npx skills add LibreQoE/LibreQoS --skill libreqos-rust-workflow -a claude-code

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

GitHub CLI
$ gh skill install LibreQoE/LibreQoS libreqos-rust-workflow --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-rust-workflow .claude/skills/libreqos-rust-workflow && 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-rust-workflow
GitHub stars
718
Token cost
~1.6k tokens
SKILL.md length
862 words
Files
2
Skills in repo
8
Repo updated
First seen
Licence
GPL-2.0

At a glance

Shared LibreQoS Rust workflow for repo contributors. An agent skill from LibreQoE/LibreQoS.

  • Works in 11 steps: Read AGENTS.md first for current repo… → Identify whether the touched crate is a… → Validate the touched crate with cargo… → …
  • Changing Rust under src/rust
  • SKILL.md covers Scope, Workflow, Architecture And Structure Rules and Documentation Requirements, plus 4 more sections
  • Calls cargo and git

What it does

Libreqos Rust Workflow is an agent skill from LibreQoE/LibreQoS. Shared LibreQoS Rust workflow for repo contributors. Use when changing Rust under src/rust, validating Rust crates, deciding between workspace commands and --manifest-path, or applying LibreQoS-specific Rust conventions and verification steps.

Its SKILL.md is about 1.6k 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 Rust under src/rust
  • Validating Rust crates
  • Deciding between workspace commands and --manifest-path
  • Applying LibreQoS-specific Rust conventions and verification steps

Example prompts

  • “/libreqos-rust-workflow”

Workflow steps

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

  1. Read AGENTS.md first for current repo rules and crate descriptions.
  2. Identify whether the touched crate is a workspace member.
  3. Validate the touched crate with cargo check -p when possible.
  4. Run relevant tests
  5. Run cargo clippy -p -- -D warnings and fix actionable issues.
  6. After any repo change, invoke heckler via $libreqos-review-subagents-workflow before returning to the user.
  7. After each source-code implementation batch, also invoke reaper via $libreqos-review-subagents-workflow.
  8. During large sessions, invoke $libreqos-review-subagents-workflow (and helen if UI changed).
  9. If dependencies changed, also run
  10. If the change adds, renames, moves, or newly depends on runtime files, static assets, helper scripts, service files, templates, or…
  11. Use workspace-wide commands only for cross-cutting changes or shared dependency changes.

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
    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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 Rust Workflow loads about 1.6k tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 862 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
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 LibreQoE/LibreQoS at commit 3eeaf94, republished under its GPL-2.0 licence (© LibreQoE). 862 words, ~1,612 tokens.

Download SKILL.mdSave it as .claude/skills/libreqos-rust-workflow/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
libreqos-rust-workflow
description
Shared LibreQoS Rust workflow for repo contributors. Use when changing Rust under src/rust, validating Rust crates, deciding between workspace commands and --manifest-path, or applying LibreQoS-specific Rust conventions and verification steps.

LibreQoS Rust Workflow

Use this skill for Rust work in this repo.

Scope

  • Rust sources live under src/rust/.
  • src/rust/Cargo.toml is the source of truth for current workspace members.
  • Some crates exist in-tree but are not current workspace members. If a crate is outside [workspace].members, use cargo --manifest-path path/to/Cargo.toml.

Workflow

  1. Read AGENTS.md first for current repo rules and crate descriptions.
  2. Identify whether the touched crate is a workspace member.
  3. Validate the touched crate with cargo check -p <crate> when possible.
  4. Run relevant tests:
    • Unit tests MUST pass.
    • Before any git commit that includes Rust logic changes, you MUST run cargo test -p <crate> (or the smallest equivalent scope) and confirm it compiles and succeeds.
    • Do not add tests just to “have tests”. Tests must validate functionality (avoid assert!(true)-style tests or “tests” that only prove the compiler accepts code).
    • Check for test functions that look like tests but are missing #[test] (functions in #[cfg(test)] modules that are never executed should be treated as a bug unless they are explicitly helper functions).
  5. Run cargo clippy -p <crate> -- -D warnings and fix actionable issues.
    • If you decide to suppress a lint/warning anyway, you MUST include a justification and tell the user: I'M SORRY, MASTER. I HAVE FAILED YOU. I HAVE SUPPRESSED A WARNING WHEN I SHOULD HAVE WRITTEN GOOD CODE. I AM FOREVER IN YOUR DEBT.
  6. After any repo change, invoke heckler via $libreqos-review-subagents-workflow before returning to the user.
  7. After each source-code implementation batch, also invoke reaper via $libreqos-review-subagents-workflow.
  8. During large sessions, invoke $libreqos-review-subagents-workflow (and helen if UI changed).
  9. If dependencies changed, also run:
    • cargo machete
    • cargo audit
    • cargo tree
  10. If the change adds, renames, moves, or newly depends on runtime files, static assets, helper scripts, service files, templates, or install-time artifacts, review and update src/build_dpkg.sh in the same change.
  11. Use workspace-wide commands only for cross-cutting changes or shared dependency changes.

Architecture And Structure Rules

  • Do not create additional binaries unless specifically instructed.
    • Long-running services that can be part of lqosd should be part of lqosd.
  • Do not create large library source files; prefer breaking code into clean modules.
  • Avoid huge functions; prefer small functions.
    • Rule of thumb: anything that won’t fit on a terminal screen is probably too big.

Documentation Requirements

  • Every module must have a doc header describing what it does (//! ... at the top of the module).
  • Every public function and struct must have full RustDoc (examples are optional).
  • Functions must document any side effects (file I/O, network I/O, spawning threads/tasks, touching TC/XDP state, global state, etc.).

Correctness And Error-Handling Requirements

  • If a function has arguments with invariants, check the invariants first and fail fast.
  • Use thiserror for new error types, defined at (or very near) the failure source.
    • Document every failure path; avoid collapsing everything into a single FooError.
  • Avoid anyhow and other Box<dyn Error> patterns in new reusable code.
  • Avoid pub static whenever possible; actor-owned state with clean boundaries is preferred.
    • If a static is unavoidable, guard it behind accessor functions so misuse of the lock is impossible.
Show full SKILL.md (353 more words)Show less

Preferred Rust Direction

  • Prefer parking_lot for new Mutex and RwLock usage.
  • Prefer crossbeam_channel for new MPSC/MPMC channels.
  • Prefer thiserror for structured errors.
  • Prefer let else and early returns over deeply nested if let.
  • Avoid introducing new pub static values with locks when helper functions or actors are better.
  • Avoid introducing new #[inline(always)]; prefer #[inline].
  • Keep RustDoc current for changed public items and note side effects for non-pure functions.
  • Avoid allocation in hot paths.

Async And Tokio

  • Treat async code as latency-sensitive shared execution. Do not add blocking work to a Tokio task without checking the impact on the runtime.
  • Review every synchronous call made from an async context for blocking potential, including filesystem I/O, process spawning, DNS/network clients, compression, parsing of large inputs, CPU-heavy loops, mutex contention, and sleep/wait calls.
  • Use async APIs when they exist and fit the surrounding code.
  • Use tokio::task::spawn_blocking for unavoidable blocking or CPU-heavy work called from async code, and keep the closure narrow so ownership, cancellation behavior, and error handling stay obvious.
  • Do not hold async locks, runtime handles, or request-scoped borrows across spawn_blocking boundaries unless the ownership and lifetime implications are explicit and safe.
  • Prefer tokio::sync primitives inside async tasks. Use blocking locks only when there is a clear reason and no .await can occur while the guard is held.

Notes

  • Existing code does not fully match all preferred conventions yet. Treat these as direction for new and touched code, not as a reason to perform unrelated cleanup.
  • Build/package scripts live under src/, not repo root.
  • src/build_dpkg.sh is a functional packaging manifest for shipped installs. Forgetting to update it is a common failure mode; treat package-content drift as a bug.
  • Treat protocol and identity surfaces as compatibility boundaries:
    • Prefer additive-only changes (new optional fields, #[serde(default)] where applicable).
    • Assume rolling upgrades where old/new binaries may coexist unless a coordinated restart is explicitly planned.
    • Do not rename fields, change types, or change semantics without explicit versioning and a coordinated rollout plan.
    • Keep compatibility shims at the boundary, make them explicit, and test them; avoid “fallbacks everywhere”.
    • Avoid per-request info! logging in hot paths; prefer debug!, sampling, or aggregate counters.

© 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-rust-workflow of LibreQoE/LibreQoS.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 3eeaf94

Compare with similar skills

Libreqos Rust Workflow 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 Rust Workflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Libreqos Rust Workflow this skillLibreQoE/LibreQoS718—~1.6kAutomated 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
  • Libreqos Lqos Sys Ebpf

    LibreQoE/LibreQoS

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

    718 GitHub stars~793 tokensUpdated today
    Auto-check passed

Works with

Questions about Libreqos Rust Workflow

What does Libreqos Rust Workflow do?

Shared LibreQoS Rust workflow for repo contributors. An agent skill from LibreQoE/LibreQoS. Libreqos Rust Workflow is an agent skill from LibreQoE/LibreQoS. Shared LibreQoS Rust workflow for repo contributors.

When should I use Libreqos Rust Workflow?

Libreqos Rust Workflow fits situations like: changing Rust under src/rust; validating Rust crates; deciding between workspace commands and --manifest-path; applying LibreQoS-specific Rust conventions and verification steps.

How do I install Libreqos Rust Workflow in Claude Code?

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

How do I install Libreqos Rust Workflow in Codex?

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

Can I use Libreqos Rust Workflow 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-rust-workflow -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-rust-workflow, .gemini/skills/libreqos-rust-workflow, .github/skills/libreqos-rust-workflow and .opencode/skills/libreqos-rust-workflow in your project.

What does Libreqos Rust Workflow need to run?

Going by SKILL.md and its folder, Libreqos Rust Workflow needs the command-line tools its instructions call (cargo and git).

Does Libreqos Rust Workflow access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Libreqos Rust Workflow 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 Rust Workflow use?

Libreqos Rust Workflow 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 Rust Workflow use?

About 1.6k tokens (SKILL.md is roughly 6.4k 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 Rust Workflow?

Skills that share tags, products or a category with Libreqos Rust Workflow: 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 Rust Workflow?

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.