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.
git clone --depth 1 https://github.com/jzl-maker/EA-SKILLWrote 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/commands/jzl-maker/ea-skill/svd)<a href="https://agentmods.dev/commands/jzl-maker/ea-skill/svd"><img src="https://agentmods.dev/badge/commands/jzl-maker/ea-skill/svd/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/commands/jzl-maker/ea-skill/svd"><img src="https://agentmods.dev/badge/commands/jzl-maker/ea-skill/svd.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.00000 | $0.01914 |
| Opus 5.5 | $0.00000 | $0.00766 |
| Sonnet 5.5 | $0.00000 | $0.00383 |
| Haiku 4.5 | $0.00000 | $0.00191 |
Grade A, and why
svd 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
命令: /ea svd (寄存器地图)
功能
解析芯片 SVD 寄存器描述文件(CMSIS-SVD,Keil Pack 自带),把「门牌号(外设基地址)+ 住户名单(寄存器/位域)」查出来,还能免查手册读寄存器当前值并解码位域含义。
| 能力 | 说明 | 数据来源 |
|---|---|---|
| 发现 SVD | 从 Keil Pack 目录自动扫描全部芯片 SVD | ARM\PACK\*\*\svd\*.svd |
| 外设清单 | 列出某外设下所有寄存器 + 地址偏移 | SVD peripheral/registers |
| 寄存器详情 | 地址、大小、读写属性、位域(bit 范围/含义/枚举) | SVD register/fields/field |
| 位域解码 | 读当前值后按位域展开:GPIOx_PL_CFG[1:0]=01 |
SVD enumeratedValues |
| 读当前值 | 免断点直接读寄存器(OpenOCD TCL mdw,运行中读,不 halt) |
OpenOCD / J-Link |
用途:调试时"这个寄存器现在是什么值 / 某位是不是置位 / 这个外设怎么配置的"——不必翻 1500 页参考手册,/ea svd 直接给出寄存器地图 + 实时值。
调用方式
py <SKILL>/tools/svd/scripts/svd_tool.py --detect
# → 发现 59 个 SVD(N32G4FR、STM32F4x1 等),用 --chip 匹配
# ① 外设下所有寄存器(门牌号)
py .../svd_tool.py --chip N32G4FR --periph GPIOA
# → GPIOA base 0x40010800 + 9 个寄存器(GPIOx_PL_CFG/PID/POD/… 各带偏移)
# ⚠️ N32 寄存器命名与 STM32 不同(如 GPIO 是 GPIOx_PL_CFG 而非 MODER),以 SVD 输出为准
# ② 单个寄存器详情(住户名单:位域)
py .../svd_tool.py --chip N32G4FR --reg GPIOA GPIOx_PL_CFG
# → 0x40010800,位域 PMODE0[1:0]/PCFG0[3:2]… 各带 mask,可查枚举含义
# ③ 读当前值 + 位域解码(接好 ST-Link/DAP,免断点)
py .../svd_tool.py --chip N32G4FR --read RCC CR --backend openocd
# → RCC.CR = 0x0100XX00,按位域展开 HSEON/HSEONRDY…
# ④ 模糊搜索(记不全名字时)—— 子串匹配,不区分大小写
py .../svd_tool.py --chip N32G4FR --find TIM # → TIM1..TIM8
py .../svd_tool.py --chip N32G4FR --find PID
# 搜不到时会给近邻建议,例如 --find timer → 建议 TIM8/TIM7/TIM6/…(它是子串匹配,
# 'timer' 不是 'TIM1' 的子串,所以匹配不到 —— 这不是大小写问题)
# AI 解析用 JSON
py .../svd_tool.py --chip N32G4FR --reg RCC CR --json
--chip 省略时自动尝试唯一匹配;多个候选时交互选择。--svd <路径> 可显式指定文件。
参数表
| 参数 | 必须 | 说明 |
|---|---|---|
--detect |
是(动作) | 列出可用 SVD 文件 |
--periph <外设> |
是(动作) | 列出外设下所有寄存器 |
--reg <外设> <寄存器> |
是(动作) | 寄存器详情(地址/位域/枚举) |
--read <外设> <寄存器> |
是(动作) | 读当前值 + 位域解码 |
--find <关键词> |
是(动作) | 模糊搜索外设/寄存器名 |
--svd <file> |
否 | 显式指定 SVD 文件 |
--chip <型号> |
否 | 按芯片名匹配 SVD(如 N32G4FR) |
--backend {jlink,openocd} |
否 | 读值后端,默认 openocd(无停机) |
--ocd-port |
否 | OpenOCD TCL 端口(默认 6666) |
--json |
否 | 结构化 JSON 输出 |
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.
- 2mo ago Changed f5968d890ec8
- 2mo ago Changed · +2 lines b1ba8ee7fa42
- 2mo ago Changed 3a2896916c63
- 3mo ago First seen · 94 lines · 0 tokens per session scan A 8afb25685d6e
svd is a command published in the GitHub repository jzl-maker/EA-SKILL (15 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,914 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
svd compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| svdjzl-maker/EA-SKILL | Command | 15 | 1mo ago | MIT | A | 0 | Claude Code |
| rtosHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 1mo ago | MIT | A | 27 | Claude Code |
| cortex-mHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 1mo ago | MIT | A | 25 | Claude Code |
| debug-embeddedHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 1mo ago | MIT | A | 27 | Claude Code |
| embedded-linuxHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 1mo ago | MIT | A | 23 | Claude Code |
| esp-teachmathisk2095/jko-claude-plugins | Command | 3 | 1mo ago | MIT | A | 19 | Claude Code |
| tapeout-checkMidstall/claude-for-hardware | Command | 20 | 4mo ago | Apache-2.0 | A | 12 | Claude Code |