KiCadRoutingTools: Skill for Claude Code

.claude/skills/analyze-power-nets/SKILL.md

analyze-power-nets is a skill for Claude Code from drandyhaas/KiCadRoutingTools. It costs 57 tokens per session (2,677 once invoked), scanned A, original, MIT.

A KiCad PCB analysis tool that identifies power and ground connections by examining components and their datasheets. It also recommends track widths for carrying power safely.

In plain words
What is it for?
Finding power nets, tracing how power moves through components such as filters and fuses, classifying unfamiliar parts, and choosing suitable PCB track widths.
Why use it?
It helps when a board's pin-type information is missing or unreliable, so power paths are not classified by guesswork.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is drandyhaas/KiCadRoutingTools's own configuration. It tells Claude Code how to work on KiCadRoutingTools 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 KiCadRoutingTools configures →

Reuse

Borrowing it

Nothing to install: this file belongs to drandyhaas/KiCadRoutingTools. 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/drandyhaas/KiCadRoutingTools/main/.claude/skills/analyze-power-nets/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/drandyhaas/KiCadRoutingTools

Made for: Claude Code.

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 analyze-power-nets

README.md
[![agentmods](https://agentmods.dev/badge/skills/drandyhaas/kicadroutingtools/analyze-power-nets/github.svg)](https://agentmods.dev/skills/drandyhaas/kicadroutingtools/analyze-power-nets)
Your own site
<a href="https://agentmods.dev/skills/drandyhaas/kicadroutingtools/analyze-power-nets"><img src="https://agentmods.dev/badge/skills/drandyhaas/kicadroutingtools/analyze-power-nets/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 analyze-power-nets

Your own site · 80×15
<a href="https://agentmods.dev/skills/drandyhaas/kicadroutingtools/analyze-power-nets"><img src="https://agentmods.dev/badge/skills/drandyhaas/kicadroutingtools/analyze-power-nets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,677 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.00057 $0.02677
Opus 5.5 $0.00023 $0.01071
Sonnet 5.5 $0.00011 $0.00535
Haiku 4.5 $0.00006 $0.00268

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

Security

Grade A, and why

analyze-power-nets 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 3d 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.

.claude/skills/analyze-power-nets/SKILL.md · 224 lines

How it starts

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

Analyze Power Nets

When this skill is invoked, perform a full AI-powered analysis of the PCB to identify power nets and recommend track widths.

Step 1: Load and Extract Components

import sys
sys.path.insert(0, "py_tools")
from analyze_power_paths import (
    analyze_pcb, get_components_needing_analysis, classify_component,
    trace_power_paths, get_power_net_recommendations, format_analysis_report,
    ComponentRole
)

components, pcb_data = analyze_pcb("path/to/file.kicad_pcb")
unknown = get_components_needing_analysis(components)

Step 2: Auto-Classify Obvious Components

These are already handled automatically - no AI needed (_auto_classify_component; a prefix counts only when a digit follows it, e.g. R12, FB3, except SW and LED):

Prefix Role Reason
any part with a power_out pin POWER_SOURCE Regulator output (checked first)
R (resistor) SHUNT Pull-ups, voltage dividers (default; reclassify a series power resistor)
C (capacitor) SHUNT Decoupling cap: only a two-terminal cap with one side on a GND net. Any other cap stays UNKNOWN (could be a series cap)
L (inductor) PASS_THROUGH Series filter element
FB (ferrite bead) PASS_THROUGH Series filter element
F (fuse) PASS_THROUGH Series protection
LED CURRENT_SINK Consumes current
SW, S (switch) PASS_THROUGH Power switching
U (IC) CURRENT_SINK Current unknown: counted as 100 mA until you classify it
VR (regulator) POWER_SOURCE Current unknown: counted as 100 mA until you classify it

Step 3: AI Analysis for Unknown Components

unknown holds only the UNKNOWN parts (diodes, transistors, J/P/TB/CN connectors, caps that are not plain decoupling, anything unmatched). ICs and VR regulators are already auto-classified, but with no current rating, so every one counts as 100 mA in the recommendations: look them up too (Step 4) and re-classify them with current_rating_ma.

Read the full file on GitHub · 224 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. 3d ago Changed · +15 lines f4cae8983a14
  2. 5d ago Changed · +18 lines 2b12eeac9d16
  3. 18d ago Changed · +2 lines cb3d62792582
  4. 2mo ago First seen · 189 lines · 57 tokens per session scan A 82dcfddef5ac

Subscribe to this mod's changes

analyze-power-nets is a skill published in the GitHub repository drandyhaas/KiCadRoutingTools (706 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 2,677 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

tao-train-visual-changenet

Visual ChangeNet for binary image classification and segmentation in AOI defect detection. Use when training, evaluating, exporting, or running inference for PCB defect detection or visual inspection, comparing image pairs for PASS/NOPASS classification, or producing change-segmentation masks. Trigger phrases include…

NVIDIA-TAO/tao-skill-bank · 92 tokens

cad-skills

Use when doing parametric 3D modeling, 2D drafting, geometric kernel development, BIM/IFC processing, PCB design, or AutoCAD .NET development. Index of 21 skills: FreeCAD, OpenSCAD, OCCT, CadQuery, Blender, KiCad, SolveSpace, QCAD, xBIM, Clipper2, TongWen and more.

znlgis/opengis-skills · 83 tokens

altium-library

Create and verify Altium schematic symbols (.SchLib) and PCB footprints (.PcbLib) from datasheets and 2D drawings, as code. Use whenever a part library must be made, fixed, measured from a drawing, or checked. Triggers: "make a footprint", "create a symbol", "add this part to the library", "SchLib", "PcbLib"…

ScottJeong/altium-claude-skills · 256 tokens

universal-netlist

Query EDA netlists from the shell with the universal-netlist command line: Cadence OrCAD .DSN, Altium .PrjPcb, KiCad .kicadpro and Universal Netlist .netlist.json. Finds designs, searches nets and components, traces connectivity across passives (XNETs), and runs electrical rule checks. Use when reviewing a schematic…

IntelligentElectron/universal-netlist · 101 tokens

pcb-design

Design, modify, review, validate, or export a KiCad schematic or PCB from natural-language hardware requirements. Use for circuit design, component selection, schematic capture, footprint assignment, board layout, routing, ERC/DRC, BOM, Gerbers, and manufacturing handoff through the KiCad MCP tools.

Avinash1286/KiCAD-MCP-Server-THEAVI · 65 tokens

kicad-copilot-mcp

Use when KiCad Copilot MCP tools are available. Entry point for KiCad schematic and PCB workflows.

biosshot/kicad-copilot · 30 tokens