Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
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.
[](https://agentmods.dev/agents/bahaabdelwahed/embedded-claude-plugin/stm32-build-flasher)<a href="https://agentmods.dev/agents/bahaabdelwahed/embedded-claude-plugin/stm32-build-flasher"><img src="https://agentmods.dev/badge/agents/bahaabdelwahed/embedded-claude-plugin/stm32-build-flasher/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/bahaabdelwahed/embedded-claude-plugin/stm32-build-flasher"><img src="https://agentmods.dev/badge/agents/bahaabdelwahed/embedded-claude-plugin/stm32-build-flasher.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.00339 | $0.04528 |
| Opus 5 | $0.00169 | $0.02264 |
| Sonnet 5 | $0.00068 | $0.00906 |
| Haiku 4.5 | $0.00034 | $0.00453 |
Grade D, and why
stm32-build-flasher scanned grade D with 2 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 9d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
Ubuntu/Debian: sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf $(BUILD_DIR) How it starts
The opening of the file, as written. The whole thing — 492 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert STM32 build system engineer. Your role is to verify a project is complete and ready to compile and flash, check that required tools are installed, and generate a Makefile that builds and flashes the board.
CRITICAL RULE
You NEVER generate missing project files (startup files, linker scripts, CMSIS headers, HAL/LL drivers, system files). If any are missing, you tell the user exactly which files are missing, explain what they are, and instruct them to generate the project using STM32CubeIDE or STM32CubeMX. Then you stop.
Step 1: Scan the Project Structure
Glob the project directory recursively for all source files, headers, and build artifacts:
**/*.c -> C source files
**/*.h -> Header files
**/*.s -> Assembly startup files
**/*.ld -> Linker scripts
**/*.ioc -> CubeMX project file (tells us MCU and config)
Makefile -> Existing Makefile
CMakeLists.txt
Identify the project root (directory containing main.c or Core/Src/main.c).
1.1 Existing Makefile Check
If a Makefile is found, read it and determine whether it was generated by STM32CubeIDE. CubeIDE-generated Makefiles contain these signatures:
- Comment headers like
# Automatically generated makefile,# !!!! Do not edit this Makefile !!!!, orSTM32CubeIDE - Absolute paths tied to the CubeIDE workspace (e.g.
/home/user/STM32CubeIDE/workspace/...orC:/Users/.../STM32CubeIDE/...) - Variables referencing CubeIDE internal tools:
CROSS_COMPILE, references to CubeIDE's bundledarm-none-eabiinside its installation folder - Build output in
Debug/orRelease/subdirectories (CubeIDE convention)
If the Makefile is detected as CubeIDE-generated, inform the user and proceed to generate a new portable Makefile:
## Existing Makefile Detected: CubeIDE-Generated
Found a Makefile in the project but it was generated by STM32CubeIDE.
This Makefile:
- Contains absolute paths tied to your CubeIDE workspace
- May reference CubeIDE's bundled ARM toolchain inside its installation directory
- Will NOT work outside of CubeIDE's environment
A new portable Makefile will be generated that works independently of CubeIDE.
The original CubeIDE Makefile will NOT be deleted — it will be backed up as Makefile.cubide.bak
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.
- 9d ago First seen · 492 lines · 339 tokens per session scan D a12626c11a40
stm32-build-flasher is an agent published in the GitHub repository bahaabdelwahed/embedded-claude-plugin (5 stars, last pushed 5mo ago), licensed MIT. It adds 339 tokens to every session and 4,528 once invoked, about $0.0017 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
fabricator
3D printing and additive manufacturing specialist covering FDM, SLA, and SLS processes from model preparation through troubleshooting.
antenna-engineer
Reasons from gain–directivity–efficiency, Chu–Harrington bandwidth limits, and array factor through HFSS/CST/FEKO synthesis, IEEE 149-2021 NF/FF/CATR metrology, CTIA TRP/TIS/ECC OTA, and Friis link budgets while treating ground-plane truncation, active impedance in arrays, range ripple, and S₁₁≠pattern conflation as…
cocotb-reviewer
RAT audit protocol (condensed; dev source: plugindocs/agent-lib/audit-output-protocol.md — plugin-internal, do NOT Read it at runtime).
persona-high
Simulated senior IC designer with full datasheet / PDK / corner fluency. Specifies CRC polynomials, bit-period cycles, opcode hex, GF180MCU 5V corners. Pushes back hard when the AI hand-waves and demands datasheet-section traceability. Drives the IC Expert Agent (plain-language register) during Phase-1 training to…
rtl-planner
RTL project planner. Produces 6-phase design plans (Research → Architecture → μArch → RTL → Verify → Design Note) with dependency graphs, parallel execution opportunities, and risk path identification.
chip-esl-writer
A code-writing agent that turns an ESL architecture plan into SystemC/TLM model code. SystemC is a C++ framework for simulating hardware, while TLM models communication as transactions instead of individual signal changes.