This is a straightforward wrapper around pdfplumber for extracting text and tables from PDFs. You get simple code snippets showing the basics: open a PDF, pull text from a page, detect and extract tables. It's part of davila7's larger template collection that has 27.7K stars, so the code is likely solid. Useful if you're building document processing features and want Claude to understand the pdfplumber patterns without looking them up. Nothing fancy here, just the common PDF extraction tasks you'd actually need. Passes all three security audits, which matters when you're handling documents that might contain sensitive data.

GitHub stars
30.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill 'PDF Processing' --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/davila7/claude-code-templates
Categories
Git & Pull Requests, Office & Documents
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1ecnu-icalk avatarautoskillecnu-icalk/autoskillManage personal local Agent Skill files as an installable skill manager. Proactively and periodically detect reusable user-specific, team-specific, or broadly r0skills.sh installs
2erichowens avatarproduct-appeal-analyzererichowens/some_claude_skillsEvaluate product desirability, market positioning, and emotional resonance—the complement to friction analysis. Assess whether users will WANT a product (not ju0skills.sh installs
3finos avatarrelease-managerfinos/morphirAssists with Morphir release management, including pre-release verification, changelog generation, and release coordination. Use when preparing releases, checki0skills.sh installs
4hoangnguyen0403 avatarimplement-featurehoangnguyen0403/agent-skills-standardImplement an approved feature plan with fresh-context slices, TDD, evidence, and PR-ready output.0skills.sh installs
5hoangnguyen0403 avatarsecurity-testhoangnguyen0403/agent-skills-standardFast, continuous DevSecOps pipeline for Pull Requests and active branches. Runs SAST, SCA, and secrets detection to catch vulnerabilities before they merge.0skills.sh installs
6hoangnguyen0403 avatarverify-bughoangnguyen0403/agent-skills-standardPost-merge UAT verification workflow. Walks JIRA reproduce steps, performs comparative audits (Before/After), attaches evidence to JIRA, and transitions status 0skills.sh installs