pdf-tool

v1.0.0

Split, merge, watermark, and extract text from PDF files — PyPDF2 based.

0· 142·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for martin-sh-ni/pdf-tool.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "pdf-tool" (martin-sh-ni/pdf-tool) from ClawHub.
Skill page: https://clawhub.ai/martin-sh-ni/pdf-tool
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install pdf-tool

ClawHub CLI

Package manager switcher

npx clawhub@latest install pdf-tool
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

latestvk971fsep8w4wvpxn28xe5c7q9n84p972
142downloads
0stars
1versions
Updated 2w ago
v1.0.0
MIT-0

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

Comments

Loading comments...