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.
mdr add avatarsd/kiskill/kicad-emsim@git:20260611.db3c74cPins 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
mdr add avatarsd/kiskill/kicad-emsim@sha256:e4f51d9b282bbed6The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260611.db3c74c latest | 2026-06-11 | db3c74c | 1,992 B | A | view · diff |
| git:20260611.1e680ba | 2026-06-11 | 1e680ba | 2,038 B | A | view · diff |
| git:20260611.cae7400 | 2026-06-11 | cae7400 | 2,004 B | A | view · diff |
| git:20260611.a572e51 | 2026-06-11 | a572e51 | 1,868 B | A | view |
Audit of the latest version
- 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
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.