pdf is agent-read markdown (skill) from chancegraff/rules-for-claude: Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns 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")
…
Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
GET https://markdownregistry.com/api/v1/artifacts/art_btt6b3qkzbubmirh
GET https://markdownregistry.com/api/v1/resolve?ref=chancegraff/rules-for-claude/pdf
GET https://markdownregistry.com/api/v1/blob/9f78b8359fbd4943ad260a7a1e436e5a96503406d6c34e99f69223d647d85b9c
Your agent 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.
chancegraff/rules-for-claude · skills/incident/SKILL.md · The process for a caught rule break. Open an incident folder, name the cause, record the fix and the check, close it…
chancegraff/rules-for-claude · skills/jira-ticket-workflow/SKILL.md · End-to-end Jira ticket workflow that manages a cross-functional team of agents to plan, implement, review, and ship…
chancegraff/rules-for-claude · skills/pr-review-response/SKILL.md · End-to-end workflow for responding to PR review feedback. Reads all review comments and requested changes on the…
chancegraff/rules-for-claude · skills/synced/b274f0e7-ba7f-4b80-9128-3c20a62a5a94_fb1313aa-c023-436b-bd7f-af7178660a2a/attentive-brand-artifacts/SKILL.md · Use when creating or editing Attentive-branded artifacts, React components, HTML pages, Sandpack themes, decks, docs…
chancegraff/rules-for-claude · skills/synced/b274f0e7-ba7f-4b80-9128-3c20a62a5a94_fb1313aa-c023-436b-bd7f-af7178660a2a/attentive-pixel-perfect-slides/SKILL.md · Use when creating, converting, editing, or QAing Attentive PowerPoint decks with the canonical 2026 template, including…
chancegraff/rules-for-claude · skills/synced/b274f0e7-ba7f-4b80-9128-3c20a62a5a94_fb1313aa-c023-436b-bd7f-af7178660a2a/docx/SKILL.md · Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx) or Word templates…
chancegraff/rules-for-claude · skills/synced/b274f0e7-ba7f-4b80-9128-3c20a62a5a94_fb1313aa-c023-436b-bd7f-af7178660a2a/import-memory/SKILL.md · Import a memory export from another AI assistant into Claude's memory — conversationally, additively, and with the…
chancegraff/rules-for-claude · skills/synced/b274f0e7-ba7f-4b80-9128-3c20a62a5a94_fb1313aa-c023-436b-bd7f-af7178660a2a/morning/SKILL.md · Render the user's morning brief as a styled HTML artifact, or set it up as a recurring weekday task. Use only when the…
chancegraff/rules-for-claude · skills/synced/b274f0e7-ba7f-4b80-9128-3c20a62a5a94_fb1313aa-c023-436b-bd7f-af7178660a2a/pptx/SKILL.md · Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes…
chancegraff/rules-for-claude · skills/synced/b274f0e7-ba7f-4b80-9128-3c20a62a5a94_fb1313aa-c023-436b-bd7f-af7178660a2a/skill-creator/SKILL.md · Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a…
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…
k-dense-ai/scientific-agent-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…
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…
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…