kicad-mcp-pro: Skill for Claude Code

.opencode/skills/wired-subcircuit-design/SKILL.md

wired-subcircuit-design is a skill for Claude Code, OpenCode from oaslananka/kicad-mcp-pro. It costs 48 tokens per session (1,158 once invoked), scanned A, original, MIT.

A workflow for drawing KiCad schematics as visibly wired functional blocks instead of relying only on matching connection names.

In plain words
What is it for?
Use it to create showcase-quality circuit sections, conventional power connections, and tidy signal buses in a complete schematic.
Why use it?
Automatic layout can produce electrically valid diagrams that look like disconnected lists of parts; this workflow adds explicit placement and wires for clearer human review.

Skill for Claude CodeOpenCode

Written for Claude Code and OpenCode: shipped in a Claude Code plugin, but also installed under .opencode/.

This is oaslananka/kicad-mcp-pro's own configuration. It tells Claude Code and OpenCode how to work on kicad-mcp-pro itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kicad-mcp-pro configures →

Part of the kicad-pro plugin — 10 skills, 1 MCP server shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to oaslananka/kicad-mcp-pro. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/oaslananka/kicad-mcp-pro/main/.opencode/skills/wired-subcircuit-design/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/oaslananka/kicad-mcp-pro

Made for: Claude Code, OpenCode.

Or install kicad-pro, the plugin that ships this one along with the rest of its 10 skills, 1 MCP server.

Wrote 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.

agentmods badge for wired-subcircuit-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/oaslananka/kicad-mcp-pro/wired-subcircuit-design/github.svg)](https://agentmods.dev/skills/oaslananka/kicad-mcp-pro/wired-subcircuit-design)
Your own site
<a href="https://agentmods.dev/skills/oaslananka/kicad-mcp-pro/wired-subcircuit-design"><img src="https://agentmods.dev/badge/skills/oaslananka/kicad-mcp-pro/wired-subcircuit-design/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.

agentmods 80×15 button for wired-subcircuit-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/oaslananka/kicad-mcp-pro/wired-subcircuit-design"><img src="https://agentmods.dev/badge/skills/oaslananka/kicad-mcp-pro/wired-subcircuit-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,158 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.01158
Opus 5 $0.00024 $0.00579
Sonnet 5 $0.00010 $0.00232
Haiku 4.5 $0.00005 $0.00116

Measured 12d ago against content hash 8811b5c5d44c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

wired-subcircuit-design 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 12d 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.

.opencode/skills/wired-subcircuit-design/SKILL.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Wired Sub-circuit Design Skill

Use this skill when an agent must produce a schematic that looks like a person drew it — wired functional blocks, conventional power, a clean breakout bus — not just an electrically valid netlist. It is the deliberate, higher-effort path that sch_build_circuit(auto_layout=True, nets=...) cannot reach.

Specific to oaslananka/kicad-mcp-pro. Keep in sync with docs/tools-reference.generated.md. Worked reference: examples/gallery/esp32-c3-wroom-02-breakout.

Why auto layout is not enough

sch_build_circuit with nets uses a collision-safe terminal strategy: every pin endpoint gets a stub plus a same-named global label / power symbol, so nets connect by name and can never short by crossing geometry. That is correct and ERC-clean, but it reads as a machine netlist: every decoupling cap floats between its own +3V3 and GND labels instead of being wired. Showcase quality needs explicit placement and wires. The cosmetic score never measures this — judge the render, not the number.

The one rule that avoids a blank sheet

Build the whole sheet in a single sch_build_circuit pass with explicit symbols (with coordinates), wires, labels and power_symbols — and no nets, no auto_layout. Do not assemble a schematic from scratch with repeated sch_add_symbol calls: a freshly seeded sheet has no root UUID that the reader round-trips, so each incremental add stamps a different instance path and KiCad renders a blank sheet even though the file parses. One pass writes one consistent root UUID, so every symbol lands on the root sheet.

Compute exact pin coordinates up front with get_pin_positions(lib, sym, x, y, rot) (pure geometry — no placement needed), then wire pin-tip to pin-tip.

Design pattern

  1. Anchor the main part (MCU / module) in the center.
  2. Wire the sub-circuit islands. Decoupling, reset, boot-strap, status LED, regulators — draw each as a real wired block ending in power symbols. This is what separates a showcase from auto output; do not let these become floating labelled pins.
  3. Label bus for the breakout. Route general IO to a header with matched local labels. Generate the part-side and header-side labels from one source list so the two label sets are identical by construction — this eliminates the whole isolated_pin_label / label_dangling class, not just the ones you happen to see.
  4. Conventional power. +3V3 up, GND down; put exactly one PWR_FLAG on each supply net so ERC sees the rails driven.
  5. Place each sub-circuit in its own x-column below the anchor, and keep decoupling clear of the anchor's stub fan — most first-pass ERC errors (multiple_net_names) come from a power symbol landing on a neighbouring label.
  6. Fill the title block with sch_set_title_block_info.

Read the full file on GitHub · 93 lines

Changes

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.

  1. 12d ago First seen · 93 lines · 48 tokens per session scan A 8811b5c5d44c

Subscribe to this mod's changes

wired-subcircuit-design is a skill published in the GitHub repository oaslananka/kicad-mcp-pro (83 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 1,158 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

jlcpcb-headstage-pcb

A project-specific guide for reviewing and improving printed-circuit-board designs made for JLCPCB's electronics-manufacturing service. It also covers manufacturing files such as Gerbers and drill files.

Dissipative-ATLAS/jlceda-codex-mcp · 170 tokens

circuit-design

Use when designing an electronic circuit from requirements, choosing topology or regulator type, selecting component values, planning protection circuits, or deciding what goes on a board before schematic capture begins. Also use when the user asks "what components do I need" or "how should I power this.".

ProductOfAmerica/mcp-server-kicad · 60 tokens

using-kicad

Use when starting any conversation involving electronics, KiCad, PCB design, schematic capture, circuit design, or EDA tasks.

ProductOfAmerica/mcp-server-kicad · 30 tokens

schematic-plan

Use after circuit-design produces a validated BOM (specs/bom.md) to plan exact component placement coordinates and wiring before schematic capture begins. Pure planning — no file modifications.

ProductOfAmerica/mcp-server-kicad · 39 tokens

pcb-layout

Use when placing footprints on a PCB, routing traces, adding vias or copper zones, deciding trace widths, or planning board layout strategy. Also use when the user asks about PCB stackup, ground planes, trace spacing, or component placement on a board.

ProductOfAmerica/mcp-server-kicad · 54 tokens

schematic-design

Use when executing a schematic placement plan (plan mode) or modifying an existing schematic (modification mode).

ProductOfAmerica/mcp-server-kicad · 25 tokens