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 skills add ProfYangShengXu/nuedc-skills --skill keil5git clone --depth 1 https://github.com/ProfYangShengXu/nuedc-skillsWrote 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/skills/profyangshengxu/nuedc-skills/keil5)<a href="https://agentmods.dev/skills/profyangshengxu/nuedc-skills/keil5"><img src="https://agentmods.dev/badge/skills/profyangshengxu/nuedc-skills/keil5/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/skills/profyangshengxu/nuedc-skills/keil5"><img src="https://agentmods.dev/badge/skills/profyangshengxu/nuedc-skills/keil5.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.00053 | $0.07821 |
| Opus 5 | $0.00026 | $0.03911 |
| Sonnet 5 | $0.00011 | $0.01564 |
| Haiku 4.5 | $0.00005 | $0.00782 |
Grade C, and why
keil5 scanned grade C with 1 finding 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 11d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf $(OBJ_DIR) $(TARGET).axf $(TARGET).bin $(TARGET).hex $(TARGET).map How it starts
The opening of the file, as written. The whole thing — 811 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Keil5 嵌入式开发全能技能 (Keil MDK-ARM)
一次掌握 Keil MDK-ARM 全套开发流程 — 下载安装 → 编写代码 → CLI编译 → 烧录 → 调试 → 硬件接线 兼容 Claude Code、Reasonix Code、Codex、Cursor、Windsurf 等主流 AI 编程代理
📦 一、下载与安装
1.1 下载 Keil MDK-ARM v5.43a
官方下载(需要填写联系表):
https://www.keil.com/demo/eval/arm.htm
填写说明:
| 字段 | 填写建议 |
|---|---|
| First Name / Last Name | 任意英文名 |
| 你的真实邮箱(用于接收下载链接) | |
| Company | 随意填写 |
| Country/Region | China |
| Device | 目标芯片型号,如 STM32F103C8T6 |
安装包约 872 MB,下载后文件名为
MDK543a.exe
备用下载(百度网盘):
- 链接:
https://pan.baidu.com/s/1zl3Iwb2MgKB3g8d2X7La3w提取码:musy
1.2 安装步骤
1. 右键 MDK543a.exe → 以管理员身份运行
2. Next → I agree to all terms
3. 选择安装路径(建议默认 C:\Keil_v5\)
4. 填写用户信息(任意)
5. 等待安装完成(5-10分钟)
6. ✔ 安装完成
1.3 添加环境变量
安装后执行以下命令,将 UV4 添加进 PATH:
# PowerShell (管理员)
$uv4Path = "C:\Keil_v5\UV4"
$oldPath = [Environment]::GetEnvironmentVariable("Path", "User")
[Environment]::SetEnvironmentVariable("Path", "$oldPath;$uv4Path", "User")
验证安装:
UV4.exe -? :: 显示帮助信息(确认安装成功)
1.4 安装 Device Pack(芯片支持包)
以 STM32F1 系列为例:
UV4.exe --pack Keil.STM32F1xx_DFP.2.4.1.pack
或通过 Pack Installer GUI: UV4.exe → Pack Installer → 搜索并安装所需芯片包
在线安装命令(需连网):
UV4.exe --pack --list :: 列出可用包
UV4.exe --pack --install Keil::STM32F1xx :: 安装指定包
🛠 二、CLI 命令速查表
2.1 项目操作
| 命令 | 说明 |
|---|---|
UV4.exe -? |
显示帮助信息 |
UV4.exe -b project.uvprojx |
编译(Build)项目 |
UV4.exe -r project.uvprojx |
重新编译全部(Rebuild All) |
UV4.exe -j0 project.uvprojx |
静默编译(无 GUI 弹窗) |
UV4.exe -c project.uvprojx |
编译后编程烧录 |
UV4.exe -d project.uvprojx |
启动调试会话 |
UV4.exe -e project.uvprojx |
擦除目标 Flash |
UV4.exe -f project.uvprojx |
烧录到目标 Flash |
UV4.exe -n project.uvprojx |
编译并显示编译结果编号 |
UV4.exe -o output.txt project.uvprojx |
编译并将日志输出到文件 |
UV4.exe -t project.uvprojx |
仅翻译(Translated)文件 |
UV4.exe -v project.uvprojx |
详细输出模式 |
2.2 返回值(Exit Code)
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.
- 11d ago First seen · 811 lines · 53 tokens per session scan C daed06bd409a
keil5 is a skill published in the GitHub repository ProfYangShengXu/nuedc-skills (2 stars, last pushed 28d ago), licensed MIT. It adds 53 tokens to every session and 7,821 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
hwcontract
Use when firmware has timing or level requirements you can measure against a spec: pulse widths on a WS2812/NeoPixel strip, DShot ESC, servo, I2C, NEC IR, DS18B20/DHT sensor, A4988/DRV8825 stepper, PWM fan, HC-SR04, when a board prints a boot log over serial (ESP32, ESP8266, Zephyr, MicroPython, u-boot, Raspberry Pi…
embedded-engineer
(oh-my-embedded) Senior embedded systems engineer. ESP32/STM32, FreeRTOS, RF design, power management, peripheral interfaces. Use for any embedded/firmware/electronics/hardware question.
component-sourcer
(oh-my-embedded) Electronic component search, BOM optimization, alternative parts finder. Searches JLCPCB/LCSC, Nexar/Octopart catalogs.
embedded-review
(oh-my-embedded) Embedded firmware code review. Memory safety, ISR correctness, RTOS pitfalls, peripheral interfaces, C/C++ UB traps. Severity P0-P3.
firmware-debugger
(oh-my-embedded) Firmware debugging via GDB and serial monitor. Breakpoints, memory inspection, stack traces, JTAG/SWD. Requires debug probe.
pcb-designer
(oh-my-embedded) PCB design with KiCad. Schematic capture, component placement, trace routing, DRC, Gerber export, JLCPCB BOM. Requires KiCad installed.