This file is byte-identical to the first copy the registry indexed, one of 16 indexed copies. Same content hash, so the same checks give both the same grade.
pdf from chancegraff/rules-for-claude is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
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.
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:20260921.64add91, 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_btt6b3qkzbubmirh
GET https://markdownregistry.com/api/v1/resolve?ref=chancegraff/rules-for-claude/pdf
GET https://markdownregistry.com/api/v1/blob/9f78b8359fbd4943ad260a7a1e436e5a96503406d6c34e99f69223d647d85b9c
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.
chancegraff/rules-for-claude · skills/.trash/1791476949858-90017-8U3l3E/chrome-browser/SKILL.md · Read this skill before the first step that uses Claude in Chrome, the browser extension whose tools are named…
chancegraff/rules-for-claude · skills/.trash/1791476949858-90017-e5Fpv6/deep-research/SKILL.md · Use this skill when the user's prompt requires (1) researching a topic across multiple sources, comparing options or…
chancegraff/rules-for-claude · skills/.trash/1791476949858-90017-lm8aJU/computer-use/SKILL.md · Read this skill before the first step of any request to do something in an app on the person's own computer (Notes…
chancegraff/rules-for-claude · skills/.trash/1791476949858-90017-m7b5bh/built-in-browser/SKILL.md · Read this skill before the first step that uses the built-in browser, the browser pane inside the Claude desktop app…
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/pr-review/SKILL.md · How to answer review feedback on a pull request. Load when a bot or human reviewer leaves findings, when the base…
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…
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…