office-pdf

Extract text and tables, merge, split, fill forms, and OCR PDFs.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Refinex-Space/Refinex-Skills --skill office-pdf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: office-pdf
Source: https://github.com/Refinex-Space/Refinex-Skills/tree/main/skills/office-pdf
Command: npx skills add https://github.com/Refinex-Space/Refinex-Skills --skill office-pdf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, Pillow, and includes scripts (resource) components.

What problem does it solve?

PDF documents are cumbersome to manage for extracting text, merging files, filling forms, and applying OCR. This Skill provides automated, end-to-end tooling to perform common PDF tasks reliably and reproducibly.

Core Features & Use Cases

  • Read, extract, and search text and tables from PDFs.
  • Merge, split, rotate, watermark, and encrypt PDFs.
  • Fill forms, extract images, OCR scanned documents, and generate new PDFs.

Quick Start

Process a PDF by extracting text, merging documents, applying OCR to scanned pages, and optionally filling forms or adding watermarks.

Frequently Asked Questions about office-pdf

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

FAQPage Schema
How do I extract text and tables from a PDF document?

To extract text and tables from a PDF, you can use pdfplumber to read structured content and pypdf for basic text retrieval. This allows you to reliably search and extract page contents for downstream processing.

Can I run OCR on scanned PDF documents?

Yes, you can perform OCR on scanned PDFs by converting pages to images with pdf2image and Pillow. This process transforms scanned document images into searchable and machine-readable text.

How do I merge, split, and watermark PDF files?

You can merge, split, rotate, and watermark PDF files programmatically using pypdf. This automates common document management tasks like combining multiple reports or applying branding overlays.

Does this PDF processing tool support form filling and encryption?

Yes, the tool supports filling PDF forms and encrypting documents using pypdf. It automates populating interactive fields and securing sensitive document data with password protection.

What is the best way to automate end-to-end PDF workflows?

The best way to automate end-to-end PDF workflows is using scripts that integrate pypdf and pdfplumber. This enables reliable, reproducible batch processing for extraction, merging, and OCR tasks.

Do I need additional libraries to extract images from a PDF?

Image extraction relies on built-in capabilities of pypdf and pdfplumber, while rendering scanned pages requires pdf2image and Pillow. These dependencies work together to export embedded visual assets.