device-drivers

device-drivers is a skill for Claude Code, Codex from OutlineDriven/outline-driven-development. It costs 54 tokens per session (5,738 once invoked), scanned B, original, Apache-2.0.

A Linux device-driver guide for working with code that controls hardware through platform, I2C, or SPI connections. It covers driver setup, interrupts, data transfers, power handling, and device nodes.

In plain words
What is it for?
It is for writing or fixing driver source, build settings, and udev rules, then checking that the driver connects, disconnects, handles interrupts and data movement, and manages power correctly.
Why use it?
It helps diagnose common driver failures such as probe errors, interrupt storms, missing device files, and corrupted data transfers.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Good fit It is for writing or fixing driver source, build settings, and udev rules, then checking that the driver connects, disconnects, handles interrupts and data movement, and manages power correctly.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/outlinedriven/outline-driven-development/device-drivers
Install

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.

Any agent
npx skills add OutlineDriven/outline-driven-development --skill device-drivers
Clone the repo
git clone --depth 1 https://github.com/OutlineDriven/outline-driven-development

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for device-drivers

README.md
[![agentmods](https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/device-drivers/github.svg)](https://agentmods.dev/skills/outlinedriven/outline-driven-development/device-drivers)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/device-drivers"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/device-drivers/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.

agentmods 80×15 button for device-drivers

Your own site · 80×15
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/device-drivers"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/device-drivers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,738 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 98
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
  • medium Privilege Escalation · line 98
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.05738
Opus 5.5 $0.00022 $0.02295
Sonnet 5.5 $0.00011 $0.01148
Haiku 4.5 $0.00005 $0.00574

Measured 2mo ago against content hash 3b192ce345a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

device-drivers 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 2mo 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 udevadm control --reload-rules && sudo udevadm trigger
.devin/skills/device-drivers/SKILL.md · 405 lines

How it starts

The opening of the file, as written. The whole thing — 405 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Linux device drivers

Contract

Field Bound contract
Trigger Writing or debugging a Linux device driver in platform, I2C, or SPI form, including its device-tree description, char-device interface, threaded IRQ, DMA, regmap, runtime PM, sysfs, deferred-probe, or udev path.
Authority Reversible local: writes only driver source, Kconfig and Makefile entries, DTS/DTSI, binding and overlay files, and udev rule files inside the project tree; rollback is version control. No remote mutation.
Side effect Local edits to driver, build, device-tree, binding, overlay, and udev files; guidance and debug commands in chat.
Done The device description matches its hardware and driver table, the driver probes and unbinds cleanly, char, IRQ, DMA, bus, and PM paths use the correct APIs, and every observed symptom maps to one checked cause.

Inputs

  1. Driver code or symptom (required): source under review, a probe failure, an IRQ storm, a missing /dev node, NACK or -EREMOTEIO, or DMA corruption.
  2. Bus and device origin (optional): platform, i2c, or spi; the device-tree compatible string, ACPI id, or legacy board-file entry; and the adapter address or SPI chip-select.
  3. Hardware facts (optional): MMIO base and length, IRQ and trigger, clocks, regulators, bus placement, and the register map or datasheet. Supply these when creating a device-tree node or a regmap.
  4. Device-tree context (conditional): the SoC .dtsi, board .dts, binding document, phandles, overlay and boot chain, or a failure report such as a driver that never probes or an IRQ that never fires.
  5. Interface contract (conditional): requested read, write, ioctl, mmap, or poll operations, plus the userspace ioctl header and struct layout.
  6. Transfer shape (conditional): register and value widths, repeated-start requirements, SPI mode and word size, and buffer lifetime or DMA constraints.
  7. Kernel version (optional): mainline 7.2 or LTS 6.18 is assumed when it is not stated.
  8. Mode (optional): device-tree, platform-device-model, bus-drivers-i2c-spi, or writing-char-drivers; choose one branch or combine branches when one driver spans them. Done when: the selected mode and its required inputs are recorded.

Read the full file on GitHub · 405 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 2mo ago Changed · +11 lines 3b192ce345a6
  2. 2mo ago Changed · +266 lines · +8 tokens per session becd37d07133
  3. 2mo ago First seen · 128 lines · 46 tokens per session scan B 52b207c2863b

Subscribe to this mod's changes

device-drivers is a skill published in the GitHub repository OutlineDriven/outline-driven-development (54 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 54 tokens to every session and 5,738 once invoked, about $0.0002 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-06.

Related

device-drivers compared with skills from other repositories

device-drivers next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
device-driversOutlineDriven/outline-driven-developmentSkill542mo agoApache-2.0B54Claude Code, Codex
automatic-cybernetic-flow-designOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A58Claude Code, Codex
pcbwayaklofas/kicad-happySkill1.8k6d agoMITA119Claude Code
akg-agentsXiaoLuoLYG/GODSkill1.3k5d agoApache-2.0A75Claude Code, Codex
bios-setup-variableslaurigates/claude-pluginsSkill60yesterdayMITA43Claude Code
phase1vibeic/vibe-icSkill32todayApache-2.0A156Claude Code
analyzing-malicious-pdfsmeltedinhex/analyst-ai-packSkill253d agoApache-2.0A73Claude Code, Codex