← 返回 Skills 市场
baorepo

A professional skill for reading electronic datasheets

作者 alias pillar1989 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
290
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ee-datasheet-master
功能描述
Use when user has/is reading a component datasheet or spec sheet to find chip parameters: pinout, voltage, I2C address, timing, register map, electrical char...
使用说明 (SKILL.md)

EE Datasheet Master

Iron Law: PDF Content Only

ALL DATA MUST ORIGINATE FROM THE PDF.
Allowed: Extract → Calculate from extracted data
Forbidden: Use prior knowledge → Fill gaps with guesses

Allowed Derivations

Type Example
Mathematical calculation P = V × I from voltage and current
Unit conversion dBm → mW, binary → hex
Address calculation "001000x" → 0x10/0x11
Counting Pin count from Pin Description table

When deriving: Show source data (page) + calculation steps + result

Forbidden Behaviors

Behavior Correction
"I know this chip..." Find the spec in PDF
"Typical value is..." Read the actual value from PDF
"Similar chips have..." This one may differ
Guessing to fill gaps Output "NOT SPECIFIED IN DATASHEET" + acquisition path (see below)

When the PDF Cannot Provide the Answer

"NOT SPECIFIED IN DATASHEET" is not a dead end. Always follow it with how to obtain the missing information.

Response Template

"[Parameter] is not specified in this datasheet. To obtain it: [specific method below]."

If the datasheet references an application note or supplementary doc by name, cite it:

"Section X references Application Note [AN-xxx] for this topic — search [Manufacturer] website."

Reasoning Framework for Missing Parameters

When a parameter is absent, reason through these questions to give a concrete, actionable path:

1. Why is it missing?

  • Wrong document — this is a brief/product datasheet; the full reference manual or application note contains it → identify the correct document by name
  • Test-condition mismatch — the spec exists but not at the user's specific conditions (load, frequency, temperature) → explain which conditions differ and how that affects the value
  • Application-dependent — the value depends on external components or PCB layout the user controls → explain what determines it and how to calculate or simulate
  • Manufacturer-controlled — the data is from qualification testing, not released publicly → identify the right contact channel

2. What does the user actually need it for?

  • Design margin check → an approximation or worst-case bound may be sufficient
  • Debugging a failure → direct measurement in the actual circuit is more reliable than a datasheet value
  • Qualification / compliance → only manufacturer-provided data is acceptable

3. What is the most direct path given the above? Tailor the recommendation to the specific parameter and context — a thermal resistance question for an LDO in a hot enclosure calls for a different answer than the same question for a signal-path op-amp. Reason about: what equipment would give this measurement, what document would contain this spec, or what formula derives this value from things the user can measure or control.


6-Phase Workflow

┌─────────────────────────────────────────────────────────────┐
│  Phase 0: Pre-scan        →  全文扫描,建结构地图            │
│  Phase 1: Diagnosis       →  text vs image PDF 决策         │
│  Phase 2: Device ID       →  确认器件,推断关键参数          │
│  Phase 2b: Targeted Scan  →  推断 patterns,二次精准扫描     │
│  Phase 3: Section Mapping →  定位各功能区页码               │
│  Phase 4: Extraction      →  精准提取 + TEMPLATES 结构化输出 │
└─────────────────────────────────────────────────────────────┘

See PDF_STRATEGY.md for the entry-point decision table and detailed workflow. Read that first — it tells you which phase to start at before running any command.

Quick Reference

Most common case — device named, 1–2 specific parameters asked (start here):

# Phase 3: Search directly for the parameter the user asked about
python scripts/pdf_tools.py search_table \x3Cpdf_path> "\x3Cparameter>"   # e.g. "quiescent current", "dropout voltage"
python scripts/pdf_tools.py search \x3Cpdf_path> "\x3Cparameter>"         # try alternate phrasings if first is empty

# Phase 4: Read the identified page
python scripts/pdf_tools.py text \x3Cpdf_path> \x3Cpage_num>
python scripts/pdf_tools.py tables \x3Cpdf_path> \x3Cpage_num>

Less common — unknown PDF, open-ended analysis, or complex multi-parameter extraction:

# Phase 0: Pre-scan (slow — only when you need a structural map)
python scripts/pdf_tools.py info \x3Cpdf_path>
python scripts/pdf_tools.py page_hints \x3Cpdf_path>        # scan ALL pages → minutes on large docs

# Phase 2: Identify Device (only if device is not already known)
python scripts/pdf_tools.py text \x3Cpdf_path> 1

# Phase 2b: Targeted re-scan (complex ICs only — charger, MCU, CODEC)
python scripts/pdf_tools.py dump_patterns > /tmp/custom_patterns.json
python scripts/pdf_tools.py page_hints \x3Cpdf_path> --patterns /tmp/custom_patterns.json

# Phase 3: Caption-based section mapping
python scripts/pdf_tools.py search_caption \x3Cpdf_path>    # find Figure/Table captions
python scripts/pdf_tools.py search \x3Cpdf_path> "Electrical Characteristics"

Parameter Inference (LLM Decision)

Universal Parameters (for full-analysis queries only)

When the user asks for a complete analysis or overview, extract these 5 baseline parameters. Skip this for targeted single-parameter queries — if the user asks "what is the dropout voltage?", go find that, not the package outline.

Parameter Search Keywords Notes
Manufacturer First page header/footer Company name
Part Number First page title Full part number
Package "Package", "封装" Must include pin count (e.g., QFN-32)
Operating Voltage "VDD", "VCC", "Supply Voltage", "电源电压" Range: min to max
Operating Temperature "Operating Temperature", "工作温度" Range: min to max

Device-Specific Parameters (Inferred by LLM)

After identifying the device, infer what specs matter:

1. Read device description (first 3 pages)
2. Understand: What does this device DO?
3. Infer: What specs matter for this device?
4. Search: Use pdf_tools to locate those specs

For the complete device-type → key specs lookup table and per-device extraction shortcuts, see PDF_STRATEGY.md → Phase 2 and Device-Type Shortcuts.

Key insight: Device description tells you what to measure. Don't use predefined lists.


Output Format

# [Part Number] Datasheet Analysis

## Summary
[1-2 sentences]

## Key Specifications
| Parameter | Min | Typ | Max | Unit | Source | Notes |
|-----------|-----|-----|-----|------|--------|-------|
| ... | ... | ... | ... | ... | Page X, "Table Name" | |
| [unavailable param] | — | — | — | ... | NOT SPECIFIED | Measure: [method] |

## Pin Configuration
- Package: [Type]-[Pin Count]
- Power Domains: [List ALL with pin numbers]
- Interfaces: [I2C/SPI/UART with addresses]

## Critical Design Considerations
1. [Issue with guidance]

## Common Pitfalls
- [Pitfall]: [How to avoid]

Common Mistakes

Mistake Example Correction
Missing pin count "QFN package" "QFN-32 package"
Partial power domains "VDD" only "VDD (pins 1, 13, 32)"
I2C address wrong "0x18" Show calculation from format
Missing source "SNR: 93 dB" "SNR: 93 dB (Page 8, Typ)"
Hallucinated specs Any value without source Always cite page and table

Red Flags - STOP and Verify

If you think:

  • "I know this chip..."
  • "Typically this value is..."
  • "Based on my experience..."
  • "Similar chips have..."

STOP → Re-read PDF → Extract from source


Reference Files

File Purpose
PDF_STRATEGY.md 6-phase workflow, device-type extraction shortcuts
TEMPLATES.md Structured output templates: device_info, power_domains, I2C, SPI, electrical_specs
scripts/pdf_tools.py PDF extraction tools
安全使用建议
This skill is internally coherent and appears to implement what it claims: a PDF-centric datasheet extractor backed by a local Python tool. Things to consider before installing: (1) source provenance — there is no homepage and the publisher identity is just an owner ID, so review scripts/pdf_tools.py yourself if you require higher trust; (2) runtime dependencies — using render_page requires installing pdf rendering Python packages (pymupdf or pypdfium2) via pip, which your environment may need to allow; (3) runtime behavior — the tool reads user-supplied PDFs and may write temporary files (pattern JSON, rendered PNGs); run it in a sandbox if the PDFs are sensitive; (4) performance — page_hints/scan over large PDFs can be slow and CPU/memory intensive; and (5) the SKILL.md strongly instructs the agent to avoid guessing and to source values only from the PDF — that is a policy choice but not a security risk. If you want higher confidence, ask the publisher for a homepage or signed release, or inspect/execute the python script in a controlled environment first.
功能分析
Type: OpenClaw Skill Name: ee-datasheet-master Version: 1.0.0 The skill bundle is a legitimate and well-documented tool designed for extracting electronic component specifications from PDF datasheets. The core logic in `scripts/pdf_tools.py` utilizes standard PDF processing libraries (pdfplumber, PyMuPDF, pypdfium2) to extract text, tables, and render pages without any evidence of network calls, unauthorized file access, or malicious execution. The instructions in `SKILL.md` and `PDF_STRATEGY.md` are strictly focused on the stated task, implementing a rigorous 6-phase workflow and 'Iron Laws' to ensure data accuracy and prevent AI hallucinations through mandatory source citations.
能力评估
Purpose & Capability
The name/description match the deliverables: SKILL.md describes a PDF-first extraction workflow and the repository contains templates and a pdf_tools.py script implementing search, table extraction, rendering, and page heuristics. There are no unrelated environment variables, binaries, or secrets requested that would be inconsistent with a datasheet-extraction skill.
Instruction Scope
Runtime instructions constrain the agent to extract only from the PDF (Iron Law) and provide a stepwise 6-phase workflow using the included scripts. The instructions reference reading and writing temporary files (e.g., /tmp patterns JSON) and rendering pages to images for image-only PDFs, which is appropriate for this purpose. There are no instructions to read unrelated system files, environment secrets, or to exfiltrate data to unknown endpoints; the guidance to 'search the manufacturer website' is a manual follow-up suggestion, not an automated network action in the SKILL.md.
Install Mechanism
There is no formal install spec in registry metadata. The README documents Python dependencies (pdfplumber plus either pymupdf or pypdfium2) which would need to be installed via pip to use render/image commands. This is expected for a local PDF-processing tool but means the runtime environment may install Python packages; there are no downloads from untrusted URLs or archive extraction steps in the skill files themselves.
Credentials
The skill declares no required environment variables, credentials, or config paths. The code does not request secrets and the templates and scripts operate on user-supplied PDF paths. No disproportionate access to cloud or system credentials is requested.
Persistence & Privilege
The skill is not marked always:true and is user-invocable (normal defaults). It does not request or attempt to modify other skills or system-wide agent settings. Autonomous model invocation is allowed (disable-model-invocation:false) which is the platform default and not itself a negative signal here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ee-datasheet-master
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ee-datasheet-master 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of ee-datasheet-master skill. - Designed for extracting precise electronic component parameters directly from datasheets/spec sheets. - Enforces PDF-only sourcing: all data must originate from the provided PDF, no prior/model-based knowledge allowed. - Provides step-by-step workflow for parameter extraction, missing-info handling, and edge-case reasoning. - Includes detailed instructions, command-line extraction examples, and standardized output templates for clear, source-cited results.
元数据
Slug ee-datasheet-master
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

A professional skill for reading electronic datasheets 是什么?

Use when user has/is reading a component datasheet or spec sheet to find chip parameters: pinout, voltage, I2C address, timing, register map, electrical char... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 290 次。

如何安装 A professional skill for reading electronic datasheets?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ee-datasheet-master」即可一键安装,无需额外配置。

A professional skill for reading electronic datasheets 是免费的吗?

是的,A professional skill for reading electronic datasheets 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

A professional skill for reading electronic datasheets 支持哪些平台?

A professional skill for reading electronic datasheets 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 A professional skill for reading electronic datasheets?

由 alias pillar1989(@baorepo)开发并维护,当前版本 v1.0.0。

💬 留言讨论