pdf

Extract text and tables from PDFs using Python libraries.

1.2k|101|Updated May 25, 2025
One-click install
npx skills add https://github.com/ZHangZHengEric/Sage --skill pdf-zhangzhengeric
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/ZHangZHengEric/Sage/tree/main/app/skills/pdf
Command: npx skills add https://github.com/ZHangZHengEric/Sage --skill pdf-zhangzhengeric

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PDF processing tasks are tedious and error-prone when done manually, including reading, extracting text/tables, merging, splitting, rotating pages, adding watermarks, creating new PDFs, filling forms, encryption/decryption, extracting images, and OCR for scanned PDFs.

Core Features & Use Cases

  • Comprehensive PDF toolkit: Read, extract, merge, split, rotate, watermark, encrypt/decrypt, and OCR.
  • Form handling: Fillable forms and annotate non-fillable fields.
  • Automation-ready workflows: Scriptable with Python libraries to integrate into admin and archival tasks.

Quick Start

Extract text and tables from a PDF, then optionally merge, split, rotate, or annotate pages.

Frequently Asked Questions about 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 using Python?

To extract text and tables from a PDF, you can use Python libraries like pdfplumber and pypdf. This Skill automates parsing document content, allowing you to programmatically read and structure text and table data from your files.

Can I perform OCR on scanned PDF documents to make them searchable?

Yes, you can perform OCR on scanned PDF documents. This Skill applies optical character recognition to render scanned pages into readable text, enabling automated data extraction from image-based or non-text PDF files.

What is the best way to merge, split, or rotate PDF pages programmatically?

The best way to merge, split, or rotate PDF pages programmatically is using Python libraries such as pypdf. This Skill automates these comprehensive document manipulation workflows, allowing precise control over page orientation and file structure.

How do I fill fillable forms and annotate non-fillable fields in a PDF?

You can fill fillable forms and annotate non-fillable fields in a PDF through automated Python scripting. This Skill ensures careful handling and validation of form fields, distinguishing between interactive forms and static documents for accurate data entry.

Does Python support adding watermarks and encrypting PDF files?

Yes, Python supports adding watermarks and encrypting PDF files. This Skill leverages libraries like pypdf to automate document security and annotation, applying watermarks and encryption to protect and customize your PDF processing workflows.