pcb-analysis

pcb-analysis is a skill for Claude Code, Codex from biosshot/kicad-copilot. It costs 29 tokens per session (553 once invoked), scanned A, original, MIT.

A tool for exporting saved KiCad circuit-board designs and analysing their electrical or thermal properties. KiCad is software for designing schematics and printed circuit boards, or PCBs.

In plain words
What is it for?
Use it to inspect board geometry and nets, export routing data, and run electrical or thermal scenarios using the board's materials, stackup, sources, and loads.
Why use it?
It checks real board connections, component pins, return paths, layers, and physical conditions rather than relying only on a schematic view. This helps expose routing or thermal concerns in the saved design.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect board geometry and nets, export routing data, and run electrical or thermal scenarios using the board's materials, stackup, sources, and loads.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/biosshot/kicad-copilot/pcb-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add biosshot/kicad-copilot --skill pcb-analysis
Clone the repo
git clone --depth 1 https://github.com/biosshot/kicad-copilot

Made for: Claude Code, Codex.

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 pcb-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/biosshot/kicad-copilot/pcb-analysis/github.svg)](https://agentmods.dev/skills/biosshot/kicad-copilot/pcb-analysis)
Your own site
<a href="https://agentmods.dev/skills/biosshot/kicad-copilot/pcb-analysis"><img src="https://agentmods.dev/badge/skills/biosshot/kicad-copilot/pcb-analysis/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 pcb-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/biosshot/kicad-copilot/pcb-analysis"><img src="https://agentmods.dev/badge/skills/biosshot/kicad-copilot/pcb-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 553 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.
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.00029 $0.00553
Opus 5.5 $0.00012 $0.00221
Sonnet 5.5 $0.00006 $0.00111
Haiku 4.5 $0.00003 $0.00055

Measured 5d ago against content hash 45b903ff0edf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pcb-analysis 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 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (dsl.ts, examples/connectivity.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

docs/pcb-analysis/SKILL.md · 20 lines

How it starts

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

PCB analysis in KiCad

  1. Identify the saved .kicad_pcb and linked schematic. Use analyze_pcb or native KiCad inspection to locate the actual nets, component pins, and return paths. If the design relies on pours, save the intended filled board in KiCad before capture.
  2. Call export_pcb_routing_board({path}) when the captured geometry needs review. Open the returned JSON, which contains board and diagnostics. Use its canonical layer names (TOP, BOTTOM, and any inner layers), exact net names, and pad numbers in selectors.
  3. Read the analysis DSL declarations and use the connectivity example for a first run. For a physical calculation, write a trusted local JavaScript scenario using analysis({board}). Specify the actual source and load ports, reference layers, materials, stackup, conditions and calculation budget.
  4. In a persistent CLI session, call run_pcb_analysis({path, file, wait_ms: 1000}). If it returns running, poll wait_operation in the same session. Use cancel_operation and wait for the terminal result to stop a run. The operation accepts one analysis per process and uses a 75-minute scenario deadline. An interactive shell invocation of node without a session is suitable only when the operation finishes during the initial wait.
  5. Inspect the overview PNG, then read summary.json for each calculation's status, validity, and capture diagnostics. Consult the relevant plots and values in result.json. The board_path holds the input snapshot used for the report.

Inputs and validity

  • Capture reads the saved board and uses its associated project rules where available. It records stored layer fills and marks freshness unknown. Use cadFill: "snapshot" only when the saved fill is the intended input. Missing fill and incomplete or approximated geometry are reported separately.
  • Use the fabricator's actual stackup, copper and via plating thickness, conductivity, permittivity and loss tangent. Use the schematic, datasheets, measurements or operating conditions for source and load models, heat loss, ambient temperature and cooling. State any material assumptions.
  • Report each calculation's status and validity. A completed scenario can contain partial or unavailable calculations. Gray copper and excluded regions have unknown coverage. Physical accuracy is unverified.
  • Use native KiCad DRC for rule signoff. The analyzer's geometry checks cover the supplied snapshot and scenario only.

Read the full file on GitHub · 20 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 20 lines · 29 tokens per session scan A 45b903ff0edf

Subscribe to this mod's changes

pcb-analysis is a skill published in the GitHub repository biosshot/kicad-copilot (37 stars, last pushed 6d ago), licensed MIT. It adds 29 tokens to every session and 553 once invoked, about $0.0001 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-11-26.

Related

pcb-analysis compared with skills from other repositories

pcb-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pcb-analysisbiosshot/kicad-copilotSkill376d agoMITA29Claude Code, Codex
kicad-librarymixelpixx/KonnectSkill1.5k29d agoAGPL-3.0A77Claude Code
kicad-pcbmixelpixx/KonnectSkill1.5k29d agoAGPL-3.0A81Claude Code
kicad-reviewmixelpixx/KonnectSkill1.5k29d agoAGPL-3.0A83Claude Code
kicad-schematicmixelpixx/KonnectSkill1.5k29d agoAGPL-3.0A71Claude Code
kicad-manufacturemixelpixx/KonnectSkill1.5k29d agoAGPL-3.0A79Claude Code
konnectmixelpixx/KonnectSkill1.5k29d agoAGPL-3.0A51Claude Code, Codex