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
reader = PdfReader("document.pdf")
…
The line at the top of this page pins the label git:20260118.be84779, 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.
A 17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
pass: Frontmatter block present
pass: Frontmatter declares a name
pass: Frontmatter declares a description
pass: Size between 200 bytes and 200 KB (7068 bytes)
pass: No zero-width or bidi control characters
pass: No instruction hidden inside an HTML comment
pass: No link to an exfiltration or paste host
pass: No credential-shaped string
pass: No instruction to send local credentials anywhere
pass: No text hidden with inline styles
pass: No prompt-injection phrasing
pass: No curl or wget piped into a shell
pass: No recursive delete of root, home or parent
pass: No instruction to read or print local credentials
pass: No base64 blob over 200 characters
pass: No link to a raw IP address
pass: No script tag
Source
GitHub
nicepkg/ai-workflow · 288 stars · license MIT · pushed 2026-01-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4lxcc4dwsmorj4po
GET https://markdownregistry.com/api/v1/resolve?ref=nicepkg/ai-workflow/pdf
GET https://markdownregistry.com/api/v1/blob/38d8559d4899602f82f3560052132aa0c40cfca80203037729756bdb4fb8e0cb
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.
nicepkg/ai-workflow · .claude/skills/add-new-skills-to-workflow/SKILL.md · Add new skills to an existing workflow and update all related documentation. Use when user wants to add skills from…
nicepkg/ai-workflow · .claude/skills/legacy-to-ai-ready/SKILL.md · Transform legacy codebases into AI-ready projects with Claude Code configurations. Use when (1) analyzing old projects…
nicepkg/ai-workflow · .claude/skills/legacy-to-ai-ready/assets/resource-scout/SKILL.md · Search and discover Claude Code skills and MCP servers from marketplaces, GitHub repositories, and registries. Use when…
nicepkg/ai-workflow · .claude/skills/legacy-to-ai-ready/assets/skill-creator/SKILL.md · Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an…
nicepkg/ai-workflow · .claude/skills/legacy-to-ai-ready/assets/skill-downloader/SKILL.md · Download and install Claude Code skills from various sources. Supports GitHub repositories, compressed archives (.zip…
nicepkg/ai-workflow · .claude/skills/remove-old-skills-from-workflow/SKILL.md · Guide for removing skills from an existing workflow and updating all related documentation. Use when user wants to…
nicepkg/ai-workflow · .claude/skills/resource-scout/SKILL.md · Search and discover Claude Code skills and MCP servers from marketplaces, GitHub repositories, and registries. Use when…
nicepkg/ai-workflow · .claude/skills/skill-creator/SKILL.md · Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an…
nicepkg/ai-workflow · .claude/skills/skill-downloader/SKILL.md · Download and install Claude Code skills from various sources. Supports GitHub repositories, compressed archives (.zip…
nicepkg/ai-workflow · .claude/skills/workflow-creator/SKILL.md · Create complete Claude Code workflow directories with curated skills. Use when user wants to (1) create a new workflow…
nicepkg/ai-workflow · workflows/content-creator-workflow/.claude/skills/ai-slop-detector/SKILL.md · Detects and removes AI writing patterns from text. Use when polishing drafts, cleaning AI-generated content, or…
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…
foryourhealth111-pixel/vibe-skills · bundled/skills/pdf/SKILL.md · Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual…
davepoon/buildwithclaude · plugins/all-skills/skills/pdf/SKILL.md · Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents…
ginlix-ai/langalpha · plugins/langalpha_deliverables/skills/pdf/SKILL.md · Read, fill and build PDFs: inspect structure and fonts, extract text and tables with pdfplumber and poppler, fill and…