pdf-reading

Diagnose PDF extractability and content structure before extraction.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/michaelkd01/dic-skills --skill pdf-reading-michaelkd01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-reading
Source: https://github.com/michaelkd01/dic-skills/tree/main/_public/pdf-reading
Command: npx skills add https://github.com/michaelkd01/dic-skills --skill pdf-reading-michaelkd01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Without direct content in context, you cannot know if a PDF is text-searchable, contains embedded attachments, or hides charts, so this skill gives you a reliable inspection and extraction plan before consuming data.

Core Features & Use Cases

  • Content inventory: Collect page counts, metadata, attachments, and font details with poppler utilities to decide whether to trust text extraction or move to raster inspection.
  • Text and form extraction: Use pypdf and pdfplumber workflows to pull paragraphs, tables, and form field values once you understand the layout and encodings.
  • Visual and media discovery: Rasterize pages or extract embedded images when charts, handwritten notes, or scanned sheets drive conclusions, falling back to OCR if the text is missing.

Quick Start

Ask for a PDF inventory using pdfinfo then sample text from pdftotext to decide whether to rely on textual extraction or raster images.

Frequently Asked Questions about pdf-reading

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

FAQPage Schema
How do I extract text from a PDF that might be scanned?

PDF text extraction starts by checking if the document is text-searchable using pdfinfo and pdftotext, then falling back to rasterizing pages with pdftoppm for OCR if the text layer is missing.

How do I check if a PDF has attachments or embedded images before extraction?

You can inventory PDF attachments, images, and metadata by running poppler utilities like pdfinfo. This inspection verifies fonts and page counts to decide whether to trust direct text extraction or inspect rasterized images.

Does pdfplumber work for extracting tables and form fields from PDFs?

Yes, pdfplumber extracts tables, paragraphs, and form field values from text PDFs. It is used alongside pypdf once you understand the document layout and encodings from an initial poppler utilities inspection.

Do I need poppler utilities installed to inspect PDF metadata and fonts?

Yes, poppler utilities are required for PDF metadata inspection, collecting page counts, and verifying fonts. Tools like pdfimages and pdftoppm also depend on poppler to rasterize pages and extract embedded images.

What is the best way to handle PDFs with charts and handwritten notes?

The best way to handle PDFs with charts or handwritten notes is rasterizing pages using pdftoppm or extracting embedded images with pdfimages, then applying an OCR fallback to extract readable insights if text is missing.

Why does pdftotext return empty results for my PDF document?

pdftotext returns empty results when a PDF contains scanned images instead of a text layer. After diagnosing this with poppler utilities, you must rasterize the pages and use an OCR fallback to extract the content.