Back to Skills

datasheet-reader

Use `pcb scan` to read datasheets or technical PDFs from files, URLs, or KiCad `Datasheet` properties.

410stars57forksUpdated 8/5/2026

Security Assessment

Safe(95/100)
Security Score95/100

About datasheet-reader

The datasheet-reader skill is a thin, focused helper that uses the `pcb scan` command-line tool to convert datasheets or technical PDFs into readable markdown. It solves the practical problem of working with dense electronics datasheets: rather than parsing a raw PDF, the skill runs a scan that materializes both a cached PDF and a markdown rendering, then directs the agent to work from the markdown artifact where text, tables, and image links are far easier to consume.

The workflow is minimal by design. You run `pcb scan` against a local `.pdf` path or an `http(s)` URL, capture the path reported on the `Markdown:` output line, read that markdown file, and follow linked images only when a task depends on figures, diagrams, or tables. The skill advises preferring URLs when they succeed, notes that the cached PDF is not a package artifact and should not be copied into the repository by default, and recommends the minimal invocation without optional flags unless a task explicitly requires them. It also gives simple failure guidance: report the failure briefly and fall back.

This skill targets hardware and PCB engineers using the diodeinc `pcb` toolchain who frequently need to pull component specifications out of manufacturer datasheets or extract values from KiCad `Datasheet` properties. It is a read-only convenience wrapper — it fetches and renders reference documents rather than modifying designs — so it is well suited to research-heavy component-selection and reference tasks within a PCB workflow.

FAQ

What inputs does pcb scan accept?

A local .pdf file path or an http(s) URL pointing to a datasheet or technical PDF. It can also read datasheets referenced by KiCad Datasheet properties.

What output should I read after scanning?

The scan reports materialized PDF: and Markdown: paths on stdout. You should read the file at the Markdown: path rather than the raw PDF, and follow image links only if figures, diagrams, or tables matter for the task.

Should I commit the scanned PDF into my repository?

No. The cached PDF from a URL scan is not a package artifact and the skill advises against copying it into the repository by default. Prefer scanning from a URL when it succeeds.

What happens if pcb scan fails?

The skill instructs the agent to report the failure briefly and then choose the best fallback approach, rather than depending on optional flags or complex invocations.

Install datasheet-reader

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

diodeinc/pcb