Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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
```python
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
```python
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
```python
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)
```
#### Extract Metadata
```python
…
The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_j4lzjfwckuqvrph7
GET https://markdownregistry.com/api/v1/resolve?ref=rysweet/amplihack-rs/pdf
GET https://markdownregistry.com/api/v1/blob/57c1e0553cf352211b72514c73ac5be2da327cd21dd78a87d3332362f5bfda61
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
rysweet/amplihack-rs · amplifier-bundle/skills/agent-generator-tutor/SKILL.md · Interactive teaching agent for the goal-seeking agent generator and eval system.
Provides a structured 14-lesson…
rysweet/amplihack-rs · amplifier-bundle/skills/agentic-workflow-first/SKILL.md · Start new work as a deterministic workflow of agentic steps, prompts, and tools instead of code. Use when designing a…
rysweet/amplihack-rs · amplifier-bundle/skills/anthropologist-analyst/SKILL.md · Analyzes events through anthropological lens using cultural analysis, ethnographic methods, kinship and social…
rysweet/amplihack-rs · amplifier-bundle/skills/aspire/SKILL.md · Aspire orchestration for cloud-native distributed applications in any language (C#, Python, Node.js, Go). Handles…
rysweet/amplihack-rs · amplifier-bundle/skills/authenticated-web-scraper/SKILL.md · Scrape authenticated websites from WSL2 using Edge CDP. Launches headed Edge for user auth, then headless scraping via…
rysweet/amplihack-rs · amplifier-bundle/skills/auto-drive-to-merge/SKILL.md · Wraps default-workflow and drives the resulting PR all the way to merge:
build the PR, loop with the…
anthropics/skills · skills/pdf/SKILL.md · Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables…
eigent-ai/eigent · resources/example-skills/pdf/SKILL.md · Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables…
thinkinaixyz/deepchat · resources/skills/pdf/SKILL.md · Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents…
zebbern/claude-code-guide · skills/pdf/SKILL.md · Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables…
davepoon/buildwithclaude · plugins/all-skills/skills/pdf/SKILL.md · Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents…
xiaomacoltai/math-modeling-skill · tools/pdf/SKILL.md · Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables…
xiaomacoltai/math-modeling-skill · dsh-plugin/math-modeling-agent/skills/math-modeling/tools/pdf/SKILL.md · Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables…