name: openclaw-pdf-reader version: 1.0.0 description: Read, extract, and analyze PDF files. Use when the user needs to: (1) Extract text from PDF documents, (2) Analyze PDF content, (3) Summarize PDF documents, (4) Search for specific information in PDFs, (5) Extract tables from PDFs
Extract and analyze content from PDF files using pdfplumber and PyMuPDF.
For basic text extraction, use the provided script:
python scripts/extract_pdf.py <path-to-pdf>
7w4.net小葱技能站,你的AI助手技能库。
| Script | Purpose |
|---|---|
scripts/extract_pdf.py |
Extract text from PDF |
scripts/analyze_pdf.py |
Analyze and summarize PDF content |
references/pdf-libraries.md - Python PDF library documentationExtract all text:
python scripts/extract_pdf.py document.pdf
Extract specific page:
python scripts/extract_pdf.py document.pdf --page 5
Analyze and summarize:
python scripts/analyze_pdf.py document.pdf
这是一个相当实用的PDF处理工具,能快速提取文本和表格信息。文档写得清晰明了,新手也能轻松上手。代码实现专业、功能完整,分析功能还能统计页数和字数。不足之处是缺少依赖说明文件,错误处理机制不够完善,对于复杂PDF的兼容性也有待验证。总体质量中上,已具备良好的实用性。