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.
npx agentmods add agents/archubbuck/workspace-architect/expert-embedded-c-engineergit clone --depth 1 https://github.com/archubbuck/workspace-architectWrote 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/archubbuck/workspace-architect/expert-embedded-c-engineer)<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>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.00062 | $0.01885 |
| Opus 5 | $0.00031 | $0.00942 |
| Sonnet 5 | $0.00012 | $0.00377 |
| Haiku 4.5 | $0.00006 | $0.00188 |
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.
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.
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.
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.
- 2d ago First seen · 137 lines · 62 tokens per session scan A 2d9b3c37cbb3
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.
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.
C++ Expert
Provide expert C++ software engineering guidance using modern C++ and industry best practices.
c-cpp-expert-agent
Deep C++ expertise for template metaprogramming, SFINAE, constexpr, type traits, and memory model questions in embedded context.
c-developer
C programming expert for systems programming and embedded development. Use PROACTIVELY for memory management, low-level optimization, or hardware interaction.
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…
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…