pdf

Merge, split, rotate, watermark, and fill PDF forms using Python libraries.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/WuYuStar/opencode-skills --skill pdf-wuyustar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/WuYuStar/opencode-skills/tree/main/pdf
Command: npx skills add https://github.com/WuYuStar/opencode-skills --skill pdf-wuyustar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, Pillow.

What problem does it solve?

PDF processing can be tedious and error-prone when merging, splitting, annotating, or extracting data, especially during forms handling and archival workflows.

Core Features & Use Cases

  • Merge and split PDFs, rotate pages, add watermarks, create new PDFs, and encrypt/decrypt for document prep.
  • Fill both fillable and non-fillable forms using field data, or annotate text; extract content via MinerU for Markdown-ready outputs.
  • Use case: Organize a batch of contracts by merging key pages, filling form data, and exporting text for indexing.

Quick Start

Start by loading a PDF and try merging two documents into a single file.

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I merge multiple PDF files and split large documents into separate pages?

To merge PDFs and split documents, you can automate the process using Python libraries like pypdf. This allows you to combine multiple files into a single archive or extract specific pages for targeted document preparation.

Can I extract text and data from PDF forms for indexing and archival workflows?

Yes, you can extract text and data from PDF forms using MinerU for Markdown-ready outputs. This handles both fillable and non-fillable forms, converting content into structured data for indexing and administrative archival.

Does this PDF processing approach support adding watermarks and rotating pages?

Yes, this PDF processing approach supports adding watermarks and rotating pages for document annotation. It leverages libraries like pypdf and reportlab to manipulate page orientation and apply custom watermark overlays.

What is the best way to encrypt and decrypt sensitive PDF documents for archival?

The best way to encrypt and decrypt PDFs for archival is using Python CLI tools and libraries like pypdf. This ensures sensitive documents remain secure during storage and administrative workflows.

Do I need Python libraries like pypdf and pdfplumber to extract content and convert PDF data?

Yes, you need Python libraries like pypdf, pdfplumber, and pdf2image to extract content and convert PDF data. These dependencies provide the programmatic interface required for parsing text, rendering images, and converting outputs.