SkillsReviewed · aklofas

Datasheets skill for kicad-happy

Datasheets is an AI assistant skill for electronics designers and KiCad developers that turns component PDFs into reusable specifications, but it requires agent orchestration and careful checking. It provides extraction prompts, JSON schemas, project-local caches and Python helpers, with broader category coverage in its schemas than in its typed API.

Researched 15 Nov 2026

In short.

Datasheets is an AI assistant skill for electronics designers and KiCad developers that extracts component specifications from PDFs, but its agent workflow and generated facts need careful checking. Its documented v1.4 pipeline separates document scouting, specification extraction, schema validation and caching. Page references, test conditions and confidence labels make extracted values inspectable. The main integration limits are incomplete typed support beyond regulators, uneven enforcement of freshness and quality, and completeness scores that do not measure factual accuracy. Installation, extraction accuracy, operating costs and end-to-end reliability are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied skills/datasheets folder at commit 7d9d4d9fef87ac2d3eb16cfc5cdc9a0869f417f4: SKILL.md, typed Python modules, shared distributor code, prompts, references, schemas, examples, fixtures and scripts, together with the repository-root MIT LICENSE. Neighboring KiCad implementation modules, distributor provider adapters, external harness materials, manufacturer PDFs and agent-host services are outside this scope. All behavior is described from source; no installation, extraction, test, download or analyzer journey was executed.

The overview

Identity

Datasheets is the skills/datasheets folder in aklofas/kicad-happy. It combines assistant instructions, task prompts, JSON schemas, Python data types and supporting scripts for turning electronic component datasheets into specifications that other tools can read.

The original source location is [https://github.com/aklofas/kicad-happy/tree/main/skills/datasheets]. The supplied snapshot is commit 7d9d4d9fef87ac2d3eb16cfc5cdc9a0869f417f4, available at [https://github.com/aklofas/kicad-happy/tree/7d9d4d9fef87ac2d3eb16cfc5cdc9a0869f417f4/skills/datasheets]. The skill supplies extraction infrastructure for related KiCad, electromagnetic compatibility, thermal and simulation workflows.

Assessment

The strongest fit is a project that needs reusable, inspectable component facts for automated electronics checks. Separate source metadata, units, test conditions and page references provide more structure than an ordinary conversational PDF summary.

Regulator integration is more complete than the other category integrations. Schema validation establishes that an extraction has an accepted structure; it does not establish that the correct table row, package variant or electrical limit was extracted. Runtime reliability and factual accuracy are not assessed.

Users

Electronics designers can use the skill to organize pin functions, voltage limits, package information and application requirements for a particular manufacturer part number, or MPN. Developers can use those cached facts in schematic analyzers or other Python tools.

Beginners will need familiarity with datasheet tables and command-line tools. The shipped extraction recipe assumes an orchestrator inside Claude Code. Experienced developers can implement the dispatcher contract on another agent platform, but that integration is additional work.

Capabilities

The planner supports regulator, diode, transistor, operational amplifier, microcontroller and crystal extraction tasks, alongside shared base and pinout tasks. The base captures package details, absolute maximum ratings, recommended operating conditions, thermal characteristics and related information. Pin records can include electrical roles, alternate functions and supply-domain references.

SpecValue records preserve minimum, typical and maximum values, units, conditions and evidence metadata. Python helpers support cached lookup, pin searches and confidence filtering. Microcontroller category extraction covers catalog facts such as memory and peripheral counts; it does not model detailed per-peripheral configuration.

Shared distributor code supplies downloading, manifests and basic PDF identity checks for neighboring distributor skills. PDF acquisition remains a separate workflow from this skill's extraction entry points.

Using it

Requirements

Extraction needs a local component PDF, an exact target MPN, Python 3 and an agent host capable of reading the PDF and returning structured results. The scout prompt requires a matching MPN in the document and directs the scout to skip unsuitable documents, including scanned documents without machine-readable text. A complete supported Python-version and operating-system matrix is unknown.

Full task-schema validation requires jsonschema and referencing. The sanity-vector command also imports yaml. Optional PDF helpers use Poppler's pdftotext and pdfinfo. Shared downloading code can use requests or Playwright when installed, with urllib as another transport.

Several legacy, PDF and integration helpers import kicad_core from the neighboring KiCad skill. Consequently, the selected folder is not self-contained for every feature. Provider adapters, their account requirements and the agent host's data-handling terms are outside the supplied evidence.

Mechanism

A scout agent identifies document metadata, component categories and relevant pages. Python then builds a plan containing base, pinout and applicable category tasks. A separate dispatcher invokes the agents and saves wrapped task results. The merger validates each task's data and checks that its PDF hash matches the plan before combining the results.

The documented workflow retries failed tasks once. On the second merge, remaining failures can become explicit failure-marker objects in a partial extraction. The merger calculates a completeness score and writes the per-MPN JSON cache.

lookup() reads existing caches and compares the referenced PDF's SHA-256 hash with the stored hash. It neither extracts data nor calls a model. Confidence helpers filter values using labels assigned during extraction; best() returns the first value meeting the requested threshold, rather than ranking all values by confidence.

Setup

Keep the skill's prompts, schemas, scripts, datasheet_types and distributor_core directories together, and retain the root licence notice. Resolve the neighboring KiCad dependencies for the helpers you intend to use. The validation dependency command documented in the source is pip install jsonschema referencing.

Place the source PDF under the project's datasheets directory. Have the agent produce and validate the scout output, add the PDF hash, and save it as datasheets/extracted/<sanitized_mpn>.scout.json. Then invoke python3 <skill-path>/scripts/plan_extraction.py <mpn> <pdf_path> --use-cached-scout --cache-dir <cache_dir>, dispatch its tasks, and invoke merge_results.py with the same MPN and cache directory.

The planner cannot run a live scout itself. An existing cache with a matching PDF hash can also stop replanning, regardless of schema or quality changes; deliberate refreshes may require --force on planning and dispatch. These are source-described setup steps, not verified installation results.

Example

The shipped LM2596-ADJ example illustrates a regulator extraction. Its JSON records a recommended input range of 4.5–40 V, a separate absolute maximum of 45 V, and a typical feedback reference of 1.23 V with page and section references. These are values in the supplied example, not independently verified component specifications.

An illustrative consumer would call lookup('LM2596-ADJ', cache_dir=...), handle a missing result, check stale and quality, and inspect the relevant test conditions. It could then use best(..., min_confidence='high') on the required specification list and check that the needed numeric field is present.

The example file is documentation rather than a preinstalled runtime cache. Actual consumers read their project's datasheets/extracted directory. No example was executed.

Assessment & evidence

Limitations

Schema breadth exceeds typed-reader breadth. DatasheetFacts declares only the regulator category payload, and its codec ignores undeclared category fields. The MCU compatibility helper explicitly cannot derive its USB fields from v1.4 data. The documented SPICE consumer still uses legacy spice_specs fields.

The 0–100 score measures selected field population. Thirty points are always awarded, and non-regulator category objects receive full category credit when present without a category-specific field rubric. Pinout scoring evaluates the supplied entries without comparing them with the expected package pin count. A high score therefore does not establish accuracy or complete coverage.

Freshness and quality enforcement varies. lookup() returns stale and low-score facts with advisory metadata; is_extraction_available() accepts any readable v1.4 facts. The schematic verification bridge reports low quality but continues checking. Its v1.4 adapter cannot perform the legacy required-external-component or decoupling checks.

After a retry, merge_results.py can write partial failure markers and return exit code 0. Consumers must inspect the resulting data and task outcomes. Family-cache merging is reserved rather than implemented, and the pinout schema remains marked as still calibrating.

Reasoning

The architecture supports traceability: PDF hashes connect task results to a document revision, and SpecValue evidence connects individual values to pages and conditions. Those mechanisms make questionable extractions easier to investigate, but confidence labels are extractor judgments rather than measured probabilities.

The supplied data demonstrates why semantic checking remains necessary. The IRLML6344 example records package width as 2.37 mm in base.package.body_mm.width and 1.3 mm in transistor.package.body_mm.width. The source PDF is needed to resolve those differing measurements; the supplied JSON does not establish which a consumer should use.

There is also a meaningful unknown-versus-absent distinction in the regulator compatibility adapter: it derives has_pg as false whenever power_good_pin is null. That boolean alone cannot distinguish an unextracted pin from a confirmed absence.

Alternatives

For an occasional specification question, directly reading the manufacturer PDF avoids setting up the dispatcher, although it does not produce this reusable project cache. This is a practical tradeoff inferred from the documented setup requirements.

For another agent host, the dispatcher contract provides an adaptation route; Claude Code is the only shipped dispatcher recipe. Existing v1.3 caches provide a compatibility route for older consumers, including fields that the newer typed layer does not expose. Comparative accuracy, cost and usability against other PDF extraction products are unknown.

Evidence

The folder supplies implementation source, schemas, extraction instructions and six static category examples. Its smoke-test source contains synthetic voltage-check and consistency assertions, but no execution results establish that those assertions passed. The underlying manufacturer PDFs and external harness fixtures are not included in the supplied material.

The sanity-vector tool compares declared expected fields with extraction data. For specification lists it examines the first entry, does not support intermediate list indexing, and reports expected page metadata without checking page accuracy. It therefore cannot establish exhaustive correctness across multiple conditions.

Nothing was executed. Installation success, real-document extraction accuracy, network behavior, token savings and end-to-end KiCad results remain unassessed.

Access & freshness

Costs

The MIT licence permits use without a software licence fee. Model-host charges, subscriptions and distributor-service costs are not established by the supplied material. Per-part token usage, elapsed time and total operating cost are unknown.

A part with one category normally involves one scout invocation and three extraction tasks: base, pinout and category. Retries add invocations. Cached lookup makes no model calls. The Claude Code recipe leaves token and cost ledger fields null when those figures are unavailable.

Rights

The supplied root LICENSE applies MIT terms and names Andrew Klofas, copyright 2025. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices remain in copies or substantial portions. It also disclaims warranties.

The software licence does not establish permission to redistribute third-party manufacturer PDFs. Rights for separately acquired datasheets and any restrictions imposed by their sources remain unknown.

Freshness

The supplied source snapshot was captured on 15 November 2026 at commit 7d9d4d9fef87ac2d3eb16cfc5cdc9a0869f417f4. Its documentation calls the new extraction workflow v1.4. The schema changelog records regulator schema 0.4 and base, pinout and extraction version declarations dated 29 October 2026. These are separate version labels, not evidence of a tested release.

Cached data freshness is narrower than software freshness: lookup() flags missing or changed local PDFs, but neither enforces a schema-version minimum nor regenerates data. Changes after the supplied commit are unknown.

Actions

Start with one representative regulator whose exact MPN appears in a local manufacturer PDF. Follow the scout, plan, dispatch and merge sequence, then compare the extracted pinout, recommended operating limits, absolute maximum ratings and application conditions with that PDF.

Before connecting an analyzer, explicitly handle missing values, stale PDFs, quality metadata, partial failure markers and multiple test conditions. Confirm that the consumer exposes the category and fields you need. For non-regulator category payloads, plan around the current typed API's omissions. Retain the MIT notice with copied software.

Evidence for this report

LICENSEnotice · checked 2026-11-15
skills/datasheets/SKILL.mdselected · checked 2026-11-15
skills/datasheets/datasheet_types/__init__.pyselected · checked 2026-11-15
skills/datasheets/datasheet_types/codec.pyselected · checked 2026-11-15
skills/datasheets/datasheet_types/pinout.pyselected · checked 2026-11-15
skills/datasheets/distributor_core/cli.pyselected · checked 2026-11-15
skills/datasheets/distributor_core/inputs.pyselected · checked 2026-11-15
skills/datasheets/distributor_core/sync.pyselected · checked 2026-11-15
skills/datasheets/distributor_core/verify.pyselected · checked 2026-11-15
skills/datasheets/examples/irlml6344.jsonselected · checked 2026-11-15
skills/datasheets/examples/lm2596-adj.jsonselected · checked 2026-11-15
skills/datasheets/examples/lm358.jsonselected · checked 2026-11-15
skills/datasheets/examples/mbrs540t3g.jsonselected · checked 2026-11-15
skills/datasheets/examples/stm32f103c8t6.jsonselected · checked 2026-11-15
skills/datasheets/prompts/base.mdselected · checked 2026-11-15
skills/datasheets/prompts/crystal.mdselected · checked 2026-11-15
skills/datasheets/prompts/diode.mdselected · checked 2026-11-15
skills/datasheets/prompts/mcu.mdselected · checked 2026-11-15
skills/datasheets/prompts/opamp.mdselected · checked 2026-11-15
skills/datasheets/prompts/pinout.mdselected · checked 2026-11-15
skills/datasheets/prompts/regulator.mdselected · checked 2026-11-15
skills/datasheets/prompts/scout.mdselected · checked 2026-11-15
skills/datasheets/prompts/transistor.mdselected · checked 2026-11-15
skills/datasheets/references/cache-layout.mdselected · checked 2026-11-15
skills/datasheets/references/consumer-api.mdselected · checked 2026-11-15
skills/datasheets/schemas/CHANGELOG.mdselected · checked 2026-11-15
skills/datasheets/schemas/base.schema.jsonselected · checked 2026-11-15
skills/datasheets/schemas/crystal.schema.jsonselected · checked 2026-11-15
skills/datasheets/schemas/diode.schema.jsonselected · checked 2026-11-15
skills/datasheets/schemas/mcu.schema.jsonselected · checked 2026-11-15
skills/datasheets/schemas/opamp.schema.jsonselected · checked 2026-11-15
skills/datasheets/schemas/pinout.schema.jsonselected · checked 2026-11-15
skills/datasheets/schemas/plan.schema.jsonselected · checked 2026-11-15
skills/datasheets/schemas/scout.schema.jsonselected · checked 2026-11-15
skills/datasheets/scripts/datasheet_score.pyselected · checked 2026-11-15
skills/datasheets/scripts/datasheet_verify.pyselected · checked 2026-11-15
skills/datasheets/scripts/merge_results.pyselected · checked 2026-11-15
skills/datasheets/scripts/plan_extraction.pyselected · checked 2026-11-15