adding-parts

adding-parts is a skill for Claude Code, Codex from git-plm/parts. It costs 58 tokens per session (5,450 once invoked), scanned A, original, MIT.

A procedure for adding a manufacturer’s electronic component to a parts library used by KiCad, an electronics design program. It records the part and connects its datasheet, circuit symbol, circuit-board footprint, and 3D model.

In plain words
What is it for?
Use it when adding a part from its manufacturer and part number. It helps assign an internal part number, choose the right category, verify the datasheet, and reuse or create the required KiCad files.
Why use it?
It reduces the risk of creating a library part with incorrect pins, package details, or electrical specifications by checking the manufacturer’s datasheet.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/git-plm/parts/adding-parts
Any agent
npx skills add git-plm/parts --skill adding-parts
Clone the repo
git clone --depth 1 https://github.com/git-plm/parts

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 adding-parts

README.md
[![agentmods](https://agentmods.dev/badge/skills/git-plm/parts/adding-parts.svg)](https://agentmods.dev/skills/git-plm/parts/adding-parts)
Your own site
<a href="https://agentmods.dev/skills/git-plm/parts/adding-parts"><img src="https://agentmods.dev/badge/skills/git-plm/parts/adding-parts.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,450 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00058 $0.05450
Opus 5 $0.00029 $0.02725
Sonnet 5 $0.00012 $0.01090
Haiku 4.5 $0.00006 $0.00545

Measured 4d ago against content hash 33e66f05636c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

adding-parts scanned grade A with 1 finding 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check-csv.py), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sSL -A "$UA" -o /tmp/part.pdf "<manufacturer datasheet url>"
.claude/skills/adding-parts/SKILL.md · 450 lines

How it starts

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

Adding Parts

Overview

Turn a manufacturer + MPN into a complete library part: one row in the right database/g-XXX.csv, a verified datasheet link, a symbol, a footprint, and a 3D model.

Reuse before you create. The KiCad standard library covers most symbols and footprints. A standard footprint also carries its own 3D model, so choosing one correctly removes three tasks at once. Author a symbol or footprint only when nothing standard fits.

The datasheet is the source of truth, not the request. The MPN, package, and specs you are handed are frequently wrong in some detail. Confirm every value against the manufacturer's datasheet before writing a row.

Run every command from the repo root.

Workflow

1. Read the datasheet

Never take component specifications from a text summary of a PDF. WebFetch and similar summarizers fabricate pin counts, package codes, current ratings, and dimensions with total confidence. This has produced a 6-pin symbol for an 8-pin part.

Download the PDF and read the pages as images. Send a browser user-agent and confirm you actually got a PDF:

UA='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0 Safari/537.36'
curl -sSL -A "$UA" -o /tmp/part.pdf "<manufacturer datasheet url>"
file /tmp/part.pdf    # must say "PDF document"

Manufacturer CDNs (Nexperia and others sit behind Akamai) reject curl's default user-agent with a 403 and return a several-hundred-byte HTML "Access Denied" page. curl -o part.pdf saves that HTML under the .pdf name without error. If you skip the file check you will be reading an error page and inventing specs from nothing. Always confirm before you read.

Analog Devices / Maxim (analog.com/media/..., pdfserv.maximintegrated.com) is a different failure: curl's HTTP/2 request is reset mid-stream (curl: (92) HTTP/2 stream 1 reset by server), and forcing --http1.1 then stalls for minutes even with a browser user-agent. Try --http1.1 once; if it still hangs, do not fight it - ask the user to download the PDF and give you the path (they run it in a browser, which the CDN serves normally). The same CDN also times out the curl -sSI URL check below, so a valid ADI datasheet URL can look broken - confirm the link in a browser rather than trusting a curl non-200/timeout.

Read the full file on GitHub · 450 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. 4d ago First seen · 450 lines · 58 tokens per session scan A 33e66f05636c

Subscribe to this mod's changes

adding-parts is a skill published in the GitHub repository git-plm/parts (58 stars, last pushed 7d ago), licensed MIT. It adds 58 tokens to every session and 5,450 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

integrated-browser

Use this when working on the VS Code integrated browser ("browserView") to understand its architecture and mental model. Covers the embedded Chromium browser, its editor tab, navigation, overlay/layout, sessions, and agent browser tools under src/vs/platform/browserView and src/vs/workbench/contrib/browserView.

microsoft/vscode · 68 tokens

project-snmp-profiles-authoring

Use when editing Netdata SNMP profile YAMLs, topology SNMP profiles, ddsnmp profile parsing, or profile-format documentation. Requires checking source MIB field accessibility, especially MAX-ACCESS not-accessible INDEX objects, before adding or changing profile symbols.

netdata/netdata · 60 tokens

pcbway

PCBWay PCB fabrication and assembly — turnkey/consigned assembly, design rules, ordering workflow. Alternative to JLCPCB for manufacturing. Use with KiCad. Use this skill when the user mentions PCBWay, needs turnkey assembly (PCBWay sources parts by MPN), has parts not available on LCSC, needs assembled boards with…

aklofas/kicad-happy · 119 tokens

unifi-protect

How to manage UniFi Protect cameras and NVR — view cameras, smart detections, Find Anything detection search, recordings, snapshots, lights, sensors, Known Faces, license plates, and the Alarm Manager. Use this skill when the user mentions UniFi cameras, security cameras, NVR, recordings, motion detection, person…

sirkirby/unifi-mcp · 112 tokens

find-high-speed-nets

Analyzes a KiCad PCB to identify high-speed and impedance-controlled nets by looking up component datasheets via AI. Classifies nets by speed tier (ultra-high/high/medium/low), detects RF/antenna feeds and other controlled-impedance nets, estimates max frequencies and rise times per interface, and recommends GND…

drandyhaas/KiCadRoutingTools · 133 tokens

tilelang-env-check

TileLang-Ascend 环境检查与配置验证技能。检查代码仓库完整性、编译安装状态、环境变量配置,并运行简单测试验证环境。发现问题会自动调用相关 skill 进行修复,并按依赖顺序重新执行后续步骤。触发关键词:"环境检查"、"检查环境"、"验证环境"、"环境配置"、"环境搭建"、"env check"、"check environment"、"verify environment"、"setup environment"。.

tile-ai/tilelang-ascend · 112 tokens