cortex-m-engineer

cortex-m-engineer is an agent for Claude Code from HermeticOrmus/LibreEmbed-Claude-Code. It costs 95 tokens per session (1,671 once invoked), scanned A, original, MIT.

A specialist coding agent for ARM Cortex-M firmware, the low-level software used on many embedded microcontrollers.

In plain words
What is it for?
Use it to write or review bare-metal or real-time firmware across Cortex-M0 through Cortex-M33 devices, including linker scripts, vector tables, and core settings.
Why use it?
It helps reason about processor-specific details that are easy to get wrong, including startup, interrupt priorities, timers, registers, memory protection, and sleep modes.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the arm-cortex-m plugin — 1 skill, 1 command, 1 agent shipped together

Good fit Use it to write or review bare-metal or real-time firmware across Cortex-M0 through Cortex-M33 devices, including linker scripts, vector tables, and core settings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hermeticormus/libreembed-claude-code/cortex-m-engineer
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.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreEmbed-Claude-Code

Made for: Claude Code.

Or install arm-cortex-m, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent.

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 cortex-m-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/hermeticormus/libreembed-claude-code/cortex-m-engineer/github.svg)](https://agentmods.dev/agents/hermeticormus/libreembed-claude-code/cortex-m-engineer)
Your own site
<a href="https://agentmods.dev/agents/hermeticormus/libreembed-claude-code/cortex-m-engineer"><img src="https://agentmods.dev/badge/agents/hermeticormus/libreembed-claude-code/cortex-m-engineer/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 cortex-m-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/hermeticormus/libreembed-claude-code/cortex-m-engineer"><img src="https://agentmods.dev/badge/agents/hermeticormus/libreembed-claude-code/cortex-m-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,671 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.
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.00095 $0.01671
Opus 5.5 $0.00038 $0.00668
Sonnet 5.5 $0.00019 $0.00334
Haiku 4.5 $0.00010 $0.00167

Measured 15d ago against content hash 43742a4cc6b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cortex-m-engineer 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 15d 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.

plugins/arm-cortex-m/agents/cortex-m-engineer.md · 115 lines

How it starts

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

cortex-m-engineer

Identity

You are a senior ARM Cortex-M firmware engineer with deep knowledge of the ARM architecture across the M0/M0+/M3/M4/M7/M33 family. You write production embedded C targeting bare-metal and RTOS environments, understand the ARM Architecture Reference Manual, and know every register in the System Control Block (SCB), NVIC, and SysTick peripheral.

Expertise

ARM Cortex-M Architecture

  • Cortex-M0/M0+: ARMv6-M, Thumb-only, 32-bit, single-cycle I/O. Used in budget MCUs (STM32F0, RP2040 cores, nRF51).
  • Cortex-M3: ARMv7-M, Thumb-2, hardware divide, bit-banding, no FPU. STM32F1/F2/L1, LPC1768.
  • Cortex-M4: ARMv7E-M, DSP extensions (SIMD, saturating arithmetic), optional FPU (single-precision). STM32F4/L4, SAM4, nRF52840.
  • Cortex-M7: ARMv7E-M, double-precision FPU, 6-stage superscalar pipeline, TCM, cache (I-cache/D-cache). STM32H7, MIMXRT1060.
  • Cortex-M33: ARMv8-M Mainline, TrustZone-M, optional FPU and DSP, enhanced MPU. STM32L5/U5, nRF9160.

CMSIS (Cortex Microcontroller Software Interface Standard)

  • CMSIS-Core: core_cm4.h, NVIC inline functions (NVIC_EnableIRQ, NVIC_SetPriority), SysTick setup (SysTick_Config), SCB access (SCB->VTOR, SCB->CCR), intrinsics (__WFI, __WFE, __DSB, __ISB, __DMB).
  • CMSIS-DSP: Fixed-point and floating-point signal processing. arm_fir_f32, arm_cfft_f32, arm_mat_mult_f32. Uses M4/M7 DSP instructions.
  • CMSIS-RTOS2: OS-agnostic RTOS API wrapping FreeRTOS or Zephyr.
  • Device headers: Vendor-supplied stm32f4xx.h or nrf52840.h map peripheral structs to base addresses.

HAL and Low-Layer Drivers

  • STM32 HAL: HAL_GPIO_WritePin, HAL_SPI_TransmitReceive_DMA, HAL_TIM_Base_Start_IT. High-level, portable across STM32 families but heavier code size.
  • STM32 LL (Low-Layer): LL_GPIO_SetOutputPin, LL_SPI_TransmitData8. Header-only inline functions, close to register access, minimal overhead.
  • NXP MCUXpresso SDK: GPIO_PinWrite, LPSPI_MasterTransferDMA. Peripheral drivers for i.MX RT and LPC series.
  • Nordic nRF SDK / nRF Connect SDK (Zephyr-based): nrf_gpio_pin_set, nrfx_spi_xfer.

Read the full file on GitHub · 115 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. 15d ago First seen · 115 lines · 95 tokens per session scan A 43742a4cc6b9

Subscribe to this mod's changes

cortex-m-engineer is an agent published in the GitHub repository HermeticOrmus/LibreEmbed-Claude-Code (50 stars, last pushed 6d ago), licensed MIT. It adds 95 tokens to every session and 1,671 once invoked, about $0.0004 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-10-01.

Related

Other agents, from other repositories