pdf-reader

Extract text, tables, and form data from PDF documents into Markdown, JSON, or CSV.

10|7|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/librefang/librefang-registry --skill pdf-reader-librefang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-reader
Source: https://github.com/librefang/librefang-registry/tree/main/skills/pdf-reader
Command: npx skills add https://github.com/librefang/librefang-registry --skill pdf-reader-librefang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PDF documents often contain valuable information locked in text, tables, forms, and scanned images. This skill provides a reliable way to extract and interpret content from PDFs while preserving structure and context.

Core Features & Use Cases

  • Structured data extraction: pull text, tables, and form fields into usable formats (JSON, CSV, or Markdown).
  • Layout-aware processing: maintain headings, sections, and multi-column reading order for accurate analyses.
  • Use Case: compile a monthly report by extracting invoice lines, tables, and metadata from a batch of PDFs.

Quick Start

Extract all text and tables from the attached PDF and output the results in CSV and JSON metadata formats.

Frequently Asked Questions about pdf-reader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract tables and text from PDF documents while preserving layout?

To extract tables and text from PDF documents while preserving layout, this skill uses layout-aware processing to maintain headings, sections, and multi-column reading order. It pulls structured data into usable formats like JSON, CSV, and Markdown.

Can I parse scanned PDFs with non-selectable text using OCR?

Yes, you can parse scanned PDFs with non-selectable text using OCR. The skill supports OCR libraries like pdf2image to interpret content from scanned images, ensuring accurate data extraction from archived or image-based documents.

What is the best way to extract invoice lines and metadata from a batch of PDFs?

The best way to extract invoice lines and metadata from a batch of PDFs is using structured data extraction. This skill identifies and pulls form fields, tables, and text, outputting the compiled results in CSV and JSON formats for reporting.

Does this PDF parsing approach support multi-column layouts and complex form fields?

Yes, this PDF parsing approach supports multi-column layouts and complex form fields. It applies layout-aware processing to maintain the correct reading order and accurately extract form data for contract review and archival data extraction.

How do I convert an academic paper PDF into structured Markdown or JSON?

To convert an academic paper PDF into structured Markdown or JSON, the skill identifies text, tables, and form data while preserving document structure. It outputs the parsed academic content directly into your chosen structured format.

What libraries are required for PDF parsing and OCR in this workflow?

The required libraries for PDF parsing and OCR in this workflow include pypdf, pdfplumber, and pdf2image. These dependencies enable the skill to handle multi-column layouts, non-selectable content, and structured data output.