pdf

Extract text, tables, and metadata from PDFs using Python libraries and CLI tools.

322|45|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/Microck/ordinary-claude-skills --skill pdf-microck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Microck/ordinary-claude-skills/tree/main/skills_all/pdf
Command: npx skills add https://github.com/Microck/ordinary-claude-skills --skill pdf-microck

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates PDF manipulation tasks including text extraction, table extraction, PDF creation, merging/splitting, and form filling to streamline programmatic document processing and analysis.

Core Features & Use Cases

  • Text Extraction: Extract text from PDFs for indexing or analysis.
  • Table Extraction: Pull tabular data into structured formats (CSV/Excel).
  • PDF Creation/Modification: Create and modify PDFs programmatically for reporting.
  • Form Filling: Automate filling of fillable PDF forms.
  • Use Case: Convert a batch of invoices into a CSV with line items for accounting reconciliation.

Quick Start

Use the pdf skill to extract all text from a sample file: sample.pdf and print the pages count.

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 PDF files programmatically?

Text and table extraction from PDFs uses libraries like pdfplumber and pypdf to parse document content into structured formats. This Skill automates extraction workflows, converting PDF pages into plain text or tabular data (CSV/Excel) for indexing, analysis, or accounting reconciliation tasks.

Can I automate filling out PDF forms with Python?

Yes, automated form filling uses pypdf and reportlab to populate fillable PDF forms programmatically with JSON field mappings. This Skill handles end-to-end form processing, reducing manual data entry for batch document workflows.

What's the best way to merge, split, or rotate PDF pages?

Page-level operations like merging, splitting, and rotating use pypdf for direct PDF manipulation without external dependencies. This Skill provides programmatic control over multi-page documents for report generation and document restructuring tasks.

How do I extract text from scanned PDFs using OCR?

Scanned PDF processing combines pdf2image (page rendering) with OCR capabilities to extract text from image-based documents. This Skill supports automated OCR workflows for digitizing and indexing legacy or paper-sourced PDFs.

Can I create and modify PDFs programmatically for reporting?

PDF creation and modification uses reportlab and pypdf to generate documents and apply transformations like watermarking or metadata handling. This Skill enables dynamic report generation and document customization workflows entirely in code.

Does this work with batch processing of multiple PDF documents?

Yes, this Skill supports batch operations across document collections, extracting data from multiple PDFs into unified formats or applying page operations at scale. It's designed for workflows processing invoices, forms, or document archives programmatically.