pdf

Read, transform, and extract data from PDF documents programmatically.

1|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/bakwankawa/lazy-code-skill --skill pdf-bakwankawa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/bakwankawa/lazy-code-skill/tree/main/.cursor/skills/anthropic/pdf
Command: npx skills add https://github.com/bakwankawa/lazy-code-skill --skill pdf-bakwankawa

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates PDF processing workflows, enabling programmatic reading, transformation, and data extraction from PDF documents to save time and reduce manual handling.

Core Features & Use Cases

  • PDF Reading & Extraction: pull text, images, and tables from PDFs for reporting or data ingestion.
  • PDF Composition & Transformation: merge, split, rotate, watermark, and create new PDFs from components.
  • Form Handling & Security: fill forms, encrypt/decrypt, and manage permissions on PDFs.
  • Use Case: teams processing hundreds of invoices can automatically extract line items and metadata into CSVs for accounting.

Quick Start

Run a sample to extract text from a PDF: python -c "from pypdf import PdfReader; reader = PdfReader('document.pdf'); text = ''.join((page.extract_text() or '') for page in reader.pages); print(text)"

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 using Python?

To extract text and tables from PDF files, this Skill utilizes pypdf and pdfplumber to programmatically read document pages and pull structured content for data ingestion or reporting.

Can Python automate PDF form filling, merging, and watermarking?

Python can automate PDF form filling, merging, splitting, rotating, and watermarking through this Skill by programmatically transforming and composing document components for archival or admin workflows.

Does pypdf support PDF encryption and decryption for document security?

Yes, pypdf supports PDF encryption and decryption, allowing this Skill to manage document permissions and secure sensitive PDF files programmatically during automated processing workflows.

What is the best way to convert PDFs into actionable data for invoices?

The best way to convert PDFs into actionable data for invoices is using this Skill to automatically extract line items and metadata, outputting structured data like CSVs for accounting.

Do I need pdf2image and pdfplumber to process PDF documents in Python?

You need pdf2image and pdfplumber alongside pypdf as dependencies to enable this Skill's comprehensive PDF processing, covering text extraction, table parsing, and image transformations.