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小蔥技能站收錄全網優質技能,值得收藏。
| 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的相容性也有待驗證。總體質量中上,已具備良好的實用性。