← 返回 Skills 市场
1862
总下载
4
收藏
11
当前安装
2
版本数
在 OpenClaw 中安装
/install iyeque-pdf-reader
功能描述
Extract text, search inside PDFs, and produce summaries.
使用说明 (SKILL.md)
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
安全使用建议
This skill appears to do only what it says: read a PDF you point it at and return text or metadata. Before installing: (1) be aware it will read any file path you provide, so don’t point it at sensitive files or system directories; (2) avoid running it on untrusted/malicious PDFs without sandboxing—PDF libraries have had vulnerabilities in the past; (3) the skill installs PyMuPDF from PyPI—confirm you’re comfortable installing that dependency; and (4) if you expect password-protected PDFs to be handled, note the code currently fails rather than attempting password unlocking.
功能分析
Type: OpenClaw Skill
Name: iyeque-pdf-reader
Version: 1.1.0
The OpenClaw AgentSkills bundle for 'pdf-reader' is benign. The `SKILL.md` file accurately describes the functionality and installation of the PyMuPDF library, while `reader.py` implements the stated purpose of extracting text and metadata from PDF files. There is no evidence of data exfiltration, unauthorized command execution, persistence mechanisms, or prompt injection attempts against the agent. File access is limited to the PDF path provided as input, which is necessary for the skill's operation.
能力评估
Purpose & Capability
Name/description match the code and instructions: the skill uses PyMuPDF to extract text and return metadata from a provided PDF path. Required binary (python3) and the pip dependency (PyMuPDF) are appropriate and expected.
Instruction Scope
SKILL.md restricts actions to running the included reader.py on a user-specified file path and to installing PyMuPDF via pip. The implementation only reads the supplied file and prints results; it does not access other system files or environment variables. Note: the README says it 'supports encrypted PDFs' but the code will simply error if a password is required (it does not try to supply passwords).
Install Mechanism
No custom download or unpack step; installation is via pip install PyMuPDF as declared in SKILL.md metadata. PyPI is a standard source; nothing in the manifest points to untrusted URLs or archive extraction.
Credentials
The skill requests no environment variables or credentials. It only requires a local file path to a PDF, which is proportionate to its stated functionality.
Persistence & Privilege
always is false and the skill does not request persistent system modifications or modify other skills. Autonomous model invocation is allowed by platform default but not combined with broad access here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install iyeque-pdf-reader - 安装完成后,直接呼叫该 Skill 的名称或使用
/iyeque-pdf-reader触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Fixed SKILL.md to match actual PyMuPDF implementation. Corrected API documentation.
v1.0.0
Initial release
元数据
常见问题
PDF Reader (Iyeque) 是什么?
Extract text, search inside PDFs, and produce summaries. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1862 次。
如何安装 PDF Reader (Iyeque)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install iyeque-pdf-reader」即可一键安装,无需额外配置。
PDF Reader (Iyeque) 是免费的吗?
是的,PDF Reader (Iyeque) 完全免费(开源免费),可自由下载、安装和使用。
PDF Reader (Iyeque) 支持哪些平台?
PDF Reader (Iyeque) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 PDF Reader (Iyeque)?
由 iyeque(@iyeque)开发并维护,当前版本 v1.1.0。
推荐 Skills