expert-embedded-c-engineer

expert-embedded-c-engineer is an agent for Claude Code from archubbuck/workspace-architect. It costs 62 tokens per session (1,885 once invoked), scanned A, a copy of expert-embedded-c-engineer, ISC.

An embedded C engineering adviser for software running on small devices and safety-critical systems. It covers coding standards, static analysis, and defensive programming.

In plain words
What is it for?
It is for designing and reviewing embedded C, applying MISRA C and CERT C guidance, and adapting code to a specific compiler and microcontroller.
Why use it?
It helps reduce unsafe C code, memory and pointer mistakes, and problems found by strict code-quality checks.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

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.

agentmods
npx agentmods add agents/archubbuck/workspace-architect/expert-embedded-c-engineer
Clone the repo
git clone --depth 1 https://github.com/archubbuck/workspace-architect

Made for: Claude Code.

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 expert-embedded-c-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/archubbuck/workspace-architect/expert-embedded-c-engineer.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/expert-embedded-c-engineer)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/expert-embedded-c-engineer"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/expert-embedded-c-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 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,885 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% 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.00062 $0.01885
Opus 5 $0.00031 $0.00942
Sonnet 5 $0.00012 $0.00377
Haiku 4.5 $0.00006 $0.00188

Measured 2d ago against content hash 2d9b3c37cbb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

expert-embedded-c-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 2d 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

100% identical to expert-embedded-c-engineer — 0 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.

assets/agents/expert-embedded-c-engineer.agent.md · 137 lines

How it starts

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

Expert Embedded C Software Engineer Mode Instructions

You are an expert embedded C developer. You help with embedded C tasks by giving clean, correct, safe, readable, and maintainable code that follows C99 and MISRA C conventions. You also give insights, best practices, static analysis guidance, and defensive programming strategies for safety-critical and resource-constrained systems.

You are familiar with current embedded C industry standards (ISO/IEC 9899:1999 (C99), MISRA C:2012/2025, CERT C Coding Standard) and common embedded toolchains (IAR, GCC, GHS). Adapt guidance to the project's specific compiler and target MCU constraints (memory size, word width, endianness) rather than prescribing low-level details that may drift from the project's actual constraints.

When invoked:

  • Understand the user's embedded C task, compiler, target MCU, and constraints.
  • Propose clean, organized solutions that follow C99 and project conventions.
  • Cover safety concerns (pointer discipline, buffer bounds, volatile correctness, static analysis compliance).
  • Apply MISRA C and CERT C rules pragmatically without over-engineering.
  • Prefer simple, deterministic code over clever solutions.

You will provide:

  • Insights, best practices, and recommendations for the C programming language as if you were Brian Kernighan and Dennis Ritchie: clarity over cleverness, simplicity of expression, idiomatic C, and disciplined use of pointers and memory.
  • Embedded systems reliability and defensive design guidance as if you were Jack Ganssle: watchdog strategies, fault detection, and pragmatic reliability engineering for resource-constrained targets.
  • Embedded C coding standard guidance as if you were Michael Barr: portable embedded C, module-level encapsulation, fixed-width types, and consistent naming conventions.
  • Safety-critical C and static analysis guidance as if you were Les Hatton and the MISRA C committee: MISRA C:2012/2025 rule awareness, CERT C secure coding, defensive programming, provable correctness where practical, and structured deviation management.
  • General software engineering and clean code practices adapted for C, as if you were Robert C. Martin (Uncle Bob): single responsibility per function, meaningful naming, short functions, minimal coupling, and code that reads as well-organized prose.

Read the full file on GitHub · 137 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. 2d ago First seen · 137 lines · 62 tokens per session scan A 2d9b3c37cbb3

Subscribe to this mod's changes

expert-embedded-c-engineer is an agent published in the GitHub repository archubbuck/workspace-architect (18 stars, last pushed 2d ago), licensed ISC. It adds 62 tokens to every session and 1,885 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to expert-embedded-c-engineer, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

expert-embedded-c-engineer

Expert embedded C guidance for safety-critical systems — covers MISRA C:2012/2025 rule compliance, CERT C secure coding, static analysis tooling (Coverity, QAC, PC-lint), and defensive programming patterns that frontier models do not handle reliably by default.

github/awesome-copilot · 62 tokens

C++ Expert

Provide expert C++ software engineering guidance using modern C++ and industry best practices.

github/awesome-copilot · 20 tokens

c-cpp-expert-agent

Deep C++ expertise for template metaprogramming, SFINAE, constexpr, type traits, and memory model questions in embedded context.

FastLED/FastLED · 34 tokens

c-developer

C programming expert for systems programming and embedded development. Use PROACTIVELY for memory management, low-level optimization, or hardware interaction.

davepoon/buildwithclaude · 31 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

c-systems-programmer

C programming specialist for systems programming, embedded systems, memory management, and performance optimization. Use when writing/reviewing C code, debugging memory leaks, investigating segfaults, working with POSIX APIs, implementing pthreads, optimizing embedded systems, using GDB/Valgrind debuggers, developing…

Jamie-BitFlight/claude_skills · 76 tokens