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 open-vela/.claude --skill nuttx-driver-developmentgit clone --depth 1 https://github.com/open-vela/.claudeWrote 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/open-vela/.claude/nuttx-driver-development)<a href="https://agentmods.dev/skills/open-vela/.claude/nuttx-driver-development"><img src="https://agentmods.dev/badge/skills/open-vela/.claude/nuttx-driver-development/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/open-vela/.claude/nuttx-driver-development"><img src="https://agentmods.dev/badge/skills/open-vela/.claude/nuttx-driver-development.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.00219 | $0.05588 |
| Opus 5.5 | $0.00088 | $0.02235 |
| Sonnet 5.5 | $0.00044 | $0.01118 |
| Haiku 4.5 | $0.00022 | $0.00559 |
Grade A, and why
nuttx-driver-development 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 3mo 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 — 392 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NuttX Driver Development
Follow the full driver lifecycle in order. Keep edits small and testable.
[!TIP] This skill can be used standalone or via the
driver-workflowagent (agents/driver-workflow.agent.md) for end-to-end driver development with automated reference matching, requirements generation, and PR submission.
Table of Contents
- Preparation
- Clarify scope and expectations
- Find reference drivers
- Determine driver pattern
- Layout driver files
- Implementation
- Write driver C implementation
- Write public header file
- Kconfig and build system integration
- Board-level registration
- NuttX Coding & Kernel API Rules
- Code Review
- References
Preparation
1) Clarify scope and expectations
- Identify the NuttX driver subsystem (sensor, serial, timer, analog, etc.).
- Confirm target bus (I2C, SPI, 1-Wire, etc.) and required hardware properties.
- Clarify the NuttX source tree location. The driver code lives under
nuttx/drivers/.
2) Find reference drivers
[!NOTE] Two types of reference drivers serve different purposes
- 骨架参考(NuttX API 模式): 优先使用 NuttX in-tree 同类驱动作为代码骨架,确保符合 NuttX 的 upper-half/lower-half 架构和 VFS 集成方式
- 芯片参考(寄存器/时序验证): 优先使用 Linux/Zephyr 同芯片驱动,用于交叉验证 datasheet 的寄存器定义、初始化序列、SPI 帧格式等芯片专属知识
When used standalone: 手动搜索两类参考驱动 When used with
driver-workflowagent: Step A.2 自动完成两条线的并行搜索
Always look at the in-tree NuttX drivers before doing any work. There might already be a driver that (best scenario at the top):
- Is exactly the same part as the one you are working on
- Targets a very similar part from the same vendor (e.g., BMP280 vs BME680)
- Is the same device subsystem as yours (e.g., another I2C sensor)
If a reference driver is found, use it as a skeleton template:
- Copy the source file structure (function signatures, bus access pattern, registration flow, file layout)
- Replace all device-specific content: register definitions, chip ID values, vendor/chip names, init sequences, calibration logic
- After generating code, grep for the original chip name — zero matches required
- Do NOT copy register addresses or chip-specific constants — these must come from the target device's datasheet
What ships with it
41 files 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.
- references/battery_charger_pattern.md 19 KB
- references/battery_hw_gauge.md 17 KB
- references/battery_i2c_charger.md 17 KB
- references/battery_ops_reference.md 12 KB
- references/battery_plugin_detect.md 10 KB
- references/battery_soft_gauge.md 18 KB
- references/battery_standalone.md 35 KB
- references/board_registration.md 8.8 KB
- references/bus_access.md 12 KB
- references/can_netdev_pattern.md 39 KB
- references/chardev_pattern.md 14 KB
- references/coding_rules.md 12 KB
- references/driver_review_checklist.md 5.6 KB
- references/eth_netdev_pattern.md 44 KB
- references/fb_pattern.md 32 KB
- references/gnss_uorb_pattern.md 17 KB
- references/input_pattern.md 24 KB
- references/lcd_pattern.md 29 KB
- references/lin_netdev_pattern.md 24 KB
- references/mcal_autosar_pattern.md 37 KB
- references/mcal_code_pattern.md 17 KB
- references/mcal_module_mapping.md 9.6 KB
- references/nuttx_nav_search.md 15 KB
- references/pa_amplifier_pattern.md 30 KB
- references/pa_board_integration.md 1.7 KB
- references/pa_chip_spec_template.md 16 KB
- references/pa_codegen_templates.md 9.0 KB
- references/pa_dsp_pattern.md 29 KB
- references/sensor_uorb_pattern.md 26 KB
- references/usb_bes_v2_lessons.md 5.8 KB
- references/usb_dwc3_case_study.md 10.0 KB
- references/usb_source_lookup.md 5.7 KB
- references/usbdev_dcd_pattern.md 19 KB
- references/usbhost_hcd_pattern.md 27 KB
- references/verification_checklist.md 7.8 KB
- references/wdg_pattern.md 9.0 KB
- references/workflow_templates.md 24 KB
- scripts/validate-deliverables.sh 2.3 KB runs code
- scripts/validate-design.sh 1.2 KB runs code
- scripts/validate-requirements.sh 2.1 KB runs code
- scripts/workflow-state.sh 5.5 KB runs code
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.
- 3mo ago First seen · 392 lines · 219 tokens per session scan A f06dc44eac06
nuttx-driver-development is a skill published in the GitHub repository open-vela/.claude (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 219 tokens to every session and 5,588 once invoked, about $0.0009 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-08-31.
nuttx-driver-development compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nuttx-driver-developmentopen-vela/.claude | Skill | 6 | 2mo ago | Apache-2.0 | A | 219 | Claude Code, Codex |
| doca-argpNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | A | 277 | Claude Code |
| holoscan-module-lifecycleNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | A | 47 | Claude Code, Codex |
| moat-cuda-to-rocmamd/skills | Skill | 523 | today | MIT | A | 190 | Claude Code |
| linker-scriptsmohitmishra786/low-level-dev-skills | Skill | 308 | 11d ago | MIT | A | 103 | Claude Code, Codex |
| cudamohitmishra786/low-level-dev-skills | Skill | 308 | 11d ago | MIT | A | 69 | Claude Code, Codex |
| riscv-vectormohitmishra786/low-level-dev-skills | Skill | 308 | 11d ago | MIT | A | 136 | Claude Code, Codex |