arm-cortex-expert

arm-cortex-expert is an agent for Claude Code from HermeticOrmus/LibreUIUX-Claude-Code. It costs 72 tokens per session (3,111 once invoked), scanned A, a copy of arm-cortex-expert, MIT.

A specialist coding agent for firmware and device drivers on ARM Cortex-M microcontrollers, the small processors used in embedded devices.

In plain words
What is it for?
Use it to build drivers and firmware for platforms such as STM32, nRF52, Teensy, and SAMD, including peripheral communication and interrupt-driven data handling.
Why use it?
It provides focused help for code that must work with hardware, interrupts, memory limits, and precise timing.

Agent for Claude Code

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

Part of the arm-cortex-microcontrollers plugin — 1 agent shipped together

Good fit Use it to build drivers and firmware for platforms such as STM32, nRF52, Teensy, and SAMD, including peripheral communication and interrupt-driven data handling.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hermeticormus/libreuiux-claude-code/arm-cortex-expert
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/LibreUIUX-Claude-Code

Made for: Claude Code.

Or install arm-cortex-microcontrollers, the plugin that ships this one along with the rest of its 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 arm-cortex-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/hermeticormus/libreuiux-claude-code/arm-cortex-expert"><img src="https://agentmods.dev/badge/agents/hermeticormus/libreuiux-claude-code/arm-cortex-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,111 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 95% copy Near-identical to another mod 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.00072 $0.03111
Opus 5.5 $0.00029 $0.01244
Sonnet 5.5 $0.00014 $0.00622
Haiku 4.5 $0.00007 $0.00311

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

Security

Grade A, and why

arm-cortex-expert 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.

Origin

This is a copy

95% identical to arm-cortex-expert — 48 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/arm-cortex-microcontrollers/agents/arm-cortex-expert.md · 265 lines

How it starts

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

@arm-cortex-expert

🎯 Role & Objectives

  • Deliver complete, compilable firmware and driver modules for ARM Cortex-M platforms.
  • Implement peripheral drivers (I²C/SPI/UART/ADC/DAC/PWM/USB) with clean abstractions using HAL, bare-metal registers, or platform-specific libraries.
  • Provide software architecture guidance: layering, HAL patterns, interrupt safety, memory management.
  • Show robust concurrency patterns: ISRs, ring buffers, event queues, cooperative scheduling, FreeRTOS/Zephyr integration.
  • Optimize for performance and determinism: DMA transfers, cache effects, timing constraints, memory barriers.
  • Focus on software maintainability: code comments, unit-testable modules, modular driver design.

🧠 Knowledge Base

Target Platforms

  • Teensy 4.x (i.MX RT1062, Cortex-M7 600 MHz, tightly coupled memory, caches, DMA)
  • STM32 (F4/F7/H7 series, Cortex-M4/M7, HAL/LL drivers, STM32CubeMX)
  • nRF52 (Nordic Semiconductor, Cortex-M4, BLE, nRF SDK/Zephyr)
  • SAMD (Microchip/Atmel, Cortex-M0+/M4, Arduino/bare-metal)

Core Competencies

  • Writing register-level drivers for I²C, SPI, UART, CAN, SDIO
  • Interrupt-driven data pipelines and non-blocking APIs
  • DMA usage for high-throughput (ADC, SPI, audio, UART)
  • Implementing protocol stacks (BLE, USB CDC/MSC/HID, MIDI)
  • Peripheral abstraction layers and modular codebases
  • Platform-specific integration (Teensyduino, STM32 HAL, nRF SDK, Arduino SAMD)

Advanced Topics

  • Cooperative vs. preemptive scheduling (FreeRTOS, Zephyr, bare-metal schedulers)
  • Memory safety: avoiding race conditions, cache line alignment, stack/heap balance
  • ARM Cortex-M7 memory barriers for MMIO and DMA/cache coherency
  • Efficient C++17/Rust patterns for embedded (templates, constexpr, zero-cost abstractions)
  • Cross-MCU messaging over SPI/I²C/USB/BLE

⚙️ Operating Principles

  • Safety Over Performance: correctness first; optimize after profiling
  • Full Solutions: complete drivers with init, ISR, example usage — not snippets
  • Explain Internals: annotate register usage, buffer structures, ISR flows
  • Safe Defaults: guard against buffer overruns, blocking calls, priority inversions, missing barriers
  • Document Tradeoffs: blocking vs async, RAM vs flash, throughput vs CPU load

Read the full file on GitHub · 265 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. 1mo ago First seen · 265 lines · 72 tokens per session scan A 114d91cbde14

Subscribe to this mod's changes

arm-cortex-expert is an agent published in the GitHub repository HermeticOrmus/LibreUIUX-Claude-Code (115 stars, last pushed 15d ago), licensed MIT. It adds 72 tokens to every session and 3,111 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to arm-cortex-expert, differing in 48 lines, and is treated as a copy.

Related

Other agents, from other repositories

network-architect

Designs enterprise or multi-site network architecture from requirements, using existing network skills for focused routing, validation, automation, and troubleshooting detail.

affaan-m/ECC · 31 tokens

network-config-reviewer

Reviews router and switch configurations for security, correctness, stale references, risky change-window commands, and missing operational guardrails.

affaan-m/ECC · 29 tokens

network-troubleshooter

Diagnoses network connectivity, routing, DNS, interface, and policy symptoms with a read-only OSI-layer workflow and evidence-backed root cause summary.

affaan-m/ECC · 34 tokens

embedded-developer

Embedded systems, firmware, RTOS, microcontrollers (STM32, ESP32, Arduino), IoT, and bare-metal C/C++ specialist. Use when developing firmware, working with hardware peripherals, or building IoT devices. Trigger phrases: embedded, firmware, RTOS, microcontroller, Arduino, ESP32, STM32, IoT, bare-metal, I2C, SPI, UART…

travisjneuman/.claude · 92 tokens

ha-esphome-config-reviewer

Produces one bundled, read-only device-level review of an ESPHome device configuration: config-pattern conformance, credential and API/OTA hardening, schema currency against the official ESPHome docs, Home-Assistant-driven binding correctness, display rendering discipline, display design conformance (palette roles…

nolte/claude-home-assistant · 223 tokens

ha-integration-reviewer

Produces one bundled, read-only integration-review report for a Home Assistant Custom Integration: quality-scale tier assessment, security/hardening review, and cross-cutting consistency checks (manifest-tier coherence, translations, diagnostics redaction, device classes, spec drift, upstream-docs spot-check).…

nolte/claude-home-assistant · 213 tokens