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 kicadgit 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/kicad)<a href="https://agentmods.dev/skills/profyangshengxu/nuedc-skills/kicad"><img src="https://agentmods.dev/badge/skills/profyangshengxu/nuedc-skills/kicad/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/kicad"><img src="https://agentmods.dev/badge/skills/profyangshengxu/nuedc-skills/kicad.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.00048 | $0.02106 |
| Opus 5 | $0.00024 | $0.01053 |
| Sonnet 5 | $0.00010 | $0.00421 |
| Haiku 4.5 | $0.00005 | $0.00211 |
Grade A, and why
kicad 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 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.
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 — 224 lines — stays where its author put it; the contents beside it link to each section on GitHub.
KiCad EDA PCB 设计全流程技能
KiCad 10.0.3 版 — 开源 PCB 设计,电赛学生首选 从原理图到 Gerber 打样,agent 全程辅助
📦 一、安装与验证
1.1 安装 KiCad
# winget 安装(推荐)
winget install --id KiCad.KiCad --exact
# 或手动下载
# https://www.kicad.org/download/windows/
# 选择 kicad-10.0.3-x86_64.exe (~921MB)
1.2 验证安装
kicad-cli version # 显示版本号: 10.0.3
kicad-cli --help # 查看所有 CLI 命令
1.3 确认 Python API 可用
# 在 KiCad 内置 Python 中运行
& "C:\Program Files\KiCad.0in\python.exe" -c "import pcbnew; print(pcbnew.VERSION)"
🛠 二、KiCad CLI 命令速查
2.1 原理图操作
| 命令 | 说明 |
|---|---|
kicad-cli sch export svg schematic.kicad_sch --output output.svg |
原理图导出 SVG |
kicad-cli sch export pdf schematic.kicad_sch --output output.pdf |
原理图导出 PDF |
kicad-cli sch export bom schematic.kicad_sch --output bom.csv |
导出 BOM |
kicad-cli sch export netlist schematic.kicad_sch --output netlist.net |
导出网表 |
2.2 PCB 操作
| 命令 | 说明 |
|---|---|
kicad-cli pcb export gerber board.kicad_pcb --output gerber/ |
导出 Gerber(JLCPCB 打样) |
kicad-cli pcb export drill board.kicad_pcb --output gerber/ |
导出钻孔文件 |
kicad-cli pcb export svg board.kicad_pcb --output pcb.svg |
PCB 导出 SVG |
kicad-cli pcb export pdf board.kicad_pcb --output pcb.pdf |
PCB 导出 PDF |
kicad-cli pcb export pos board.kicad_pcb --output pos.csv |
导出贴片坐标 |
kicad-cli pcb export step board.kicad_pcb --output board.step |
导出 3D STEP |
2.3 设计规则检查 (DRC)
kicad-cli pcb drc board.kicad_pcb --output drc.rpt
# 输出: 间距错误 / 未连接网络 / 丝印冲突
🐍 三、Python API (pcbnew) 编程
3.1 自动创建 PCB 板
import pcbnew
board = pcbnew.BOARD()
board.SetDesignSettings(pcbnew.DESIGN_SETTINGS())
# 设置板子大小
W = pcbnew.FromMM(50)
H = pcbnew.FromMM(40)
# 画板框
outline = pcbnew.PCB_SHAPE()
outline.SetShape(pcbnew.SHAPE_T_RECT)
outline.SetLayer(pcbnew.Edge_Cuts)
outline.SetStart(pcbnew.VECTOR2I(0, 0))
outline.SetEnd(pcbnew.VECTOR2I(W, H))
board.Add(outline)
board.Save("my_board.kicad_pcb")
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 · 224 lines · 48 tokens per session scan A 951046424956
kicad is a skill published in the GitHub repository ProfYangShengXu/nuedc-skills (2 stars, last pushed 28d ago), licensed MIT. It adds 48 tokens to every session and 2,106 once invoked, about $0.0002 per session on Opus 5. 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.
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.