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/lhbsaa/embedded-dev-skillnpx agentmods add skills/lhbsaa/embedded-dev-skill/opencodeWrote 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/lhbsaa/embedded-dev-skill/opencode)<a href="https://agentmods.dev/skills/lhbsaa/embedded-dev-skill/opencode"><img src="https://agentmods.dev/badge/skills/lhbsaa/embedded-dev-skill/opencode/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/lhbsaa/embedded-dev-skill/opencode"><img src="https://agentmods.dev/badge/skills/lhbsaa/embedded-dev-skill/opencode.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.00131 | $0.03176 |
| Opus 5.5 | $0.00052 | $0.01270 |
| Sonnet 5.5 | $0.00026 | $0.00635 |
| Haiku 4.5 | $0.00013 | $0.00318 |
Grade A, and why
embedded-dev 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 1mo 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 — 452 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Embedded Development Skill (OpenCode Edition)
Current Version: v3.2.0 (2026-04-13)
AI辅助嵌入式系统开发的专项技能,支持驱动开发、UI设计、硬件调试、问题诊断。采用渐进式加载架构,核心指令保持在SKILL.md,详细规范存放在references目录。
OpenCode 版本说明: 本 Skill 已适配 OpenCode,使用 OpenCode 内置工具和 MCP 扩展系统。
OpenCode Tools Used
Built-in Tools (OpenCode 内置工具)
| OpenCode Tool | Function |
|---|---|
read |
读取源代码和数据手册 |
write |
生成源代码和配置文件 |
edit |
修改现有代码 |
bash |
编译、烧录、串口监控 |
glob |
查找项目文件 |
grep |
搜索代码内容 |
todowrite |
任务跟踪管理 (内置) |
MCP Extension Tools (扩展工具)
| MCP Tool | Function | Install |
|---|---|---|
embedded_build |
统一编译命令包装 | mcp-server-embedded.py |
embedded_diagnose |
编译错误诊断 | mcp-server-embedded.py |
注: 如果未配置 MCP Server,可使用 bash 工具直接执行编译命令。
Quick Start for OpenCode
# 1. 安装 Skill
mkdir -p ~/.opencode/skills/embedded-dev
cp SKILL.md ~/.opencode/skills/embedded-dev/
cp -r references ~/.opencode/skills/embedded-dev/
# 2. (可选) 配置 MCP Server
# 参考 MCP-GUIDE.md
# 3. 开始嵌入式开发
"帮我配置 ESP32-S3 的 ST7789 LCD 驱动"
Workflow (OpenCode Edition)
Phase 1: Context Loading
Use OpenCode's read tool to load AGENTS.md:
read AGENTS.md
- If AGENTS.md missing → Use
writeto create template with project info - Store key config in OpenCode session
Phase 2: Task Planning
Use todowrite tool for task tracking:
todowrite todos=[{"content": "Configure SPI driver", "status": "pending", "priority": "high"}]
- Simple task → Execute directly
- Complex task → Decompose into subtasks
Phase 3: Code Generation
Use OpenCode tools for code operations:
read src/driver.c # 读取现有代码
write src/driver_new.c # 创建新文件
edit src/driver.c # 修改代码
- Check references/ for detailed specs
- Apply modular architecture patterns
Phase 4: Verification
Use OpenCode's bash tool for build-flash-monitor loop:
bash: idf.py build
bash: idf.py -p COM3 flash monitor
- On Error → Analyze output → Fix → Retry
- Use MCP
embedded_diagnosefor error analysis (if configured)
What ships with it
2 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.
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.
- 1mo ago First seen · 452 lines · 131 tokens per session scan A b6b6397057c4
embedded-dev is a skill published in the GitHub repository lhbsaa/embedded-dev-skill (10 stars, last pushed 2mo ago), licensed MIT. It adds 131 tokens to every session and 3,176 once invoked, about $0.0005 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.
Other skills, from other repositories
ruview-configure
Configure RuView — ESP32 sdkconfig variants, NVS provisioning, WiFi channel / MAC filter overrides (ADR-060), edge intelligence modules (ADR-041), sensing-server flags, multi-node mesh, and Cognitum Seed integration. Use when adjusting how a deployed RuView system behaves without changing code.
ruview-advanced-sensing
Advanced RuView capabilities — RuvSense multistatic sensing (attention-weighted fusion, geometric diversity, persistent field model), cross-viewpoint fusion across multiple nodes, RF tomography (ISTA L1 solver, voxel grids), longitudinal biomechanics drift, pre-movement intention signals, adversarial signal detection…
ruview-applications
Run RuView sensing applications — presence/occupancy, breathing & heart rate, activity & fall detection, 17-keypoint pose estimation (WiFlow), sleep monitoring & apnea screening, environment mapping, Mass Casualty Assessment (MAT), and the 3D point-cloud fusion demo. Use when someone wants to actually do something…
ruview-cli-api
Use the RuView wifi-densepose CLI binary (incl. MAT scan/status/zones/survivors/alerts/export subcommands), the REST API (wifi-densepose-api, Axum), and the browser/WASM build (wifi-densepose-wasm, wifi-densepose-wasm-edge). Use when integrating RuView into another program, scripting it from the shell, exposing it…
ruview-mmwave
Set up and run RuView mmWave / FMCW radar sensing — ESP32-C6 + Seeed MR60BHA2 (60 GHz, heart rate / breathing rate / presence) and HLK-LD2410 (24 GHz, presence + distance), plus mmWave↔WiFi-CSI sensor fusion (48-byte fused vitals, MR60BHA2/LD2410 auto-detect, v0.5.0+). Use when the deployment includes a…
ruview-quickstart
Onboarding and first-run for RuView (WiFi-DensePose) — Docker demo with simulated data, repo build, and the fastest path to a live sensing dashboard. Use when someone is new to RuView or wants the shortest path to "it works on my machine".