Borrowing it
Nothing to install: this file belongs to adrienm7/ergopti. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/adrienm7/ergopti/main/.agents/skills/linux-driver/SKILL.mdgit clone --depth 1 https://github.com/adrienm7/ergoptiWrote 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/adrienm7/ergopti/linux-driver)<a href="https://agentmods.dev/skills/adrienm7/ergopti/linux-driver"><img src="https://agentmods.dev/badge/skills/adrienm7/ergopti/linux-driver/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/adrienm7/ergopti/linux-driver"><img src="https://agentmods.dev/badge/skills/adrienm7/ergopti/linux-driver.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.00038 | $0.02078 |
| Opus 5.5 | $0.00015 | $0.00831 |
| Sonnet 5.5 | $0.00008 | $0.00416 |
| Haiku 4.5 | $0.00004 | $0.00208 |
Grade A, and why
linux-driver scanned grade A with 0 findings 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Linux driver foot-guns
Universal code rules live in AGENTS.md; the strict convention lint is the
formatting authority. This file covers what has actually gone wrong, or is
provably wrong today, in the Linux driver.
Rewritten 2026-08-06. Every technical section of the previous version described a defect that had since been fixed — the grab, the dead evdev decoder, the missing ShellRunner, the race test's apostrophe hole, kanata's device flag. A skill is loaded automatically and read as current, so a stale one is worse than none: it sends the next reader to repair code that is already correct, and its warnings argue against decisions the driver has since made deliberately. Verify before you trust anything here, and rewrite it when you find it wrong.
What still holds
CI runs LuaJIT and exercises both event backends
npm run test:linux probes luajit, then lua5.4, then lua. Develop against
5.4 locally and you are not testing what gates the merge.
utf8is absent under LuaJIT.tests/run.luainstallscompat.utf8before any test module loads. Under 5.4 the shim is redundant, so a module that depends on its exact shape breaks only on LuaJIT.- No bitwise operators. LuaJIT is 5.1-based;
&,<<and//are 5.3+.device_finder.luaspells the EV_KEY bit test out arithmetically for exactly this reason. A&compiles fine on 5.4 and is a syntax error in CI. os.executereturn type. 5.1/LuaJIT return a number, 5.2+ returntrue. Every call site must accept both (result == true or result == 0).- The unit lane installs
luvand admits its real event-loop and file-event integrations. Polling tests explicitly load the dependency as absent, so installed libraries cannot silently change the branch under test.lfsremains optional, so test discovery can still shell out. - Plain
lua5.1is not viable:gotois 5.2+.
A local declared after the function that reads it is a nil global
The single most repeated defect in this driver — five occurrences, two of them on 2026-08-06 alone. The function binds the nil GLOBAL instead of the local, and the read silently does nothing: no error, no log, just a counter that stays at zero or a state that never applies.
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 First seen · 145 lines · 38 tokens per session scan A 9fd627e72d31
linux-driver is a skill published in the GitHub repository adrienm7/ergopti (14 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 2,078 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-14.
Other skills, from other repositories
performance-optimization
Enterprise performance optimization skill that identifies bottlenecks, analyzes caching strategies, performs load testing, and provides actionable optimization recommendations with detailed profiling metrics.
golang-testing
Go testing best practices including table-driven tests, test helpers, benchmarking, race detection, coverage analysis, and integration testing patterns. Use when writing or improving Go tests.
compiler-port
Port a compiler pass from TypeScript to Rust. Gathers context, plans the port, implements in a subagent with test-fix loop, then reviews.
java-affected-tests
Use before opening or updating an OpenMetadata PR that changes Java, a JSON schema, an index mapping, a SQL migration, seed data or a pom — PR CI no longer runs the Java integration tests (they run only in the merge queue) and the JavaUIIT/search-it suites run only nightly, so this selects the unit tests and…
migrate-xunit-to-xunit-v3
Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest…
golang-testing
Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI…