pdf

Automate PDF text extraction, table parsing, merging, splitting, and form filling with Python.

15|2|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/rubensliv/k-dense-ai --skill pdf-rubensliv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/rubensliv/k-dense-ai/tree/main/scientific-skills/document-skills/pdf
Command: npx skills add https://github.com/rubensliv/k-dense-ai --skill pdf-rubensliv

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manual PDF handling—text extraction, table parsing, creation, merging/splitting, and form filling—takes time and is error-prone. This skill automates these workflows for consistent results.

Core Features & Use Cases

  • Extract text and tables from PDFs using Python libraries (pypdf, pdfplumber) for data pipelines.
  • Create and modify PDFs (merge, split, rotate, fill forms) via Python scripts and CLI tooling.
  • Use cases include processing invoices, research papers, reports, and archives to produce structured outputs or fill digital forms.

Quick Start

Process a PDF with the provided scripts to extract text and tables and save the results in a usable format.

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 PDF files using Python?

You can extract text and tables from PDFs using this skill's Python scripts powered by pypdf and pdfplumber. It parses document content and outputs structured data suitable for data pipelines, automating extraction from invoices, research papers, and reports.

What is the best way to automate merging and splitting PDF documents?

Automating PDF merging and splitting is handled by this skill through Python scripts utilizing the pypdf library. It provides consistent workflows to combine, split, and rotate document files programmatically, replacing manual and error-prone file manipulation.

Can I use pypdf to fill digital PDF forms automatically?

Yes, pypdf supports filling digital PDF forms automatically within this skill. It automates form population via Python scripts, enabling consistent completion of administrative documents and digital forms while outputting processed PDF files.

Does this PDF processing approach work for converting PDF pages to images?

Yes, converting PDF pages to images is supported through the skill's pdf2image and Pillow dependencies. It renders document pages into image formats, facilitating visual processing and integration into broader content-management or data extraction workflows.

What are the limitations of using pypdf for PDF data extraction?

Limitations of pypdf for PDF data extraction include difficulty parsing complex or irregular table structures in highly formatted documents. While reliable for standard text extraction, intricate layouts may require complementary processing with pdfplumber to achieve accurate table parsing.