# PDF Processing

> Extract text and tables from PDF files, fill PDF forms, and merge multiple PDFs. Use when working with PDF documents or when the user mentions PDFs, forms, or document extraction. Use when this capability is needed.

- Skill: `tomevault-io/pdf-processing-5` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/pdf-processing-5`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/pdf-processing-5/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/pdf-processing-5

---


# PDF Processing

## When to use this skill
Use this skill when the user needs to work with PDF files, including:
- Extracting text or tables from PDF documents
- Filling out PDF forms programmatically
- Merging multiple PDF files into one
- Splitting PDF files into separate documents

## How to extract text
1. Use pdfplumber for text extraction:
   ```python
   import pdfplumber
   with pdfplumber.open('document.pdf') as pdf:
       text = pdf.pages[0].extract_text()
   ```

## How to fill forms
1. Use PyPDF2 to fill form fields:
   ```python
   from PyPDF2 import PdfReader, PdfWriter
   reader = PdfReader('form.pdf')
   writer = PdfWriter()
   # Fill fields here
   ```

## How to merge documents
See [the reference guide](references/REFERENCE.md) for details.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/kitproj) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

