pdf

Extracts text and tables from PDF documents using Python libraries and command-line tools.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/lips85/antigravity-skills-bootstrap --skill pdf-lips85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/lips85/antigravity-skills-bootstrap/tree/main/skills/pdf
Command: npx skills add https://github.com/lips85/antigravity-skills-bootstrap --skill pdf-lips85

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of interacting with PDF documents, automating tasks like form filling, data extraction, and document manipulation, saving significant time and reducing manual errors.

Core Features & Use Cases

  • Form Filling: Accurately populate fillable PDF forms or add text annotations to non-fillable ones.
  • Data Extraction: Extract text, tables, and metadata from PDFs.
  • Document Manipulation: Merge, split, rotate, and watermark PDF files.
  • Use Case: Automatically fill out a batch of standardized application forms with user-provided data, or extract all tables from a research paper into a structured CSV file.

Quick Start

Use the pdf skill to extract all text from the attached file 'invoice-q3.pdf'.

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 document into a structured format?

To extract text and tables from a PDF document, this Skill uses pdfplumber and pypdf to parse content and output structured data. It accurately pulls text, tables, and metadata from PDF files for downstream processing.

Can I automatically fill out both fillable and non-fillable PDF forms?

Yes, you can fill both fillable and non-fillable PDF forms. The Skill populates fillable PDF forms with provided data and adds text annotations to non-fillable ones, enabling batch automation for standardized applications.

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

The best way to merge, split, and rotate PDF pages is using this Skill's document manipulation toolkit. It leverages command-line tools like qpdf to reliably merge, split, rotate, and watermark PDF files.

Does this PDF processing toolkit support extracting data from scanned images?

Yes, PDF data extraction from scanned images is supported. The Skill integrates pdf2image and pytesseract to perform OCR, allowing text extraction from image-based PDF documents where standard parsing fails.

What Python libraries are required for PDF text extraction and form automation?

PDF text extraction and form automation require pypdf and pdfplumber. These Python libraries provide core functionality for manipulating PDF documents, reading form fields, and parsing structured text and tables.

Why does my PDF table extraction return misaligned columns and broken text?

Misaligned columns and broken text during PDF table extraction often occur with complex layouts. The Skill uses pdfplumber to handle boundaries robustly, but heavily merged cells or image-based tables may require OCR.