Python-based PDF toolkit for extracting text and tables, creating, merging, splitting, and filling PDFs.
- skills.sh installs
- 925
- GitHub stars
- 849
- last updated
- Aug 21, 2026
What it does
- Covers pypdf, pdfplumber, and reportlab workflows alongside poppler and qpdf command-line tools
- Includes examples for merging, splitting, rotating, watermarking, OCR of scanned pages, and password protection
- Provides a quick-reference table that maps each PDF task to its recommended tool and code
- Points to FORMS.md for form filling and REFERENCE.md for advanced pypdfium2 and pdf-lib usage
Install
$ npx -y skills add tfriedel/claude-office-skills --skill pdf -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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)
Details
- Repository
- github.com/tfriedel/claude-office-skills
- Categories
- Office Files & Slides, Python
- First seen
- Jun 3, 2026
More from tfriedel/claude-office-skills
All 4Similar to Pdf
More Office Files & Slides
processing-pdfsSkilltelagod/code-abyss243 starsDecision-matrix guide for PDF tasks that picks pypdf, pdfplumber, reportlab, or CLI tools per job.
documentsPluginhenkisdabro/wookstar-claude-plugins94 starsDocument toolkit: fast PDF text extraction, OCR for scanned PDFs, structured parsing of PDFs and office files, plus uv-runnable scripts for forms, tables, mergi
extracting-pdf-textSkillletta-ai/skills257 installsExtraction skill that routes PDFs to API OCR or local parsers for RAG and document analysis.
document-processingSkilleyadsibai/ltk1.3K installsReference guide for working with PDF, Excel, Word, and PowerPoint files, including tool selection and common operations.
document-converter-suiteSkilldkyazzentwatwa/chatgpt-skills494 installsBest-effort conversion suite that rebuilds documents in editable formats, favoring clean structure over exact layout.
