AGENT SKILL

pdf-extract

Extract text, tables and form field values from PDF files, including scanned pages that need optical character recognition. Use when information is trapped in a PDF and needs to become structured data.

License 许可
MIT
最近更新
2026-11-03
Stars
★ 0
Forks
0

01 前言 Front Matter

name
pdf-extract
license
MIT
metadata
{ "category": "documents" }
description
Extract text, tables and form field values from PDF files, including scanned pages that need optical character recognition. Use when information is trapped in a PDF and needs to become structured data.
allowed-tools
Read Bash
compatibility
Requires a PDF text layer, or an OCR engine for scanned pages.

02 资源文件 1

03 SKILL.md 正文

PDF extraction

Turn a PDF into structured data without guessing at content the file does not actually contain.

Deciding the approach

First determine whether the PDF has a text layer. If it does, extract directly. If it does not, the pages are images and need OCR, which introduces character errors that must be reported rather than hidden.

Extracting tables

Table extraction is the least reliable part of any PDF pipeline. Extract the candidate table, then verify the row and column counts against the rendered page before using the values.

Reporting confidence

Record which pages used OCR and which used the text layer, so a reader knows which values may contain recognition errors.

04 同仓库更多 Skills