keil5

keil5 is a skill for Claude Code, Codex from ProfYangShengXu/nuedc-skills. It costs 53 tokens per session (7,821 once invoked), scanned C, original, MIT.

A workflow for Keil MDK-ARM, a Windows development tool for programming ARM-based embedded devices such as microcontrollers. It covers setup, command-line building, device programming, debugging, and wiring diagrams.

In plain words
What is it for?
Use it to install Keil MDK-ARM, add chip support packages, compile firmware, program a device, debug it, and prepare hardware connection diagrams.
Why use it?
Embedded development often requires separate tools and hardware steps that are unfamiliar to ordinary web or application developers. This puts those steps into one documented workflow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Good fit Use it to install Keil MDK-ARM, add chip support packages, compile firmware, program a device, debug it, and prepare hardware connection diagrams.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/profyangshengxu/nuedc-skills/keil5
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.

Any agent
npx skills add ProfYangShengXu/nuedc-skills --skill keil5
Clone the repo
git clone --depth 1 https://github.com/ProfYangShengXu/nuedc-skills

Made for: Claude Code, Codex.

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 keil5

README.md
[![agentmods](https://agentmods.dev/badge/skills/profyangshengxu/nuedc-skills/keil5/github.svg)](https://agentmods.dev/skills/profyangshengxu/nuedc-skills/keil5)
Your own site
<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.

agentmods 80×15 button for keil5

Your own site · 80×15
<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>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,821 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00053 $0.07821
Opus 5 $0.00026 $0.03911
Sonnet 5 $0.00011 $0.01564
Haiku 4.5 $0.00005 $0.00782

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

Security

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
.reasonix/skills/keil5/SKILL.md · 811 lines

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 任意英文名
E-mail 你的真实邮箱(用于接收下载链接)
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)

Read the full file on GitHub · 811 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. 11d ago First seen · 811 lines · 53 tokens per session scan C daed06bd409a

Subscribe to this mod's changes

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.