iyeque-pdf-reader
由 iyeque 提供
Coding Agents & IDEs简介
Extract text, search inside PDFs, and produce summaries.
描述
该技能的功能
Extracts text and metadata from PDF files using PyMuPDF. Supports page-limited extraction and returns structured metadata including title, author, and creation date. Handles large, encrypted, and malformed PDFs.
PyMuPDF is one of the fastest PDF processing libraries available, making it practical for large files where tools like pdfminer are noticeably slow.
何时使用
- Extract text from a scanned research paper
- Check author and creation date of a contract PDF
- Pull first 5 pages from a lengthy report for quick review
- Verify if a PDF is encrypted before processing
- Batch-read metadata from a folder of archived documents
示例工作流
User asks: extract the text from the first 3 pages of report.pdf
- 1
Receives file path and page limit from user
- 2
Calls extract command with --max_pages 3 on report.pdf
- 3
PyMuPDF opens the file and reads up to page 3
- 4
Returns plain text content from those pages
Plain text from the first 3 pages of report.pdf
安装
clawhub install iyeque/iyeque-pdf-reader运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。