embedded-systems

embedded-systems is a skill for Claude Code, Codex from jl-codes/platformio-mcp. It costs 44 tokens per session (1,101 once invoked), scanned A, original, MIT.

A coding guide for software that runs directly on microcontrollers, including STM32 and ESP32 boards, with or without a real-time operating system. It focuses on hardware drivers, timing, memory, power, communication, and security.

In plain words
What is it for?
Use it when developing firmware, RTOS applications, device drivers, communication over I2C, SPI, UART, or CAN, low-power features, secure boot, cryptography, or over-the-air updates.
Why use it?
It helps account for the tight memory, timing, power, and hardware limits that ordinary application code may not face.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/jl-codes/platformio-mcp/embedded-systems
Any agent
npx skills add jl-codes/platformio-mcp --skill embedded-systems
Clone the repo
git clone --depth 1 https://github.com/jl-codes/platformio-mcp

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 embedded-systems

README.md
[![agentmods](https://agentmods.dev/badge/skills/jl-codes/platformio-mcp/embedded-systems.svg)](https://agentmods.dev/skills/jl-codes/platformio-mcp/embedded-systems)
Your own site
<a href="https://agentmods.dev/skills/jl-codes/platformio-mcp/embedded-systems"><img src="https://agentmods.dev/badge/skills/jl-codes/platformio-mcp/embedded-systems.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,101 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00044 $0.01101
Opus 5 $0.00022 $0.00550
Sonnet 5 $0.00009 $0.00220
Haiku 4.5 $0.00004 $0.00110

Measured 4d ago against content hash 33a71a0cfec3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

embedded-systems 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 4d 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.

.agents/skills/embedded-systems/SKILL.md · 95 lines

How it starts

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

Embedded Systems Engineer

Senior embedded systems engineer with deep expertise in microcontroller programming, RTOS implementation, and hardware-software integration for resource-constrained devices.

Role Definition

You are a senior embedded systems engineer with 10+ years of firmware development experience. You specialize in ARM Cortex-M, ESP32, FreeRTOS, bare-metal programming, and real-time systems. You build reliable, efficient firmware that meets strict timing, power, and resource constraints.

When to Use This Skill

  • Developing firmware for microcontrollers (STM32, ESP32, Nordic, etc.)
  • Implementing RTOS-based applications (FreeRTOS, Zephyr)
  • Creating hardware drivers and HAL layers
  • Optimizing power consumption and memory usage
  • Building real-time systems with strict timing requirements
  • Implementing communication protocols (I2C, SPI, UART, CAN)
  • Designing secure architectures (secure boot, cryptography, secure OTA)
  • Drafting implementation plans for resource-constrained devices (requires rigorous impact assessments)

Core Workflow

  1. Analyze constraints - Identify MCU specs, memory limits, timing requirements, power budget
  2. Design architecture - Plan task structure, interrupts, peripherals, memory layout
  3. Implement drivers - Write HAL, peripheral drivers, RTOS integration
  4. Optimize resources - Minimize code size, RAM usage, power consumption
  5. Test and verify - Validate timing, test edge cases, measure performance

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Hardware Safety references/embedded-safety.md GPIO safety, Pin assignment, build/upload safety
RTOS Patterns references/rtos-patterns.md FreeRTOS tasks, queues, synchronization
Microcontroller references/microcontroller-programming.md Bare-metal, registers, peripherals, interrupts
Power Management references/power-optimization.md Sleep modes, low-power design, battery life
Communication references/communication-protocols.md I2C, SPI, UART, CAN implementation
Memory & Performance references/memory-optimization.md Code size, RAM usage, flash management
Security references/embedded-security-best-practices.md Secure boot, root of trust, firmware updates, cryptography
Impact Assessment references/planning-impact-assessment.md Drafting an implementation plan, evaluating memory/power/security impacts
Web Interfaces references/embedded-web-portal.md Design, performance, and testing strategies for device web portals
OTA Patterns references/ota-implementation-patterns.md Over-The-Air (OTA) architectures, auto-rollback, and firmware lifecycle

Read the full file on GitHub · 95 lines

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. 4d ago First seen · 95 lines · 44 tokens per session scan A 33a71a0cfec3

Subscribe to this mod's changes

embedded-systems is a skill published in the GitHub repository jl-codes/platformio-mcp (50 stars, last pushed 2mo ago), licensed MIT. It adds 44 tokens to every session and 1,101 once invoked, about $0.0002 per session on Opus 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-30.

Related

Other skills, from other repositories

integrated-browser

Use this when working on the VS Code integrated browser ("browserView") to understand its architecture and mental model. Covers the embedded Chromium browser, its editor tab, navigation, overlay/layout, sessions, and agent browser tools under src/vs/platform/browserView and src/vs/workbench/contrib/browserView.

microsoft/vscode · 68 tokens

import-prom-rule

Bulk import of a Prometheus alert rule YAML file (create a whole set of rules at once). Dedicated to handling a remote URL or local YAML text, automatically parsing the three formats groups / a plain rules array / a single rule. ⚠️ Do not use this skill for single-rule creation — when the user describes a single alert…

ccfos/nightingale · 125 tokens

pcbway

PCBWay PCB fabrication and assembly — turnkey/consigned assembly, design rules, ordering workflow. Alternative to JLCPCB for manufacturing. Use with KiCad. Use this skill when the user mentions PCBWay, needs turnkey assembly (PCBWay sources parts by MPN), has parts not available on LCSC, needs assembled boards with…

aklofas/kicad-happy · 119 tokens

unifi-protect

How to manage UniFi Protect cameras and NVR — view cameras, smart detections, Find Anything detection search, recordings, snapshots, lights, sensors, Known Faces, license plates, and the Alarm Manager. Use this skill when the user mentions UniFi cameras, security cameras, NVR, recordings, motion detection, person…

sirkirby/unifi-mcp · 112 tokens

tilelang-env-check

TileLang-Ascend 环境检查与配置验证技能。检查代码仓库完整性、编译安装状态、环境变量配置,并运行简单测试验证环境。发现问题会自动调用相关 skill 进行修复,并按依赖顺序重新执行后续步骤。触发关键词:"环境检查"、"检查环境"、"验证环境"、"环境配置"、"环境搭建"、"env check"、"check environment"、"verify environment"、"setup environment"。.

tile-ai/tilelang-ascend · 112 tokens

KernelWiki

Use when the user asks about optimizing NVIDIA Blackwell (SM100, B200) or Hopper (SM90, H100) GPU kernels — tcgen05/TMEM/CLC/NVFP4/2-SM cooperative, warp specialization, FlashAttention-4, DeepGEMM, FlashMLA, MoE, grouped GEMM, CuTe-DSL/PTX/Triton on Blackwell, or wants concrete PR references from…

mit-han-lab/KernelWiki · 143 tokens