← 返回 Skills 市场
pdf-tool
作者
Martin-SH-Ni
· GitHub ↗
· v1.0.0
· MIT-0
135
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install pdf-tool
功能描述
Split, merge, watermark, and extract text from PDF files — PyPDF2 based.
使用说明 (SKILL.md)
PDF Tool(PDF批量处理工具)
PDF拆分/合并/水印/文本提取 | PyPDF2驱动
功能 | Features
- ✅ 合并PDF — 多个PDF合并为一个
- ✅ 拆分PDF — 按页数范围拆分
- ✅ 添加水印 — 文字水印保护内容
- ✅ 提取文本 — 提取PDF中的纯文本内容
使用场景 | Use Cases
| 模式 | 说明 |
|---|---|
| merge | 多份合同合并为一本 |
| split | 按章节拆分成独立PDF |
| watermark | 添加"机密"水印 |
| extract_text | 提取合同正文内容 |
使用方式 | Usage
输入参数:
mode 操作模式: split / merge / watermark / extract_text
files 文件路径列表(merge/split用)
output 输出文件路径
watermark 水印文字(watermark模式用)
输出:
success 是否成功
text/msg 结果信息
示例 | Example
# 合并
result = pdf_tool(mode="merge", files=["a.pdf", "b.pdf"], output="merged.pdf")
# 提取文本
result = pdf_tool(mode="extract_text", files=["contract.pdf"])
print(result["text"][:500])
依赖 | Dependencies
PyPDF2 >= 3.0.0
版本 v1.0
安全使用建议
This skill is coherent with its stated purpose, but a few practical checks are recommended before installing: (1) confirm how your agent platform will satisfy the declared dependency (PyPDF2 >= 3.0.0) and what version will be installed; (2) run the tool on copies of sensitive PDFs and in an environment you control, since malformed PDFs can trigger library vulnerabilities or cause crashes; (3) verify your agent/platform does not automatically upload files or logs to remote services if you plan to process confidential documents; (4) because this is instruction-only (no code to inspect), review any platform-level behavior that might execute or install additional packages on your behalf.
功能分析
Type: OpenClaw Skill
Name: pdf-tool
Version: 1.0.0
The skill bundle contains metadata and documentation for a PDF processing tool (PDF Tool) using PyPDF2. The SKILL.md file provides clear, functional instructions for merging, splitting, and watermarking PDFs without any evidence of prompt injection, malicious directives, or suspicious external references.
能力评估
Purpose & Capability
Name/description (split/merge/watermark/extract text) matches the instructions and declared dependency on PyPDF2. The operations described are what you'd expect for a PDF utility.
Instruction Scope
SKILL.md only describes taking file paths, a mode, and optional watermark text; it does not instruct reading unrelated files, environment variables, or sending data to external endpoints. The scope is limited to local PDF processing.
Install Mechanism
This is an instruction-only skill with no install spec. It declares a dependency (PyPDF2 >= 3.0.0) but does not provide an installation mechanism; the platform or integrator must ensure PyPDF2 is present. This is not malicious but worth verifying before use.
Credentials
No environment variables, credentials, or config paths are requested. The absence of secrets or unrelated credentials is proportionate to the stated purpose.
Persistence & Privilege
Flags show no elevated persistence (always:false). The skill does not request persistent privileges or modify other skills or system-wide config.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pdf-tool - 安装完成后,直接呼叫该 Skill 的名称或使用
/pdf-tool触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
首发
元数据
常见问题
pdf-tool 是什么?
Split, merge, watermark, and extract text from PDF files — PyPDF2 based. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 135 次。
如何安装 pdf-tool?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pdf-tool」即可一键安装,无需额外配置。
pdf-tool 是免费的吗?
是的,pdf-tool 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
pdf-tool 支持哪些平台?
pdf-tool 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 pdf-tool?
由 Martin-SH-Ni(@martin-sh-ni)开发并维护,当前版本 v1.0.0。
推荐 Skills