Skip to main content

pdf-processing

Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

来源信息

仓库
Tencent/WeKnora
最近来源活动
2026年2月4日 12:08
检测到的 SKILL.md 语言
英语
星标
36,237
Forks
4,935

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
4 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
pdf-processing
description
Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.
# PDF Processing This skill provides utilities for working with PDF documents. ## Quick Start Use pdfplumber to extract text from PDFs: ```python import pdfplumber with pdfplumber.open("document.pdf") as pdf: text = pdf.pages[0].extract_text() print(text) ``` ## Available Operations 1. **Text Extraction**: Extract text content from PDF pages 2. **Table Extraction**: Extract tabular data from PDFs 3. **Form Filling**: Fill PDF forms with provided data 4. **Document Merging**: Combine multiple PDFs into one ## Advanced Features **Form filling**: See [FORMS.md](FORMS.md) for complete guide **Utility scripts**: - Run `scripts/analyze_form.py` to extract form fields - Run `scripts/extract_text.py` to extract text from a PDF ## Best Practices 1. Always validate PDF files before processing 2. Handle password-protected PDFs gracefully 3. Check for scanned PDFs that may require OCR
在 GitHub 查看