kicad

kicad is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 46 tokens per session (2,580 once invoked), scanned B, original, MIT.

An open-source program for designing electronic circuits and printed circuit boards, or PCBs. It includes schematic drawing, board layout, component libraries, 3D viewing, simulation, and manufacturing-file export.

In plain words
What is it for?
Creating schematics, placing and routing PCB components, checking electrical and layout rules, viewing boards in 3D, managing bills of materials, and exporting Gerber files.
Why use it?
It keeps circuit diagrams, board layouts, design checks, and production files in one tool instead of separate applications.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating schematics, placing and routing PCB components, checking electrical and layout rules, viewing boards in 3D, managing bills of materials, and exporting Gerber files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/opengis-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 znlgis/opengis-skills --skill kicad
Clone the repo
git clone --depth 1 https://github.com/znlgis/opengis-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/znlgis/opengis-skills/kicad/github.svg)](https://agentmods.dev/skills/znlgis/opengis-skills/kicad)
Your own site
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/kicad"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-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/znlgis/opengis-skills/kicad"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/kicad.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,580 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Privilege Escalation · line 52
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 53
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
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.00046 $0.02580
Opus 5 $0.00023 $0.01290
Sonnet 5 $0.00009 $0.00516
Haiku 4.5 $0.00005 $0.00258

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

Security

Grade B, and why

kicad scanned grade B 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 yesterday.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo add-apt-repository --yes ppa:kicad/kicad-10.0-releases
cad/kicad/SKILL.md · 246 lines

How it starts

The opening of the file, as written. The whole thing — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.

项目地址: https://gitlab.com/kicad/code/kicad

官网: https://www.kicad.org/

官方文档: https://docs.kicad.org/

API(Python): https://docs.kicad.org/doxygen-python/

许可证: GPL-3.0+

概述

KiCad 主要程序:

程序 用途
KiCad(项目管理) 项目入口
Eeschema 原理图编辑
Symbol Editor 元件符号库
Pcbnew PCB 布局布线
Footprint Editor 封装库
3D Viewer 3D 预览
GerbView Gerber 浏览
BOM 工具 物料清单
CLI(KiCad 7+) 自动化(kicad-cli

新版本改进(KiCad 7+,最新稳定版请参见 KiCad Downloads):

  • 全新原生 Python API(pcbnew),支持脚本扩展
  • 标准 IPC-2581 输出
  • 多板设计 / 互连
  • DRC 规则丰富(差分对、长度匹配)

安装

# Linux
sudo add-apt-repository --yes ppa:kicad/kicad-10.0-releases
sudo apt install kicad

# macOS
brew install --cask kicad

# Windows: 安装包

库(Symbols/Footprints/3D Models)随主程序安装;亦可单独 kicad-symbols / kicad-footprints / kicad-packages3D 仓库 git 跟踪。


原理图(Eeschema)要点

  • 元件:A 添加;R/L/C 等快捷键
  • 连线:W Wire、B Bus
  • 注释:Tools → Annotate Schematic
  • 电气规则:ERC(菜单 Inspect → ERC)
  • 分页:File → Schematic Setup → Page Settings;分页通过 Hierarchical Sheet
  • 总线展开:{NET[0..7]}

PCB(Pcbnew)要点

  • 板框:Edge.Cuts 层用 PolygonLine
  • 摆件:拖动 / 旋转 / 翻面 (F)
  • 走线:X 起线、V 通孔 / 切层
  • 网络规则:File → Board Setup → Net Classes
  • 覆铜:Add Filled Zone,绑定 GND/PWR
  • DRC:Inspect → Design Rules Checker
  • 推走线:菜单 Route → Interactive Router
  • 长度调谐:Route → Tune Length

库管理

  • 全局库:Preferences → Manage Symbol/Footprint Libraries(按用户/项目级别)
  • 推荐项目级库:在项目目录新建 lib/.kicad_sym / .pretty/
  • KiCad 5.x 旧 .lib / .mod 可通过 Symbol Library Editor 导入

制造输出(Gerber + Drill)

File → Plot
  Layers: F.Cu, B.Cu, F.Mask, B.Mask, F.Silkscreen, B.Silkscreen, Edge.Cuts (+ inner)
  Format: Gerber (X2 推荐)
  Generate Drill Files → Excellon / Gerber X2

输出:
  *-F_Cu.gbr / *-B_Cu.gbr ...
  *-PTH.drl / *-NPTH.drl
  *-F_Pos.csv / *-B_Pos.csv  (Pick & Place)

打包成 ZIP 上传给嘉立创/PCBWay/JLC 等代工厂。


CLI 自动化(KiCad 7+)

# 原理图导出 PDF
kicad-cli sch export pdf project/main.kicad_sch -o sch.pdf

# 网表
kicad-cli sch export netlist project/main.kicad_sch -o net.net

# Gerber + Drill
kicad-cli pcb export gerbers project/board.kicad_pcb -o gerber/
kicad-cli pcb export drill   project/board.kicad_pcb -o gerber/

# Pick & Place
kicad-cli pcb export pos     project/board.kicad_pcb --format csv -o pos.csv

# STEP(3D)
kicad-cli pcb export step    project/board.kicad_pcb -o board.step

Read the full file on GitHub · 246 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. 8d ago Changed 703c7d69fdfd
  2. 12d ago First seen · 246 lines · 46 tokens per session scan B 72572068cae5

Subscribe to this mod's changes

kicad is a skill published in the GitHub repository znlgis/opengis-skills (60 stars, last pushed 2d ago), licensed MIT. It adds 46 tokens to every session and 2,580 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories