kicad-emsim SKILL.md skillA

kicad-emsim 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-emsim@git:20260611.db3c74c

Pins git:20260611.db3c74c 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-emsim/SKILL.md
Versions recorded
4
Latest version
git:20260611.db3c74c, committed Jun 11, 2026
First version recorded
Jun 11, 2026
Size
1,992 bytes
Repository stars
7
License
MIT

Electromagnetic field simulation of a KiCad board via gerber2ems + openEMS (dockerized, headless): S-parameters, impedance, and E-field PNG visualizations fed back to the agent. Use when asked to simulate a board's EM behavior, check impedance of traces, or visualize fields.

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

# EM simulation (gerber2ems + openEMS)

Engine: `$(kx root)/kicad_lib/emsim.py`.
STATUS: chain VALIDATED — meander_loose example simulated end-to-end
(rc 0; |S11|≈1 + 455 ps delay on the open meander = physically correct).
Image `gerber2ems` (6.6 GB); rebuild if missing:
`docker build -t gerber2ems $(kx root)/.tools/gerber2ems/`. NEVER mount over
/home/docker — it shadows the image toolchain; emsim.run mounts at
/home/docker/sim.

## Flow

1. `emsim.prepare(pcb, workdir)` — gerbers+drill+pos via fab.py (names
   already match), `stackup.json` translated from the board's
   `(setup (stackup ...))`, `simulation.json` template.
2. **Fill ports** in simulation.json (width/length in µm, impedance,
   layer index, excite flag) and `traces` (start/stop port indices) —
   ports sit at position-file footprint locations (use simulation-port
   footprints on the board for clean port placement).
3. `emsim.run(workdir, export_field=True)` — dockerized
   `gerber2ems -a --export-field`: geometry → FDTD → postprocess.
4. Read the outputs: `ems/*.csv` S-params/impedance; **field PNGs are
   the agent feedback** — Read them, check field concentration against
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add avatarsd/kiskill/kicad-emsim@sha256:e4f51d9b282bbed6

The line at the top of this page pins the label git:20260611.db3c74c, 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_7dzyzftnnhnxrxmn.svg)](https://markdownregistry.com/a/art_7dzyzftnnhnxrxmn)

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

Versions

The registry has recorded 4 versions of this file, all committed on Jun 11, 2026.

versioncommittedcommitsizeaudit
git:20260611.db3c74c latest2026-06-11 db3c74c 1,992 BA view · diff
git:20260611.1e680ba2026-06-11 1e680ba 2,038 BA view · diff
git:20260611.cae74002026-06-11 cae7400 2,004 BA view · diff
git:20260611.a572e512026-06-11 a572e51 1,868 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 (1992 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_7dzyzftnnhnxrxmn
GET https://markdownregistry.com/api/v1/resolve?ref=avatarsd/kiskill/kicad-emsim
GET https://markdownregistry.com/api/v1/blob/e4f51d9b282bbed6a72603d8a5ae0a3e35ad44a57a8c7e733108100de7b3da2e

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-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-layout SKILL.md skill
avatarsd/kiskill · skills/kicad-layout/SKILL.md · Autoroute a KiCad board headlessly: schematic → staged footprints → placement → freerouting → routed .kicad_pcb…
git:20261017.6615543 · 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.