Borrowing it
Nothing to install: this file belongs to fireostendere/mcp_diptrace. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/fireostendere/mcp_diptrace/main/.agents/skills/diptrace-board-build/SKILL.mdgit clone --depth 1 https://github.com/fireostendere/mcp_diptraceWrote 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.
[](https://agentmods.dev/skills/fireostendere/mcp_diptrace/diptrace-board-build)<a href="https://agentmods.dev/skills/fireostendere/mcp_diptrace/diptrace-board-build"><img src="https://agentmods.dev/badge/skills/fireostendere/mcp_diptrace/diptrace-board-build/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.
<a href="https://agentmods.dev/skills/fireostendere/mcp_diptrace/diptrace-board-build"><img src="https://agentmods.dev/badge/skills/fireostendere/mcp_diptrace/diptrace-board-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00084 | $0.03422 |
| Opus 5.5 | $0.00034 | $0.01369 |
| Sonnet 5.5 | $0.00017 | $0.00684 |
| Haiku 4.5 | $0.00008 | $0.00342 |
Grade A, and why
diptrace-board-build scanned grade A with 0 findings 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 19d ago.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 326 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DipTrace Board Build Pipeline
The One Rule
build_schematic_document() / build_pcb_document() produce XML that
DipTrace 5.3 CANNOT parse (silent hang). Every generated file MUST pass
through nativeization before opening in the editor.
Architecture Overview
Phase 0: SOURCE LCSC/EasyEDA → vendor/*.json → *.elixml
Phase 1: CONNECTIVITY Builder class → PlacePart + ConnectPins
Phase 2: VISUAL WIRING Ground symbols, Net Ports, Wires, Labels
Phase 3: NATIVEIZE Transplant content → native template → opens in DipTrace
Phase 4: PCB SYNC build_sync_plan → ComponentSyncMapping → placement
Phase 5: ROUTING Priority batches → plan_pcb_routes → AddTraceOperation
Phase 6: FINISH Pours + stitching → sanitize pads → silkscreen
Phase 7: VERIFY ERC/DRC → SVG preview → native gate11
Phase 0: Source Components
Resolution order (house rule)
- DipTrace installed catalog (
query_builtin_library_catalog) - LCSC/EasyEDA exact MPN match
- Custom-drawn only after both documented zero matches
LCSC fetch pattern
from diptrace_mcp.pipeline import lcsc_fetch
result = lcsc_fetch("ESP32-S3-MINI-1U-N8", "vendor/")
# Returns: code, mpn, package, pins, pads, json_path, datasheet_path
Fallback chain for MPN→C-code resolution:
- DuckDuckGo HTML scrape:
html.duckduckgo.com/html/?q=<MPN>+lcsc - JLCPCB parts API: POST
selectSmtComponentList - Manual web search
JSON → .elixml conversion rules
EasyEDA geometry:
- Units are 10 mil (0.254 mm); Y grows UP; DipTrace Y grows DOWN
- Symbol pins:
P~show~0~<number>~<x>~<y>~<rotation>~<id> - Pin names: scan
^^sections, find<value>~start/end~~~#color - Body rect:
R~<x>~<y>~...~<w>~<h>or synthesize from PL/PG bbox - Footprint pads:
PAD~<shape>~x~y~w~h~layer~net~number~hole_r~points~angle- Shape ∈ {RECT, POLYGON, OVAL, ELLIPSE, CIRCLE}; POLY = use declared w/h
- Silk tracks:
TRACK~<width>~<layer>~<net>~points
Critical transforms:
- Pad ordering: DipTrace sync maps pins↔pads POSITIONALLY. Pattern pads MUST be sorted to match symbol pin sequence exactly.
- Merged pads: "A1B12" covers two connector legs. Either split into two half-width pads OR renumber to integers with alias JSON.
- Duplicate pad numbers (ESP32 thermal grid "61"×9): merge into one pad with union bounding box.
- Alphanumeric pad numbers: DipTrace sync resolves by numeric Id fallback; renumber all non-digit pads sequentially in pin order + save alias map.
- Zero-length pins: nearest-edge body synthesis can produce length=0; clamp to ≥0.5mm.
- ElectricType: valid values are Input, Output, Bidirectional, Power, Passive. Unknown values may hang Schematic.exe.
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.
- 19d ago Changed 5c49a612c70c
- 1mo ago First seen · 326 lines · 84 tokens per session scan A 05c4397fe788
diptrace-board-build is a skill published in the GitHub repository fireostendere/mcp_diptrace (25 stars, last pushed 15d ago), licensed Apache-2.0. It adds 84 tokens to every session and 3,422 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-13.
Other skills, from other repositories
gke-compute-classes
Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…
jetson-diagnostic
Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.
holoscan-install-wheel
Install Holoscan SDK 5.x CUDA 13 Python wheels in an isolated environment, choosing the full stack or version-matched components.
offensive-z-wave
Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…
doca-socket-relay
Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…
hsb-flash
Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…