pdf-processor

lofcz 的头像作者 lofcz

从PDF文件中提取文本和表格,填写表单,并合并文档。在使用PDF文件或用户提及PDF、表单或文档提取时使用。

📖 中文导读:从PDF文件中提取文本和表格,填写表单,并合并文档。在使用PDF文件或用户提及PDF、表单或文档提取时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: pdf-processor description: Extracts text and tables from PDF files, fills forms, and merges documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

PDF Processing

Quick start

Extract text with pdfplumber:

import pdfplumber
with pdfplumber.open("file.pdf") as pdf:
    text = pdf.pages[0].extract_text()

Advanced features

Form filling: See FORMS.md for complete guide API reference: See REFERENCE.md for all methods Examples: See EXAMPLES.md for common patterns