Skip to content
Back to skills

Kicad Netlist

ASecurity

Parse KiCad `.net` netlist exports (S-expressions) to list components, list nets, show a net's nodes, or trace which net each pin of a part connects to. Use when investigating board connectivity, power/ground topology, or which components share a net, given a KiCad `.net` file.

  • 44 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
toolsgobashnodeexpress

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add usr-ein/TriMixxx --skill kicad-netlist --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kicad Netlist?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kicad Netlist
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/usr-ein-kicad-netlist/badge)](https://www.skillsdirectory.com/skills/usr-ein-kicad-netlist)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kicad-netlist
description: Parse KiCad `.net` netlist exports (S-expressions) to list components, list nets, show a net's nodes, or trace which net each pin of a part connects to. Use when investigating board connectivity, power/ground topology, or which components share a net, given a KiCad `.net` file.
---

# KiCad netlist parser

`parse_net.py` parses a KiCad netlist export (`*.net`, S-expression) with
`sexpdata` and answers connectivity questions. Regex does **not** work on these
files — the nested parens defeat it — so always use this, not `grep`.

Dependencies are inline (PEP 723), so run it with `uv` — nothing to install:

```bash
DIR=.claude/skills/kicad-netlist
uv run $DIR/parse_net.py FILE.net components      # ref, value, footprint
uv run $DIR/parse_net.py FILE.net nets --min 2    # nets with >= 2 nodes (skip no-connects)
uv run $DIR/parse_net.py FILE.net net "+3V3"      # every pin on one net
uv run $DIR/parse_net.py FILE.net pins U1         # each pin of U1 -> the net it's on
```

## What each subcommand answers

- **`pins REF`** — power/pinout topology of one part: which rail each power pin
  sits on, where each signal goes. The fastest way to see, e.g., whether an
  MCU's USB-VBUS pin and an external supply land on the same net.
- **`net NAME`** — everything electrically tied together on that net (all
  `ref.pin` nodes). Use for a rail (`GND`, `+5V`) or any signal.
- **`nets --min 2`** — skim the real nets; `--min 2` drops single-node
  no-connects so the list is readable.
- **`components`** — the BOM-ish list (ref, value, footprint).

## Notes

- The input is a KiCad **netlist export** (Schematic Editor → File → Export →
  Netlist → KiCad, or `kicad-cli sch export netlist FILE.kicad_sch`), *not* the
  `.kicad_sch` itself.
- Net names come from schematic labels; unlabelled nets get auto names like
  `Net-(U1-Pad12)`.

Files in this skill

  • SKILL.md1.9 KB
  • parse_net.py4.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.