pdf

Extract text and tables from PDFs using Python libraries.

1|1|Updated Nov 8, 2025
One-click install
npx skills add https://github.com/AkhilGurrapu/kubera --skill pdf-akhilgurrapu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/AkhilGurrapu/kubera/tree/main/.claude/skills/document-skills/pdf
Command: npx skills add https://github.com/AkhilGurrapu/kubera --skill pdf-akhilgurrapu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, Pillow.

What problem does it solve?

Comprehensive PDF processing toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. It enables Claude to process, generate, or analyze PDF documents at scale without manual intervention.

Core Features & Use Cases

  • Extract text and tables from PDFs using Python libraries such as pypdf, pdfplumber.
  • Create, merge, split, and rotate PDFs, and programmatically fill or annotate forms.
  • Use cases include digitizing invoices, extracting data for analytics, and preparing documents for archiving.

Quick Start

Install required packages: pip install pypdf pdfplumber pdf2image pillow Basic workflows:

  • Inspect form fields: python scripts/extract_form_field_info.py input.pdf fields.json
  • Fill forms: python scripts/fill_fillable_fields.py input.pdf fields.json output.pdf
  • Annotate to fill via text: python scripts/fill_pdf_form_with_annotations.py input.pdf fields.json annotated_output.pdf
  • Render pages to images: python scripts/convert_pdf_to_images.py input.pdf images_dir

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?

PDF text and table extraction is automated using Python libraries pypdf and pdfplumber to parse document contents and structure table data for analytics pipelines without manual data entry.

How do I programmatically fill PDF form fields?

Filling PDF form fields programmatically involves inspecting form fields to output a JSON mapping, then applying that data to fill fillable fields or annotating the document directly using Python scripts.

Can I merge, split, and rotate PDFs without manual intervention?

Merging, splitting, and rotating PDFs can be fully automated using pypdf to manipulate document structures, enabling batch processing for document digitization and archival workflows across teams.

Do I need to install additional packages to render PDF pages as images?

Rendering PDF pages as images requires installing the pdf2image and Pillow Python packages alongside pypdf, converting PDF document pages into image files for visual inspection or further processing.

What is the best way to digitize invoices and extract data for analytics?

Digitizing invoices and extracting data for analytics is best handled by automating PDF processing pipelines with pdfplumber to extract text and tables, converting unstructured invoice data into structured formats.