Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mohitmishra786/low-level-dev-skills --skill sched-extgit clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/sched-ext)<a href="https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/sched-ext"><img src="https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/sched-ext/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/sched-ext"><img src="https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/sched-ext.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00128 | $0.03462 |
| Opus 5.5 | $0.00051 | $0.01385 |
| Sonnet 5.5 | $0.00026 | $0.00692 |
| Haiku 4.5 | $0.00013 | $0.00346 |
Grade B, and why
sched-ext scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo scx_lavd # runs until Ctrl-C, then the kernel falls back to the fair class How it starts
The opening of the file, as written. The whole thing — 308 lines — stays where its author put it; the contents beside it link to each section on GitHub.
sched_ext — BPF CPU Schedulers
Purpose
Guide agents through sched_ext (examples checked on Linux 7.3.5): enabling it, running existing schedulers, writing a minimal BPF scheduler, and debugging or measuring one safely.
Triggers
- "How do I try a sched_ext scheduler like scx_lavd?"
- "How do I write my own CPU scheduler in BPF?"
- "Why did my BPF scheduler get disabled?"
- "What are dispatch queues (DSQs)?"
- "Is sched_ext safe to run in production?"
- "How do I check which scheduler is active?"
Workflow
1. What sched_ext is
sched_ext (upstream since Linux 6.12) adds a scheduling class whose policy is a BPF
struct_ops program loaded from user space. When the program exits, errors or stalls, the
kernel switches all tasks back to the default fair class. Linux 7.1 added per-cgroup
sub-schedulers. Meta and Google run it in production; CachyOS and SteamOS use it on desktops.
Want different scheduling behaviour?
├── Tuning knobs (nice, cgroup cpu.weight, isolcpus) enough? → use them first
├── An existing scx scheduler fits (gaming latency, throughput, NUMA)? → section 3
└── Workload-specific policy needed → write one (sections 4-5), test in a VM first
2. Kernel configuration
CONFIG_SCHED_CLASS_EXT=y # depends on the three below
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT=y
CONFIG_DEBUG_INFO_BTF=y # needs pahole at build time
Schedulers built with the in-tree helpers (tools/sched_ext) or the scx repository also need:
CONFIG_FUNCTION_TRACER=y # fentry programs in the scx common headers
CONFIG_DYNAMIC_FTRACE=y
CONFIG_BPF_EVENTS=y
CONFIG_CGROUP_SCHED=y # struct_ops has cgroup callbacks the loader expects
CONFIG_EXT_GROUP_SCHED=y
tools/sched_ext/Kconfig in the kernel tree is the full recommended fragment.
# Is sched_ext available and is a scheduler loaded?
cat /sys/kernel/sched_ext/state # disabled | enabled
cat /sys/kernel/sched_ext/root/ops # name of the running scheduler (only when enabled)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 14d ago First seen · 308 lines · 128 tokens per session scan B 30b2663b49af
sched-ext is a skill published in the GitHub repository mohitmishra786/low-level-dev-skills (310 stars, last pushed 14d ago), licensed MIT. It adds 128 tokens to every session and 3,462 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-21.
sched-ext compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sched-extmohitmishra786/low-level-dev-skills | Skill | 310 | 14d ago | MIT | B | 128 | Claude Code, Codex |
| ecommerce-marketing-strategy-buildernexscope-ai/eCommerce-Skills | Skill | 1.6k | today | MIT | A | 112 | Claude Code, Codex |
| product-description-generatornexscope-ai/eCommerce-Skills | Skill | 1.6k | today | MIT | A | 126 | Claude Code, Codex |
| shopify-marketingnexscope-ai/eCommerce-Skills | Skill | 1.6k | today | MIT | A | 60 | Claude Code, Codex |
| tiktok-shop-cross-bordernexscope-ai/eCommerce-Skills | Skill | 1.6k | today | MIT | A | 55 | Claude Code, Codex |
| ecommerce-landing-pagenexscope-ai/eCommerce-Skills | Skill | 1.6k | today | MIT | A | 45 | Claude Code, Codex |
| market-gap-analysisnexscope-ai/eCommerce-Skills | Skill | 1.6k | today | MIT | A | 38 | Claude Code, Codex |