embedded-firmware-dev

embedded-firmware-dev is a skill for Claude Code from AmethystLuna/embedded-workbench. It costs 59 tokens per session (1,649 once invoked), scanned A, original, MIT.

A set of development guidelines for embedded C firmware, including FreeRTOS tasks, interrupt handlers, flash storage, and sensor drivers. FreeRTOS is a small operating system commonly used to run multiple tasks on microcontrollers.

In plain words
What is it for?
Writing or reviewing firmware that uses tasks, queues, notifications, mutexes, interrupts, non-volatile storage, or sensor state machines.
Why use it?
It helps prevent timing bugs, unsafe sharing between tasks, stack overflows, priority problems, and incorrect interrupt-to-task communication.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the embedded-workbench plugin — 8 skills, 4 agents, 1 hook shipped together

Good fit Writing or reviewing firmware that uses tasks, queues, notifications, mutexes, interrupts, non-volatile storage, or sensor state machines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amethystluna/embedded-workbench/embedded-firmware-dev
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 AmethystLuna/embedded-workbench --skill embedded-firmware-dev
Clone the repo
git clone --depth 1 https://github.com/AmethystLuna/embedded-workbench

Made for: Claude Code.

Or install embedded-workbench, the plugin that ships this one along with the rest of its 8 skills, 4 agents, 1 hook.

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-firmware-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/amethystluna/embedded-workbench/embedded-firmware-dev/github.svg)](https://agentmods.dev/skills/amethystluna/embedded-workbench/embedded-firmware-dev)
Your own site
<a href="https://agentmods.dev/skills/amethystluna/embedded-workbench/embedded-firmware-dev"><img src="https://agentmods.dev/badge/skills/amethystluna/embedded-workbench/embedded-firmware-dev/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 embedded-firmware-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/amethystluna/embedded-workbench/embedded-firmware-dev"><img src="https://agentmods.dev/badge/skills/amethystluna/embedded-workbench/embedded-firmware-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,649 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00059 $0.01649
Opus 5.5 $0.00024 $0.00660
Sonnet 5.5 $0.00012 $0.00330
Haiku 4.5 $0.00006 $0.00165

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

Security

Grade A, and why

embedded-firmware-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 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.

skills/embedded-firmware-dev/SKILL.md · 134 lines

How it starts

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

Embedded Firmware Development

FreeRTOS

  • Give each task a clear ownership boundary. Shared resources need a deliberate synchronization strategy.
  • Prefer task notifications for one-to-one wakeups, queues for data transfer, event groups for combined state, mutexes for mutual exclusion, semaphores for one-way signaling.
  • Use a mutex (not binary semaphore) when mutual exclusion matters and priority inheritance is needed.
  • Make every blocking wait explicit: use a timeout unless an infinite wait is deliberate.
  • Keep timer callbacks short and non-blocking — use them to schedule work, not do it.
  • Avoid holding locks across flash, storage, or long operations.
  • Size task stacks from worst-case call chains. Recheck high-water marks after adding buffers or deeper call trees.
  • Use ISR-safe APIs for interrupt-to-task handoff. Keep ISR state capture minimal.
  • Avoid priority inversion: don't hold shared locks across blocking I/O or long processing.
  • If a task can be paused/restarted/signaled from multiple places, define resume, timeout, and recovery paths explicitly.
  • For cross-task pointer ownership: make lifetime and invalidation rules obvious.
  • Prefer the smallest critical section that protects the state transition. Don't wrap whole operations in locks when narrower ordering suffices.
  • For objects handed between threads: define whether the receiver owns, borrows, or copies before crossing the boundary.

Interrupts / ISR

  • Keep the interrupt path short, deterministic, and bounded. Capture minimum state, clear the source, defer expensive work.
  • Do not block, sleep, allocate heap, or call non-ISR-safe APIs from an ISR.
  • Prefer top-half/bottom-half split when the handler needs more than quick state capture and wakeup.
  • Make shared-state ownership explicit. Use minimum synchronization for the data being shared.
  • If an ISR wakes a task, use the ISR-safe RTOS primitive and preserve yield-from-ISR behavior.
  • Define clear read/clear/re-enable ordering to avoid losing edges or creating re-trigger loops.
  • Avoid logging and complex branching in the hot interrupt path.
  • If code runs from both task and ISR context, separate wrappers so the ISR-safe path stays obvious.

Read the full file on GitHub · 134 lines

Files

What ships with it

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

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 First seen · 134 lines · 59 tokens per session scan A e8525da92a59

Subscribe to this mod's changes

embedded-firmware-dev is a skill published in the GitHub repository AmethystLuna/embedded-workbench (30 stars, last pushed yesterday), licensed MIT. It adds 59 tokens to every session and 1,649 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-08-31.

Related

embedded-firmware-dev compared with skills from other repositories

embedded-firmware-dev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
embedded-firmware-devAmethystLuna/embedded-workbenchSkill30yesterdayMITA59Claude Code
doca-argpNVIDIA/skillsSkill3.9kyesterdayApache-2.0A277Claude Code, Codex
holoscan-module-lifecycleNVIDIA/skillsSkill3.9kyesterdayApache-2.0A47Claude Code, Codex
embedded-stm32Mindrally/skillsSkill29729d agoApache-2.0A87Claude Code
hls-c2rtlvibeic/vibe-icSkill32todayApache-2.0A79Claude Code
hip-kernel-optimizationAMD-AGI/ApexSkill781mo agoMITA56Claude Code, Codex
cortex-m-patternsHermeticOrmus/LibreEmbed-Claude-CodeSkill5028d agoMITA65Claude Code