kicad-layout SKILL.md skillA

kicad-layout from avatarsd/kiskill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add avatarsd/kiskill/kicad-layout@git:20261017.6615543

Pins git:20261017.6615543 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
avatarsd/kiskill
Path
skills/kicad-layout/SKILL.md
Versions recorded
4
Latest version
git:20261017.6615543, committed Oct 17, 2026
First version recorded
Jun 11, 2026
Size
2,207 bytes
Repository stars
7
License
MIT

Autoroute a KiCad board headlessly: schematic → staged footprints → placement → freerouting → routed .kicad_pcb, DRC-gated. Use when asked to route a board, do layout from a schematic, or autoroute nets.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Headless layout / autorouting

Engine: `$(kx root)/kicad_lib/layout.py`
(python API: PYTHONPATH=<repo>; any freerouting-*-linux-x64 in .tools
is auto-detected, newest wins).
Worked end-to-end example: `tests/test_layout.py` (scratch board with
outline + 2 netted footprints → 9 routed segments).

## The chain

    layout.autoroute(pcb_in, pcb_out, passes=20)
      = dsn_export (pcbnew python in the KiCad flatpak:
                    pcbnew.ExportSpecctraDSN — headless, verified 10.0)
      → route      (.tools/freerouting-2.2.4-linux-x64/bin/freerouting,
                    BUNDLED JRE — no system java; classic CLI
                    -de in.dsn -do out.ses -mp N -da)
      → ses_import (pcbnew.ImportSpecctraSES + SaveBoard)

Returns segment/via counts. Bootstrap if .tools missing: download
freerouting-X-linux-x64.zip from github freerouting/freerouting
releases, unzip into .tools/ (no root needed).

## Preconditions (or DSN export is meaningless)

- Edge.Cuts outline present (closed).
- Pads carry nets. Update-PCB-from-Schematic normally fills them; when
  building boards programmatically, append `(net "NAME")` to each pad —
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add avatarsd/kiskill/kicad-layout@sha256:6f796d2c5fc10ae8

The line at the top of this page pins the label git:20261017.6615543, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_nvj7pyvzvoqv5t5i.svg)](https://markdownregistry.com/a/art_nvj7pyvzvoqv5t5i)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Jun 11, 2026 and Oct 17, 2026, about one every 43 days.

versioncommittedcommitsizeaudit
git:20261017.6615543 latest2026-10-17 6615543 2,207 BA view · diff
git:20260611.db3c74c2026-06-11 db3c74c 1,964 BA view · diff
git:20260611.1e680ba2026-06-11 1e680ba 1,987 BA view · diff
git:20260611.9bdc4a02026-06-11 9bdc4a0 1,886 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2207 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

avatarsd/kiskill · 7 stars · license MIT · pushed 2026-10-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nvj7pyvzvoqv5t5i
GET https://markdownregistry.com/api/v1/resolve?ref=avatarsd/kiskill/kicad-layout
GET https://markdownregistry.com/api/v1/blob/6f796d2c5fc10ae88beb765615743d06c5bf8b7d66ebf661fa855a6138a805c4

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from avatarsd/kiskill

DESIGN.md@doc DESIGN.md file
avatarsd/kiskill · doc/DESIGN.md
git:20261018.c096caf · audit A · 7 stars
kicad-component SKILL.md skill
avatarsd/kiskill · skills/kicad-component/SKILL.md · Find, fetch, and register KiCad components: search local/official symbol and footprint libraries, download missing…
git:20261018.c096caf · audit A · 7 stars
kicad-emsim SKILL.md skill
avatarsd/kiskill · skills/kicad-emsim/SKILL.md · Electromagnetic field simulation of a KiCad board via gerber2ems + openEMS (dockerized, headless): S-parameters…
git:20260611.db3c74c · audit A · 7 stars
kicad-fab SKILL.md skill
avatarsd/kiskill · skills/kicad-fab/SKILL.md · Produce fabrication outputs for a KiCad project: grouped engineering BOM, JLCPCB-format BOM and CPL placement file…
git:20260611.db3c74c · audit A · 7 stars
kicad-improve SKILL.md skill
avatarsd/kiskill · skills/kicad-improve/SKILL.md · Self-improvement loop for the kicad skill pack: each tick picks one backlog item, researches forums if needed…
git:20260611.db3c74c · audit A · 7 stars
kicad-pcb SKILL.md skill
avatarsd/kiskill · skills/kicad-pcb/SKILL.md · Stage footprints on a KiCad PCB so Update-PCB-from-Schematic adopts them without duplicates, probe board geometry, run…
git:20261017.6615543 · audit A · 7 stars
kicad-project SKILL.md skill
avatarsd/kiskill · skills/kicad-project/SKILL.md · Open, inspect, and safely manipulate any KiCad project through the CLEAN→PROBED→STAGED→VERIFIED→RENDERED→REVIEWED→COMMIT…
git:20261017.79a320e · audit A · 7 stars
kicad-review SKILL.md skill
avatarsd/kiskill · skills/kicad-review/SKILL.md · Review KiCad schematic/PCB changes with agent-readable evidence: visual pixel diff between revisions, semantic tree…
git:20260611.db3c74c · audit A · 7 stars
kicad-schematic SKILL.md skill
avatarsd/kiskill · skills/kicad-schematic/SKILL.md · Generate and modify KiCad schematics (.kicad_sch) and PCBs (.kicad_pcb) programmatically, with geometric verification…
git:20261018.ac33683 · audit A · 7 stars

Every file in avatarsd/kiskill

Browse by kind, by grade A, or by owner.