Reach for this one when you need Claude to read, split, merge, or generate PDFs in bulk, or to fill out a form. The guide leans on pypdf for merging and splitting, pdfplumber for pulling text and tables (including straight into pandas for Excel export), and reportlab for building new documents, with qpdf and pdftotext covering the command line. It also handles scanned PDFs through pytesseract OCR and adds watermarks and password protection. The form-filling workflow is split into a separate forms.md, so the main skill stays lean. My honest take: the Python snippets are practical and copy-ready, but the OCR path needs Tesseract installed system-wide, which the instructions gloss over, and the license is proprietary, so check LICENSE.txt before building it into anything commercial.

GitHub stars
1.4K
last updated
Jul 14, 2026

Install

$ npx -y skills add Prat011/awesome-llm-skills --skill pdf --agent claude-code

Installs into .claude/skills of the current project.

Files

PDF Processing Guide

Overview

This guide covers essential PDF processing operations using Python libraries and command-line tools. For advanced features, JavaScript libraries, and detailed examples, see reference.md. If you need to fill out a PDF form, read forms.md and follow its instructions.

Quick Start

from pypdf import PdfReader, PdfWriter

# Read a PDF
reader = PdfReader("document.pdf")
print(f"Pages: {len(reader.pages)}")

# Extract text
text = ""
for page in reader.pages:
    text += page.extract_text()

Python Libraries

pypdf - Basic Operations

Merge PDFs
from pypdf import PdfWriter, PdfReader

writer = PdfWriter()
for pdf_file in ["doc1.pdf", "doc2.pdf", "doc3.pdf"]:
    reader = PdfReader(pdf_file)
    for page in reader.pages:
        writer.add_page(page)

with open("merged.pdf", "wb") as output:
    writer.write(output)
Split PDF
reader = PdfReader("input.pdf")
for i, page in enumerate(reader.pages):
    writer = PdfWriter()
    writer.add_page(page)
    with open(f"page_{i+1}.pdf", "wb") as output:
        writer.write(output)

Sponsors

Details

Repository
github.com/Prat011/awesome-llm-skills
Categories
AI & Agent Building, Office & Documents
License
Proprietary. LICENSE.txt has complete terms
First seen
Aug 4, 2026

More from Prat011/awesome-llm-skills

All 12
1Prat011 avatarpptxPrat011/awesome-llm-skillsPresentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or e0skills.sh installs
2Prat011 avatarxlsxPrat011/awesome-llm-skillsComprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work wit0skills.sh installs
3Prat011 avatardomain-name-brainstormerPrat011/awesome-llm-skillsGenerates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming an0skills.sh installs
4rjmurillo avatardecision-criticrjmurillo/ai-agentsStructured decision critic that systematically stress-tests reasoning before commitment surfacing hidden assumptions verifying claims and generating adversarial0skills.sh installs
5rjmurillo avatargit-advanced-workflowsrjmurillo/ai-agentsMaster advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use wh0skills.sh installs
6sleekdotdesign avatarsleek-design-mobile-appssleekdotdesign/agent-skillsSleek is an API-first mobile app design tool that lets Claude build UI screens through natural language chat.0skills.sh installs