Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skillsnpx agentmods add skills/mohitmishra786/low-level-dev-skills/kernel-testingWrote 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/kernel-testing)<a href="https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/kernel-testing"><img src="https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/kernel-testing/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/kernel-testing"><img src="https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/kernel-testing.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.00078 | $0.01586 |
| Opus 5.5 | $0.00031 | $0.00634 |
| Sonnet 5.5 | $0.00016 | $0.00317 |
| Haiku 4.5 | $0.00008 | $0.00159 |
Grade B, and why
kernel-testing 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 15d 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.
| LTP massive failures | Wrong environment | Run as root; check prerequisites in README | How it starts
The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kernel Testing
Purpose
Guide agents through testing the Linux kernel: KUnit in-kernel unit tests, the kselftest harness, syzkaller fuzzing with kcov coverage, Linux Test Project (LTP) syscall regression, and KernelCI integration for continuous testing.
Triggers
- Writing unit tests for kernel library code or driver helpers
- Adding regression tests to
tools/testing/selftests/ - Fuzzing syscalls and ioctl interfaces with syzkaller
- Measuring kernel code coverage with kcov
- Running LTP for syscall compatibility validation
- Setting up CI for kernel patches
Workflow
1. KUnit — in-kernel unit tests
// test_example.c
#include <kunit/test.h>
static void example_test(struct kunit *test)
{
KUNIT_EXPECT_EQ(test, 1 + 1, 2);
KUNIT_ASSERT_NOT_ERR_OR_NULL(test, kmalloc(16, GFP_KERNEL));
}
static struct kunit_case example_test_cases[] = {
KUNIT_CASE(example_test),
{}
};
static struct kunit_suite example_suite = {
.name = "example",
.test_cases = example_test_cases,
};
kunit_test_suite(example_suite);
MODULE_LICENSE("GPL");
# Makefile
obj-$(CONFIG_KUNIT) += test_example.o
# Run KUnit (in-tree)
./tools/testing/kunit/kunit.py run
# Run specific test
./tools/testing/kunit/kunit.py run --filter example
# With cross-compilation
./tools/testing/kunit/kunit.py run --cross_compile aarch64-linux-gnu- \
--arch arm64
KUnit runs in kernel context (UMH or dedicated kunit kernel). Use kunit_kmalloc for test allocations.
2. kselftest harness
# Build all selftests
cd tools/testing/selftests
make -j$(nproc)
# Run all
make run_tests
# Run specific test
./memfd/memfd_test
./mount/run_unprivileged_remount.sh
Adding a new selftest:
tools/testing/selftests/mytest/
├── Makefile
├── mytest.c
└── config # optional kconfig requirements
# tools/testing/selftests/mytest/Makefile
CFLAGS += -Wall
TEST_GEN_FILES := mytest
TEST_PROGS := mytest
include ../lib.mk
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.
- 15d ago Changed · +2 lines 0360ce313256
- 3mo ago First seen · 239 lines · 78 tokens per session scan B 37babc4a8c3a
kernel-testing is a skill published in the GitHub repository mohitmishra786/low-level-dev-skills (311 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 1,586 once invoked, about $0.0003 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-09-03.
kernel-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kernel-testingmohitmishra786/low-level-dev-skills | Skill | 311 | today | MIT | B | 78 | Claude Code, Codex |
| test-commanderEliasOulkadi/shokunin | Skill | 112 | 2mo ago | MIT | A | 117 | Claude Code |
| testingjkaninda/okapi-skills | Skill | 4 | 3mo ago | MIT | A | 0 | Claude Code, Codex |
| test-writerCODE-SAURABH/OpenSkills | Skill | 6 | 4mo ago | MIT | A | 67 | Claude Code, Codex |
| migrate-xunit-to-xunit-v3dotnet/skills | Skill | 6.5k | today | MIT | A | 149 | Claude Code |
| go-testingGentleman-Programming/gentle-ai | Skill | 9.8k | yesterday | MIT | A | 26 | Claude Code, Codex |
| product-description-generatornexscope-ai/eCommerce-Skills | Skill | 1.6k | 2d ago | MIT | A | 126 | Claude Code, Codex |