pdf

Extract text and tables from PDFs into structured CSV or JSON output.

Updated Nov 21, 2025
One-click install
npx skills add https://github.com/HaRu-LLC/ai-pm_system_notebooklmuse --skill pdf-haru-llc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/HaRu-LLC/ai-pm_system_notebooklmuse/tree/main/.agent/skills/engineering/pdf
Command: npx skills add https://github.com/HaRu-LLC/ai-pm_system_notebooklmuse --skill pdf-haru-llc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PDF files are difficult to edit and extract information from, leading to manual, error-prone workflows.

Core Features & Use Cases

  • Text and table extraction: derive structured data from PDFs using pypdf and pdfplumber.
  • Merge, split, and annotate: manage document composition and metadata for archiving and forms.
  • Use Case: automate invoice processing by extracting line items and totals into CSV/JSON for downstream systems.

Quick Start

Instruct the AI to extract text and tables from a provided PDF and save the results to a structured output.

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 invoice?

You can extract text and tables from a PDF using pypdf and pdfplumber to parse structured data. This allows you to derive line items and totals from invoices, saving the results to CSV or JSON for downstream systems.

What is the best way to merge multiple PDF files and manage metadata?

Merging PDFs and managing metadata is done using pypdf to manipulate document composition. This approach handles merging, splitting, and annotation tasks for archiving and forms, utilizing Python libraries with robust error handling.

Can I use Python to generate and annotate PDF reports?

Yes, you can generate and annotate PDF reports using Python with the reportlab library. This enables you to create new PDF documents, apply annotations, and handle metadata manipulation programmatically across forms and reports.

Does pdfplumber support table extraction from scanned PDF documents?

Table extraction from scanned PDFs requires OCR to parse the images before deriving structured data. While pdfplumber handles digital text and tables, applying OCR enables extraction from scanned invoices and reports.

Why does text extraction fail on some PDF forms and how to fix it?

Text extraction fails on scanned PDF forms lacking digital text layers. Applying OCR parses the image content to resolve this, enabling robust text and table extraction using standard CLI tools and Python libraries like pypdf.