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 OutlineDriven/outline-driven-development --skill bus-drivers-i2c-spigit clone --depth 1 https://github.com/OutlineDriven/outline-driven-developmentWrote 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/outlinedriven/outline-driven-development/bus-drivers-i2c-spi)<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/bus-drivers-i2c-spi"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/bus-drivers-i2c-spi/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/outlinedriven/outline-driven-development/bus-drivers-i2c-spi"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/bus-drivers-i2c-spi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00052 | $0.01641 |
| Opus 5.5 | $0.00021 | $0.00656 |
| Sonnet 5.5 | $0.00010 | $0.00328 |
| Haiku 4.5 | $0.00005 | $0.00164 |
Grade A, and why
bus-drivers-i2c-spi 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 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.
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 — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bus drivers (I2C and SPI)
Contract
| Field | Bound contract |
|---|---|
| Trigger | Writing a Linux I2C or SPI client driver: bus registration, i2c_transfer or spi_sync, regmap over the bus, DMA-safe SPI buffers, device tree binding on bus children, or NACK and -EREMOTEIO debugging. |
| Authority | Read-only. Writes nothing. Chat output only. No remote mutation. |
| Side effect | Returns driver skeletons and debug commands. No source files are modified. |
| Done | The client driver skeleton, the transfer or regmap access pattern, the DT child node, and a debug path for the reported symptom are delivered. |
Inputs
- Device and bus (required): the chip address on I2C or chip-select on SPI, the adapter or controller, and the datasheet register map.
- Transfer shape (optional): register width and value width, which set
regmap_config. - Failure report (optional): the symptom, such as
-EREMOTEIO, a stuck bus, or a probe that never runs.
Procedure
-
Write the I2C client driver skeleton. The bus core owns the adapter; the driver owns registers only.
#include <linux/i2c.h> #include <linux/mod_devicetable.h> static void my_remove(struct i2c_client *client) {} static struct i2c_driver my_driver = { .probe = my_probe, .remove = my_remove, .driver = { .name = "mysensor", .of_match_table = my_of_id, }, .id_table = my_id, }; module_i2c_driver(my_driver);removereturnsvoid; the int-returning form was removed from the bus driver structs in kernel 6.11, and the kernel floor here (LTS 6.18, mainline 7.2) is past it. Done when: the driver struct carries probe, remove, both match tables, and the module registration macro. -
Bind from the device tree child node. The
regproperty is the bus address.&i2c1 { sensor@48 { compatible = "vendor,sensor"; reg = <0x48>; }; };static const struct of_device_id my_of_id[] = { { .compatible = "vendor,sensor" }, { } }; MODULE_DEVICE_TABLE(of, my_of_id);
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.
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.
- 2mo ago First seen · 143 lines · 52 tokens per session scan A 4245ad9f2abe
bus-drivers-i2c-spi is a skill published in the GitHub repository OutlineDriven/outline-driven-development (54 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 1,641 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-09-06.
bus-drivers-i2c-spi compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bus-drivers-i2c-spiOutlineDriven/outline-driven-development | Skill | 54 | 2mo ago | Apache-2.0 | A | 52 | Codex |
| automatic-cybernetic-flow-designOutlineDriven/odin-claude-plugin | Skill | 40 | 2mo ago | Apache-2.0 | A | 58 | Claude Code, Codex |
| pcbwayaklofas/kicad-happy | Skill | 1.8k | 6d ago | MIT | A | 119 | Claude Code |
| akg-agentsXiaoLuoLYG/GOD | Skill | 1.3k | 5d ago | Apache-2.0 | A | 75 | Claude Code, Codex |
| bios-setup-variableslaurigates/claude-plugins | Skill | 60 | yesterday | MIT | A | 43 | Claude Code |
| phase1vibeic/vibe-ic | Skill | 32 | today | Apache-2.0 | A | 156 | Claude Code |
| analyzing-malicious-pdfsmeltedinhex/analyst-ai-pack | Skill | 25 | 3d ago | Apache-2.0 | A | 73 | Claude Code, Codex |