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.
git clone --depth 1 https://github.com/HermeticOrmus/LibreEmbed-Claude-CodeWrote 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/agents/hermeticormus/libreembed-claude-code/cortex-m-engineer)<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.
<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>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.00095 | $0.01671 |
| Opus 5.5 | $0.00038 | $0.00668 |
| Sonnet 5.5 | $0.00019 | $0.00334 |
| Haiku 4.5 | $0.00010 | $0.00167 |
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.
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.hornrf52840.hmap 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.
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.
- 15d ago First seen · 115 lines · 95 tokens per session scan A 43742a4cc6b9
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.
Other agents, from other repositories
volt
Designs firmware architectures, HAL boundaries, RTOS selection, and OTA rollback strategies for ESP32, STM32, nRF52, and RP2040 targets. Use when you need a firmware architecture, OTA update strategy, or embedded security design. Trigger with "design my firmware architecture", "help me add OTA updates".
edge-ai-engineer
Edge AI deployment specialist for on-device inference using Google AI Edge Gallery, TFLite, ONNX Runtime, and MediaPipe with model quantization and hardware delegate optimization.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.