pdf

Extract text and tables from PDFs using Python and CLI workflows.

2|1|Updated Sep 15, 2025
One-click install
npx skills add https://github.com/AizenvoltPrime/claude-compass --skill pdf-aizenvoltprime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/AizenvoltPrime/claude-compass/tree/main/.claude/skills/document-skills/pdf
Command: npx skills add https://github.com/AizenvoltPrime/claude-compass --skill pdf-aizenvoltprime

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, Pillow, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a comprehensive toolkit for working with PDFs: extracting text and tables, merging, creating new PDFs, and handling forms, with guidance on large-scale workflows.

Core Features & Use Cases

  • Text and data extraction: from PDFs to usable formats
  • Form handling: fillable and non-fillable field processing
  • PDF creation/merging: compose new documents from existing ones

Quick Start

Use the pdf skill to extract text from the first page of 'invoice.pdf'.

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

Text and table extraction from PDFs uses libraries like pdfplumber to parse content into structured formats. The skill handles both standard PDFs and scanned documents, returning extracted text, table data, and metadata that you can export to CSV, JSON, or other formats for further analysis.

Can I automate filling out PDF forms programmatically?

Yes, you can automate form filling by mapping field names to values and writing them into fillable PDF fields using pypdf and related tools. The skill supports both fillable and non-fillable field detection, allowing you to populate forms at scale through JSON-based workflows.

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

PDF manipulation—merging multiple documents, splitting by page ranges, and rotating pages—is handled through pypdf and similar libraries. These operations let you compose new documents, reorganize content, and prepare PDFs for downstream processing without re-encoding.

How do I extract text from scanned PDFs or images?

Scanned PDFs require OCR processing via pdf2image and pytesseract to convert image content into readable text. The skill chains image extraction with optical character recognition, enabling you to recover text from documents that contain no embedded text layer.

Can I add watermarks, annotations, or metadata to PDFs?

Watermarking, annotation editing, and metadata retrieval are supported through libraries like reportlab and pypdf. You can stamp documents, embed structured data, and modify document properties to track versions or enforce document protection workflows.

Do I need command-line tools or can I use Python only?

The skill supports both Python-based workflows using pypdf, pdfplumber, and Pillow, and CLI interfaces for scripting environments. Choose Python for programmatic control and integration, or CLI commands for shell automation and batch processing pipelines.