pdf

Extract text and tables from PDFs using Python libraries.

Updated Jan 4, 2026
One-click install
npx skills add https://github.com/refly-ai/skill-to-workflow --skill pdf-refly-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/refly-ai/skill-to-workflow/tree/main/skills-source/anthropic/pdf
Command: npx skills add https://github.com/refly-ai/skill-to-workflow --skill pdf-refly-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The PDF processing Skill provides a programmable toolkit to extract text and tables from PDFs, create and modify PDFs, and automate form handling, eliminating manual, error-prone tasks.

Core Features & Use Cases

  • Automated text extraction and table extraction from PDFs using Python libraries.
  • PDF creation, merging, splitting, rotation, and form handling for both fillable and non-fillable forms.
  • Use Case: Legal, education, or operations teams can digitize documents and populate data stores or reports without manual copy-paste.

Quick Start

Install the required Python packages and run the example workflows to extract text from a PDF, inspect page counts, and apply basic manipulations.

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?

You can extract text and tables from PDFs using this Skill's automated Python workflows powered by pypdf. It parses PDF streams to pull structured data for digitizing documents across legal, finance, and admin domains.

Can I merge and split PDF documents programmatically?

Yes, you can merge, split, and rotate PDFs programmatically. The Skill provides Python scripts that manipulate PDF streams to create and modify documents, automating reporting workflows directly on disk.

Does this approach support filling both fillable and non-fillable PDF forms?

Yes, this approach supports form handling for both fillable and non-fillable PDF forms. It uses pypdf to write results back to disk, automating data entry and digitizing administrative workflows.

What's the best way to render PDF pages as images for document processing?

The best way to render PDF pages as images for document processing is using pdf2image and Pillow. These dependencies convert PDF streams into images, facilitating automated text and data extraction workflows.