PDF Tool

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "PDF Tool" with this command: npx skills add martin-sh-ni/pdf-tool

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

GigaChat (Sber AI) Proxy

Integrate GigaChat (Sber AI) with OpenClaw via gpt2giga proxy

Registry SourceRecently Updated
3600smvlx
General

TencentCloud Video Face Fusion

通过提取两张人脸核心特征并实现自然融合,支持多种风格适配,提升创意互动性和内容传播力,广泛应用于创意营销、娱乐互动和社交分享场景。

Registry SourceRecently Updated
General

TencentCloud Image Face Fusion

图片人脸融合(专业版)为同步接口,支持自定义美颜、人脸增强、牙齿增强、拉脸等参数,最高支持8K分辨率,有多个模型类型供选择。

Registry SourceRecently Updated
General

YoudaoNote News

有道云笔记资讯推送:基于收藏笔记分析关注话题,推送最新相关资讯。支持对话触发与每日定时推送(如早上9点)。触发词:资讯推送、设置资讯推送、生成资讯推送。

Registry SourceRecently Updated
1.5K1lephix