kicad

kicad is a skill for Claude Code, Codex from ProfYangShengXu/nuedc-skills. It costs 48 tokens per session (2,106 once invoked), scanned A, original, MIT.

A guide to designing printed circuit boards with KiCad, an open-source electronics design program. It covers the process from circuit diagrams through board files for manufacturing and 3D previews.

In plain words
What is it for?
Use it to work with schematics, bills of materials, netlists, PCB layouts, Gerber manufacturing files, drill files, SVG or PDF exports, and board previews.
Why use it?
It puts the main PCB design steps and command-line checks in one workflow, reducing the need to remember separate tools and export commands.

Skill for Claude CodeCodex

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

Good fit Use it to work with schematics, bills of materials, netlists, PCB layouts, Gerber manufacturing files, drill files, SVG or PDF exports, and board previews.

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

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

agentmods 80×15 button for kicad

Your own site · 80×15
<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>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,106 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00048 $0.02106
Opus 5 $0.00024 $0.01053
Sonnet 5 $0.00010 $0.00421
Haiku 4.5 $0.00005 $0.00211

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

Security

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.

.reasonix/skills/kicad/SKILL.md · 224 lines

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")

Read the full file on GitHub · 224 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 · 224 lines · 48 tokens per session scan A 951046424956

Subscribe to this mod's changes

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.