AgentSkillsCN

pdf-toolkit-windows

在 Windows 上使用 Python 执行 PDF 操作。可用于合并、拆分、旋转、提取文本以及为 PDF 添加印章。支持使用 pypdf 编写批量安全脚本,并可通过简单的 CLI 输入完成相关操作。

SKILL.md
--- frontmatter
name: pdf-toolkit-windows
description: Perform PDF operations on Windows using Python. Use for merging, splitting, rotating, extracting text, and stamping PDFs. Supports batch-safe scripts with pypdf and simple CLI inputs.

Pdf Toolkit Windows

Overview

Provide common PDF operations via small, reliable scripts based on pypdf.

Tasks

  • Merge PDFs
  • Split by page ranges
  • Rotate pages
  • Extract text
  • Stamp text watermark

Quick Start

bash
python scripts/merge_pdfs.py --out build/merged.pdf --inputs a.pdf b.pdf

Scripts

  • scripts/merge_pdfs.py
  • scripts/split_pdf.py
  • scripts/rotate_pdf.py
  • scripts/extract_text.py
  • scripts/stamp_text.py

References

  • references/dependencies.md
  • references/page_ranges.md