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 (1,981 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.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.svg" alt="Measured on agentmods" 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 1,981 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.01981
Opus 5 $0.00028 $0.00991
Sonnet 5 $0.00011 $0.00396
Haiku 4.5 $0.00006 $0.00198

Measured 8d ago against content hash 82dcfddef5ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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 · 189 lines

How it starts

The opening of the file, as written. The whole thing — 189 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

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:

Prefix Role Reason
R (resistor) SHUNT Pull-ups, voltage dividers
C (capacitor) SHUNT Decoupling caps
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 (switch) PASS_THROUGH Power switching

Step 3: AI Analysis for Unknown Components

For each component in the unknown list, you MUST:

3a. Identify What It Is

Use WebSearch to look up the component:

WebSearch: "<part_value> <footprint_hint> datasheet"

Examples:

  • "DB9 connector pinout" - Is it signal or power?
  • "1N4004 diode datasheet" - Rectifier vs signal diode
  • "3906 transistor datasheet" - Power switch or signal amp?
  • "LT1129 regulator datasheet" - Voltage regulator specs
  • "MCF5213 power consumption" - IC current requirements

3b. Determine Its Role

Based on the datasheet/search results, classify as:

Role Criteria
POWER_SOURCE Supplies current to the board: power jacks, battery connectors, regulator outputs, USB power inputs
CURRENT_SINK Consumes significant current: ICs, MCUs, CPLDs, FPGAs, motor drivers, high-power LEDs
PASS_THROUGH Current flows through it: power switches, transistors used as switches, protection diodes in series
SHUNT Branches off the power path: ESD protection diodes, TVS diodes, signal connectors

Read the full file on GitHub · 189 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. 8d 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 (395 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 1,981 once invoked, about $0.0003 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

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 20 skills: FreeCAD, OpenSCAD, OCCT, CadQuery, KiCad, SolveSpace, QCAD, xBIM, Clipper2, TongWen and more.

znlgis/opengis-skills · 81 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

altium-pcb-placement

Altium PCB component placement — derive board size, decide rotation for main ICs and connectors, split zones, generate a 1:1 placement plan drawing, then inject real coordinates after approval, and check overlaps. Triggers: "PCB placement", "place the components", "how big should the board be", "board outline", "start…

ScottJeong/altium-claude-skills · 250 tokens

altium-schematic-review

Review an Altium schematic (.SchDoc) — find unconnected pins, missing footprint links and net errors, then judge each candidate against the datasheet before calling it a defect. Triggers: "review this schematic", "check my circuit", "ERC", "floating pins", "unconnected", "any missing footprints", "does this schematic…

ScottJeong/altium-claude-skills · 251 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