Datasheet Reader
Documentsdatasheet-readerDatasheet Reader is an Agent Skill for documents published in the diodeinc/pcb repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Read datasheets and technical PDF documents with `pcb scan`. Use when the user gives a local PDF path or an `http(s)` datasheet/document URL, when a task requires reading, summarizing, extracting information from, or answering questions about a datasheet or technical PDF, or when a KiCad symbol / `.kicad_sym` provides a `Datasheet` property to resolve. Run `pcb scan <input>` in bash, treat stdout as the generated `.md` path, then read that markdown file.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/diodeinc/pcb/blob/HEAD/skills/datasheet-reader/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/datasheet-reader, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Datasheet Reader
Use this skill when a task depends on a datasheet or technical PDF.
- Input: local
.pdfpath orhttp(s)URL - Command:
pcb scan <input> - Output: stdout is the resolved markdown path
- Next step: read the markdown file, not the raw PDF
- Images are linked from the markdown
Workflow
- Run
pcb scan /path/to/file.pdforpcb scan https://.... - Capture the printed markdown path.
- Read the markdown file and work from that artifact.
- Follow image links only if the task depends on figures, diagrams, or tables.
Examples
pcb scan ./TPS54331.pdf
pcb scan https://www.ti.com/lit/gpn/tca9554
Notes
- Prefer the minimal invocation above. Do not depend on optional flags unless a task explicitly requires them.
- If
pcb scanfails, report the failure briefly and then choose the best fallback.