Borrowing it
Nothing to install: this file belongs to git-plm/parts. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/git-plm/parts/main/CLAUDE.mdgit clone --depth 1 https://github.com/git-plm/partsWrote 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.
[](https://agentmods.dev/instructions/git-plm/parts/claude-md)<a href="https://agentmods.dev/instructions/git-plm/parts/claude-md"><img src="https://agentmods.dev/badge/instructions/git-plm/parts/claude-md/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.
<a href="https://agentmods.dev/instructions/git-plm/parts/claude-md"><img src="https://agentmods.dev/badge/instructions/git-plm/parts/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01750 | $0.01750 |
| Opus 5.5 | $0.00700 | $0.00700 |
| Sonnet 5.5 | $0.00350 | $0.00350 |
| Haiku 4.5 | $0.00175 | $0.00175 |
Grade A, and why
parts CLAUDE.md 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What this repo is
A KiCad parts library that is stored as data, not code. The CSV files in
database/ are the database — GitPLM
reads them directly and serves them to KiCad over the
HTTP libraries API:
database/g-XXX.csv -> gitplm http (port 7654) -> KiCad
There is no build step and no database to regenerate. gitplm http watches
database/ and reloads on save, so a CSV edit is live in KiCad immediately — no
restart, no library refresh.
The older CSV -> SQLite3 -> ODBC -> KiCad path (parts_db_create in
envsetup.sh, database/#gplm.kicad_dbl, database/parts.sqlite) is obsolete
and kept only for anyone who has not migrated. parts.sqlite is generated and
gitignored. Do not rebuild it unless the user says they are still on that path.
The category triad
A part's three-letter category code (RES, ICS, DIO, ...) names three files
at once, and keeping them aligned is the point of the scheme:
| Concern | Path |
|---|---|
| Data | database/g-XXX.csv |
| Symbols | symbols/g-XXX.kicad_sym |
| Footprints | footprints/g-XXX.pretty/ |
Adding a category means adding a database/g-XXX.csv; gitplm http discovers
it on the next reload. There is no library list to register it in.
Column sets differ per category and are not in a consistent order — always
head -1 the file before writing a row. A few categories (ASY, CBL, ENC,
FAN, FST) are BOM-only and have no Symbol/Footprint columns.
IPNs are CCC-NNNN-VVVV and are the database key. partnumbers.md is the full
specification.
Commands
# Validate a CSV: IPN format and sort order, duplicate IPNs, whether
# Symbol/Footprint references resolve against the installed KiCad libraries,
# field padding, datasheet links, spelling drift, and whether a variation code
# agrees with the value column. Run from the repo root.
scripts/check-csv.py --new-only database/g-reg.csv
# Pass the whole database to add the checks that need every file at once:
# one spelling per manufacturer, and no MPN carried by two live parts.
scripts/check-csv.py --new-only database/g-*.csv
# Check every resistor in a KiCad schematic against g-res.csv and repoint any
# IPN that disagrees with the resistance the symbol carries. Reports by
# default; --write applies. Accepts files or directories.
scripts/update-design-ipns.py path/to/design.kicad_sch
# Serve the database to KiCad; watches database/ and reloads on save.
gitplm http
# Markdown formatting (prettier pinned by .prettier-version)
. envsetup.sh && parts_format # write
. envsetup.sh && parts_format_check # check only
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.
- 2mo ago Changed · +16 lines · +238 tokens per session 48f77d0d62c2
- 2mo ago First seen · 125 lines · 1,512 tokens per session scan A 23a8345f639a
parts CLAUDE.md is an instructions file published in the GitHub repository git-plm/parts (60 stars, last pushed 3d ago), licensed MIT. It adds 1,750 tokens to every session, about $0.0070 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.
parts CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| parts CLAUDE.mdgit-plm/parts | Instructions file | 60 | 3d ago | MIT | A | 1,750 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |