/install iyeque-pdf-reader
PDF Reader Skill
The pdf-reader skill provides functionality to extract text and retrieve metadata from PDF files using PyMuPDF (fitz).
Tool API
The skill provides two commands:
extract
Extracts plain text from the specified PDF file.
- Parameters:
file_path(string, required): Path to the PDF file to extract text from.--max_pages(integer, optional): Maximum number of pages to extract.
Usage:
python3 skills/pdf-reader/reader.py extract /path/to/document.pdf
python3 skills/pdf-reader/reader.py extract /path/to/document.pdf --max_pages 5
Output: Plain text content from the PDF.
metadata
Retrieve metadata about the document.
- Parameters:
file_path(string, required): Path to the PDF file.
Usage:
python3 skills/pdf-reader/reader.py metadata /path/to/document.pdf
Output: JSON object with PDF metadata including:
title: Document titleauthor: Document authorsubject: Document subjectcreator: Application that created the PDFproducer: PDF producercreationDate: Creation datemodDate: Modification dateformat: PDF format versionencryption: Encryption info (if any)
Implementation Notes
- Uses PyMuPDF (imported as
pymupdf) for fast, reliable PDF processing - Supports encrypted PDFs (will return error if password required)
- Handles large PDFs efficiently with
max_pagesoption - Returns structured JSON for metadata command
Example
# Extract text from first 3 pages
python3 skills/pdf-reader/reader.py extract report.pdf --max_pages 3
# Get document metadata
python3 skills/pdf-reader/reader.py metadata report.pdf
# Output:
# {
# "title": "Annual Report 2024",
# "author": "John Doe",
# "creationDate": "D:20240115120000",
# ...
# }
Error Handling
- Returns error message if file not found or not a valid PDF
- Returns error if PDF is encrypted and requires password
- Gracefully handles corrupted or malformed PDFs
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install iyeque-pdf-reader - After installation, invoke the skill by name or use
/iyeque-pdf-reader - Provide required inputs per the skill's parameter spec and get structured output
What is PDF Reader (Iyeque)?
Extract text, search inside PDFs, and produce summaries. It is an AI Agent Skill for Claude Code / OpenClaw, with 1862 downloads so far.
How do I install PDF Reader (Iyeque)?
Run "/install iyeque-pdf-reader" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is PDF Reader (Iyeque) free?
Yes, PDF Reader (Iyeque) is completely free (open-source). You can download, install and use it at no cost.
Which platforms does PDF Reader (Iyeque) support?
PDF Reader (Iyeque) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created PDF Reader (Iyeque)?
It is built and maintained by iyeque (@iyeque); the current version is v1.1.0.