mcp_diptrace: Skill for Claude Code

.agents/skills/easyeda-lcsc-sourcing/SKILL.md

easyeda-lcsc-sourcing is a skill for Claude Code, Codex from fireostendere/mcp_diptrace. It costs 134 tokens per session (1,276 once invoked), scanned A, original, Apache-2.0.

A component-sourcing workflow that finds a manufacturer's part number in the LCSC catalogue, retrieves its EasyEDA symbol, footprint, and datasheet, and converts the geometry into a DipTrace library fragment. LCSC is an electronic-component distributor, while EasyEDA is its associated electronics design-data service.

In plain words
What is it for?
Use it to prepare a real component for schematic and PCB work, resolve an LCSC part code, download its official datasheet, and create a DipTrace library fragment.
Why use it?
It avoids manually rebuilding component symbols and footprints and keeps the imported library data tied to catalogue and datasheet sources. It also caches downloaded source files for later reference.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

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

Reuse

Borrowing it

Nothing to install: this file belongs to fireostendere/mcp_diptrace. 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/fireostendere/mcp_diptrace/main/.agents/skills/easyeda-lcsc-sourcing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/fireostendere/mcp_diptrace

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 easyeda-lcsc-sourcing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fireostendere/mcp_diptrace/easyeda-lcsc-sourcing"><img src="https://agentmods.dev/badge/skills/fireostendere/mcp_diptrace/easyeda-lcsc-sourcing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,276 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00134 $0.01276
Opus 5.5 $0.00054 $0.00510
Sonnet 5.5 $0.00027 $0.00255
Haiku 4.5 $0.00013 $0.00128

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

Security

Grade A, and why

easyeda-lcsc-sourcing 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (fetch_component.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`, `python3`). Rate-limit yourself: ~1 request/second, cache everything
.agents/skills/easyeda-lcsc-sourcing/SKILL.md · 119 lines

How it starts

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

EasyEDA / LCSC Component Sourcing

Verified against the live endpoints on 2026-08-25. All commands are stdlib-only (curl, python3). Rate-limit yourself: ~1 request/second, cache everything you download into the project's vendor/ directory.

Verified pipeline

1. Resolve MPN -> LCSC part code

LCSC's own search APIs (wmsc.lcsc.com/wmsc/..., cart.jlcpcb.com/shoppingCart/ ...) are dead or auth-walled. Two working options:

  • DuckDuckGo HTML endpoint (scriptable, no JS):
curl -sSL -m 20 -A "Mozilla/5.0" \
  "https://html.duckduckgo.com/html/?q=INA226AIDGSR+lcsc+product-detail" \
| grep -oE 'lcsc\.com/product-detail/(C[0-9]{6,8})\.html' | head -1
  • Or any web-search tool with the query <MPN> lcsc product detail.
  • If you already have the code (C2980299), skip this step.

2. Product page -> EasyEDA uuids + datasheet URL

item.lcsc.com may not resolve; use www.lcsc.com:

curl -sSL -m 25 -A "Mozilla/5.0" \
  "https://www.lcsc.com/product-detail/C165948.html" -o item.html
grep -oE 'component_svgs/prod/[a-f0-9]{32}' item.html | sort -u
grep -oE '"pdfUrl":"[^"]+"' item.html

The page embeds one or more image.easyeda.com/component_svgs/prod/<uuid>.svg previews (symbol-only doc and usually a combined doc) plus a "pdfUrl":"https://datasheet.lcsc.com/datasheet/pdf/<uuid>.pdf?productCode=C..." field.

3. Download the combined component JSON

The authoritative geometry lives behind:

curl -sS "https://easyeda.com/api/components/<uuid>" > C165948.json

Response shape (same as historical vendor/*.json files):

  • result.dataStr.shape — symbol: P~show~0~<pin>~<x>~<y>~... pins, R~... body rectangle;
  • result.packageDetail.dataStr.shape — footprint: PAD~RECT~..., TRACK~..., CIRCLE~... entries, plus packageDetail.title (land-pattern name) and dataStr.head.x/y (footprint origin);
  • result.uuid, result.packageDetail.uuid — provenance for AddFields.

If several svg uuids were found on the page, call the API for each and keep the one whose result.packageDetail is non-null (that is the combined symbol+footprint document).

Read the full file on GitHub · 119 lines

Files

What ships with it

1 file 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. 1mo ago First seen · 119 lines · 134 tokens per session scan A a81dcba00eb9

Subscribe to this mod's changes

easyeda-lcsc-sourcing is a skill published in the GitHub repository fireostendere/mcp_diptrace (25 stars, last pushed 15d ago), licensed Apache-2.0. It adds 134 tokens to every session and 1,276 once invoked, about $0.0005 per session on Opus 5.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-09-13.

Related

Other skills, from other repositories

fictiv

Operates Fictiv (app.fictiv.com), the on-demand manufacturing platform, end to end in the user's browser. Covers uploading CAD parts, configuring process, material, finish, threads, tolerances and inspections, getting instant or manual quotes, reading and fixing DFM feedback, choosing lead time and region, checking…

K-Dense-AI/scientific-agent-skills · 209 tokens

element14

Search Newark, Farnell, and element14 for electronic components — find parts by MPN or distributor part number, check pricing/stock, download datasheets, analyze specifications. One unified API covers all three storefronts (Newark for US, Farnell for UK/EU, element14 for APAC). Free API key, simple query-parameter…

aklofas/kicad-happy · 188 tokens

coin-vending-amusement-machine-servicer

Use when a task needs the judgment of a Coin, Vending, and Amusement Machine Servicer and Repairer — triaging a jam across bill validators, coin mechanisms, refrigerated vending units, and arcade/amusement PCBs on a route, setting restock par levels against route-cycle economics, investigating a cash-collection…

wonsukchoi/domain-experts · 93 tokens

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