embedded-test-engineer

embedded-test-engineer is an agent for Claude Code from HermeticOrmus/LibreEmbed-Claude-Code. It costs 71 tokens per session (1,753 once invoked), scanned A, original, MIT.

An agent that designs and builds tests for C firmware running on microcontrollers or a host computer. It uses Unity and Ceedling for tests, CMock for hardware stand-ins, QEMU for emulation, and gcov for coverage measurement.

In plain words
What is it for?
Use it to plan test architecture, write test cases, configure the build, create hardware mocks, run emulated or host tests, and set up coverage for firmware.
Why use it?
It helps test driver logic without needing a physical microcontroller for every test. It also addresses the setup work involved in isolating hardware dependencies and checking interrupt-service-routine behavior.

Agent for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ruby vendor/ceedling/vendor/cmock/lib/cmock.rb --mock_prefix=mock_ src/i2c_driver.h.

Part of the embedded-testing plugin — 1 skill, 1 command, 1 agent shipped together

Good fit Use it to plan test architecture, write test cases, configure the build, create hardware mocks, run emulated or host tests, and set up coverage for firmware.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreEmbed-Claude-Code
agentmods
npx agentmods add agents/hermeticormus/libreembed-claude-code/embedded-test-engineer

Made for: Claude Code.

Or install embedded-testing, 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 embedded-test-engineer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/hermeticormus/libreembed-claude-code/embedded-test-engineer"><img src="https://agentmods.dev/badge/agents/hermeticormus/libreembed-claude-code/embedded-test-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 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,753 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.00071 $0.01753
Opus 5.5 $0.00028 $0.00701
Sonnet 5.5 $0.00014 $0.00351
Haiku 4.5 $0.00007 $0.00175

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

Security

Grade A, and why

embedded-test-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/embedded-testing/agents/embedded-test-engineer.md · 209 lines

How it starts

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

embedded-test-engineer

Identity

You are an embedded test engineer who builds unit test frameworks for firmware running on MCUs and on the host PC. You use Unity + Ceedling for C unit tests, CMock for hardware mock generation, QEMU for target emulation, and gcov for code coverage. You design test architectures that abstract hardware dependencies so driver logic can be tested without physical MCUs.

Expertise

Unity Test Framework

Unity is a minimal C unit test framework designed for embedded targets. Single header, no dynamic memory.

/* test_sensor.c */
#include "unity.h"
#include "sensor.h"
#include "mock_i2c.h"   /* CMock-generated mock */

void setUp(void)    {}  /* Called before each test */
void tearDown(void) {}  /* Called after each test  */

void test_sensor_init_configures_i2c(void)
{
    /* CMock: expect i2c_write to be called with specific args */
    i2c_write_ExpectAndReturn(0x76, SENSOR_REG_CONFIG, 0xB7, I2C_OK);
    i2c_write_ExpectAndReturn(0x76, SENSOR_REG_CTRL, 0x27, I2C_OK);

    sensor_error_t result = sensor_init(0x76);

    TEST_ASSERT_EQUAL(SENSOR_OK, result);
}

void test_sensor_read_temperature_converts_raw(void)
{
    /* Stub: inject raw ADC value */
    uint8_t raw[3] = { 0x52, 0x80, 0x00 };  /* 21.0°C in BME280 format */
    i2c_read_ExpectAndReturn(0x76, SENSOR_REG_TEMP_MSB, raw, 3, I2C_OK);
    i2c_read_ReturnThruPtr_buf(raw);

    int32_t temp_mC;
    sensor_read_temperature(0x76, &temp_mC);

    TEST_ASSERT_EQUAL_INT32(21000, temp_mC);
}

Key assertions:

  • TEST_ASSERT_EQUAL(expected, actual) — integer equality
  • TEST_ASSERT_EQUAL_FLOAT(expected, actual) — float (uses tolerance)
  • TEST_ASSERT_EQUAL_MEMORY(exp, act, len) — byte array comparison
  • TEST_ASSERT_NULL(ptr) / TEST_ASSERT_NOT_NULL(ptr)
  • TEST_ASSERT_BITS(mask, expected, actual) — bitmask check
  • TEST_FAIL_MESSAGE("reason") — explicit failure

CMock

CMock generates mock C files from header files. Each mock function gets _Expect, _ExpectAndReturn, _StubWithCallback, _IgnoreAndReturn variants.

Read the full file on GitHub · 209 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 · 209 lines · 71 tokens per session scan A 532fd9b7aec5

Subscribe to this mod's changes

embedded-test-engineer is an agent published in the GitHub repository HermeticOrmus/LibreEmbed-Claude-Code (50 stars, last pushed 6d ago), licensed MIT. It adds 71 tokens to every session and 1,753 once invoked, about $0.0003 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

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

jeremylongshore/tons-of-skills-marketplace · 67 tokens

p4s-unit-test-orchestrator

Tier 2 unit test orchestrator. Writes SV testbenches per module (parallel), selects reference comparison mode (DPI-C or file-based), runs simulations, and triages failures with waveform analysis.

babyworm/rtl-agent-team · 50 tokens

embedded-systems

Implement Raspberry Pi 5 edge code for the edge service -- UART, camera, GPIO, systemd, and MOCKMODE fallbacks.

atretyak1985/swarmery · 31 tokens

mavlink-specialist

Implement MAVLink message parsing and generation, manage UART/UDP/TCP connections, and integrate with ArduPilot SITL for testing.

atretyak1985/swarmery · 33 tokens

chip-sw-verifier

A chip-software testing role for checking hardware drivers and firmware on bare-metal systems, Linux, or real-time operating systems. It can create test plans, unit and integration tests, hardware mocks, and coverage reports.

zhaixin244-wq/fnw · 87 tokens

kinect-wall-harp-qa

QA specialist for the Kinect wall harp. Validates schema/CLI/registry/docs boundaries, offline synthetic behavior, and live FreenectTD Kinect wall-depth tracking when TouchDesigner is reachable.

hybridlabor-api/bdb-dev-optimized-agent-skills · 46 tokens