librarian

librarian is a skill for Claude Code, Codex from diodeinc/pcb. It costs 17 tokens per session (1,128 once invoked), scanned A, original, MIT.

A set of rules for creating reusable KiCad electronic-design parts, such as symbols, circuit-board footprints, 3D models, and datasheets, in a component registry.

In plain words
What is it for?
Use it when adding or fixing registry components, choosing parts from a family, checking symbols or footprints, or preparing datasheet-backed reference circuits.
Why use it?
It helps prevent unsupported or incorrect part data from entering a shared library by requiring checks against manufacturer documentation and trusted sources.

Skill for Claude CodeCodex

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

Good fit Use it when adding or fixing registry components, choosing parts from a family, checking symbols or footprints, or preparing datasheet-backed reference circuits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/diodeinc/pcb/librarian
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 diodeinc/pcb --skill librarian
Clone the repo
git clone --depth 1 https://github.com/diodeinc/pcb

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 librarian

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/diodeinc/pcb/librarian"><img src="https://agentmods.dev/badge/skills/diodeinc/pcb/librarian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,128 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
  • Socket pass 10 Oct 2026
  • Snyk pass 10 Oct 2026
  • 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.00017 $0.01128
Opus 5.5 $0.00007 $0.00451
Sonnet 5.5 $0.00003 $0.00226
Haiku 4.5 $0.00002 $0.00113

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

Security

Grade A, and why

librarian 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 7d 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.

skills/librarian/SKILL.md · 107 lines

How it starts

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

Librarian

Create sourceable, evidence-backed packages that board designers can search and instantiate. Work in the current registry; dispatch another librarian only when the user asks. Use the artifact skills as needed: kicad-symbol, kicad-footprint, zener-language, and module-layout.

Package scope

Search the registry before creating a package.

Inspect and extend a suitable existing package, including published results. Group a family when it shares footprint, pinout, feature set, and fundamental schematic topology. Use separate packages when those contracts differ. For a new package, establish its final directory and pcb.toml before authoring so its evolving content is discoverable.

Keep simple parts such as connectors and passives primitive unless user requirements or manufacturer guidance establish an application circuit. An unspecified request for a reference design does not justify inventing board wiring, protection, passive values, or a layout. Include datasheet-required or strongly recommended support circuitry when warranted by the requested package; respect a primitive-only request.

Curate the relevant symbols, footprints, and pin maps before building circuitry on them. Do not invent datasheet facts, limits, or sourcing claims. Focused repairs need only the relevant curation stages. Keep the datasheet URL in metadata; do not check downloaded PDFs into the package.

Curate symbols, footprints, and models

  • Functional silicon variants need distinct symbols; ordering-only variants such as tape/reel, temperature grade, or RoHS suffixes do not.
  • An MPN match or resemblance to a reference footprint does not establish footprint correctness. Requested creation or repair includes replacing an incorrect candidate or generating one from authoritative evidence; ask only if required geometry remains unresolved. Review-only work produces findings.
  • For an accepted footprint, set Datasheet to the authoritative geometry source and Description to its package and evidence basis.
  • Embed a verified STEP for the exact package, or make its absence and impact explicit. A known-wrong model is not an acceptable substitute.

Read the full file on GitHub · 107 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. 7d ago Changed · -1 lines 409fc996861f
  2. 12d ago Changed · -5 lines 61ffd188369f
  3. 17d ago Changed · -53 lines 18cfcb125208
  4. 23d ago Changed · -3 lines fb1d0a2ff79b
  5. 26d ago Changed · -1 lines 19d9b4f08061
  6. 1mo ago Changed 9c41a00fa7c5
  7. 1mo ago Changed · -158 lines · -58 tokens per session 0791b6a399f4
  8. 1mo ago Changed · +2 lines 3920965dc483
  9. 1mo ago Changed · +2 lines 2bb311db6677
  10. 1mo ago First seen · 324 lines · 75 tokens per session scan A 8e2f2a5f439f

Subscribe to this mod's changes

librarian is a skill published in the GitHub repository diodeinc/pcb (465 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 1,128 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-08-30.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

jetson-diagnostic

Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.

NVIDIA/skills · 30 tokens

holoscan-install-wheel

Install Holoscan SDK 5.x CUDA 13 Python wheels in an isolated environment, choosing the full stack or version-matched components.

NVIDIA/skills · 34 tokens

offensive-z-wave

Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…

SnailSploit/Claude-Red · 113 tokens

doca-socket-relay

Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…

NVIDIA/skills · 236 tokens

hsb-flash

Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…

NVIDIA/skills · 94 tokens