Automate PCB design with KiCad. Create schematics, design boards, export Gerbers, order from PCBWay. Full design-to-manufacturing pipeline.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install kicad-pcb或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install kicad-pcb⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/kicad-pcb/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: kicad-pcb version: 1.0.0 description: Automate PCB design with KiCad. Create schematics, design boards, export Gerbers, order from PCBWay. Full design-to-manufacturing pipeline. author: PaxSwarm license: MIT keywords: [pcb, kicad, electronics, gerber, schematic, circuit, pcbway, manufacturing, hardware] triggers: ["pcb design", "kicad", "circuit board", "schematic", "gerber", "pcbway", "electronics project"] ---
Design → Prototype → Manufacture
Automate PCB design workflows using KiCad. From natural language circuit descriptions to manufacturing-ready Gerber files.
# Ubuntu/Debian
sudo add-apt-repository ppa:kicad/kicad-8.0-releases
sudo apt update
sudo apt install kicad
# Verify CLI
kicad-cli --version
pip install pillow cairosvg
# 1. Create a new project
python3 scripts/kicad_pcb.py new "LED Blinker" --description "555 timer LED blinker circuit"
# 2. Add components to schematic
python3 scripts/kicad_pcb.py add-component NE555 U1
python3 scripts/kicad_pcb.py add-component LED D1
python3 scripts/kicad_pcb.py add-component "R 1K" R1 R2
# 3. Generate schematic preview (for review)
python3 scripts/kicad_pcb.py preview-schematic
# 4. Run design rule check
python3 scripts/kicad_pcb.py drc
# 5. Export manufacturing files
python3 scripts/kicad_pcb.py export-gerbers
# 6. Prepare PCBWay order
python3 scripts/kicad_pcb.py pcbway-quote --quantity 5
| Command | Description | |---------|-------------| | new | Create new KiCad project | | open | Open existing project | | info | Show current project info | | list-projects | List recent projects |
| Command | Description | |---------|-------------| | add-component | Add component to schematic | | connect | Wire components together | | add-net | Create named net | | preview-schematic | Generate schematic image | | erc | Run electrical rules check |
| Command | Description | |---------|-------------| | import-netlist | Import schematic to PCB | | auto-place | Auto-place components | | auto-route | Auto-route traces | | set-board-size | Set board dimensions (mm) | | preview-pcb | Generate PCB preview images | | drc | Run design rules check |
| Command | Description | |---------|-------------| | export-gerbers | Export Gerber files | | export-drill | Export drill files | | export-bom | Export bill of materials | | export-pos | Export pick-and-place file | | export-3d | Export 3D model (STEP/GLB) | | package-for-fab | Create ZIP with all files |
| Command | Description | |---------|-------------| | pcbway-quote | Get instant quote | | pcbway-upload | Upload Gerbers to PCBWay | | pcbway-cart | Add to cart (requires auth) |
Tell me what you want to build:
> "I need a simple 555 timer circuit that blinks an LED at about 1Hz. > Should run on 9V battery, through-hole components for easy soldering."
# Create project
kicad_pcb.py new "LED_Blinker_555"
# Add components based on description
kicad_pcb.py from-description "555 timer LED blinker, 1Hz, 9V battery"
I'll show you:
You confirm or request changes.
# Import to PCB
kicad_pcb.py import-netlist
# Auto-layout (or manual guidance)
kicad_pcb.py auto-place --strategy compact
kicad_pcb.py set-board-size 50x30
# Preview
kicad_pcb.py preview-pcb --layers F.Cu,B.Cu,F.Silkscreen
# Run final checks
kicad_pcb.py drc --strict
# Export everything
kicad_pcb.py package-for-fab --output LED_Blinker_fab.zip
# Get quote
kicad_pcb.py pcbway-quote --quantity 10 --layers 2 --thickness 1.6
Classic 555 timer in astable mode. Parameters:
Arduino Uno shield template with:
USB-C power delivery (5V):
Create ~/.kicad-pcb/config.json:
{
"default_fab": "pcbway",
"pcbway": {
"email": "[email protected]",
"default_options": {
"layers": 2,
"thickness": 1.6,
"color": "green",
"surface_finish": "hasl"
}
},
"kicad_path": "/usr/bin/kicad-cli",
"projects_dir": "~/kicad-projects",
"auto_backup": true
}
Before ordering, I'll always:
I will NOT auto-order without explicit confirmation.
PCBWay typical pricing (2-layer, 100x100mm, qty 5):
⚠️ High Voltage Warning: This skill does not validate electrical safety. For mains-connected circuits, consult a qualified engineer.
⚠️ No Auto-Order (Yet): Cart placement requires your explicit confirmation.
---
Built by PaxSwarm
安装 KiCad PCB 后,可以对 AI 说这些话来触发它
Help me get started with KiCad PCB
Explains what KiCad PCB does, walks through the setup, and runs a quick demo based on your current project
Use KiCad PCB to automate PCB design with KiCad
Invokes KiCad PCB with the right parameters and returns the result directly in the conversation
What can I do with KiCad PCB in my marketing & growth workflow?
Lists the top use cases for KiCad PCB, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/kicad-pcb/ 目录(个人级,所有项目可用),或 .claude/skills/kicad-pcb/(项目级)。重启 AI 客户端后,用 /kicad-pcb 主动调用,或让 AI 根据上下文自动发现并使用。
KiCad PCB 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
KiCad PCB 可免费安装使用。请查阅仓库了解许可证信息。
Automate PCB design with KiCad. Create schematics, design boards, export Gerbers, order from PCBWay. Full design-to-manufacturing pipeline.
KiCad PCB 属于「Marketing & Growth」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my marketing & growth tasks using KiCad PCB
Identifies repetitive steps in your workflow and sets up KiCad PCB to handle them automatically