pdf

Read, parse, and manipulate PDF documents with Python libraries.

1.6k|179|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/GCWing/BitFun --skill pdf-gcwing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/GCWing/BitFun/tree/main/src/crates/core/builtin_skills/pdf
Command: npx skills add https://github.com/GCWing/BitFun --skill pdf-gcwing

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF workflows are repetitive and error-prone when reading data from documents, merging files, or filling forms. This skill unifies these tasks into a single programmable toolkit.

Core Features & Use Cases

  • Read and extract text and tables from PDFs
  • Merge, split, rotate pages, and watermark PDFs
  • Fill PDF forms (fillable and non-fillable) and encrypt/decrypt
  • OCR on scanned PDFs to make content searchable
  • Automate end-to-end document workflows such as archiving and reporting

Quick Start

Describe the PDF task and the system will perform it by reading, extracting, merging, rotating, filling forms, and OCR as needed.

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 scanned PDF document?

To extract text and tables from scanned PDFs, you can apply OCR processing to make the content searchable before parsing it. This workflow integrates pdfplumber for structured table extraction and pdf2image with Pillow to render and process scanned pages.

What is the best way to automate filling both fillable and non-fillable PDF forms?

Automating PDF form filling for both fillable and non-fillable forms is achieved by manipulating document elements directly. The workflow uses pypdf to populate interactive fields and Pillow to overlay text onto static document images.

Can I merge, split, and watermark PDF files in a single automated workflow?

You can merge, split, rotate, and watermark PDF files within a single automated workflow. The process utilizes pypdf to manipulate document structures and apply watermarks, consolidating repetitive document archiving and reporting tasks.

Does this PDF processing approach handle document encryption and decryption?

This PDF processing approach handles document encryption and decryption natively. By leveraging pypdf, the workflow applies password protection to secure sensitive documents or removes encryption to allow downstream text extraction and editing.

How do I read and extract data from PDFs for automated document archiving?

Reading and extracting data from PDFs for automated archiving involves parsing text and tables using pdfplumber and pypdf. This extracts structured content and metadata, enabling programmatic document routing and end-to-end report generation.

What Python dependencies are required to process PDF files programmatically?

Processing PDF files programmatically requires the pypdf, pdfplumber, pdf2image, and Pillow Python dependencies. These libraries collectively enable text extraction, page rendering, image processing, and OCR on scanned documents.