Home / chancegraff / rules-for-claude · skills/synced/b274f0e7-ba7f-4b80-9128-3c20a62a5a94_fb1313aa-c023-436b-bd7f-af7178660a2a/pdf/SKILL.md · GitHub

pdf skillA

This file is byte-identical to the first copy the registry indexed, one of 9 copies on public GitHub. Same content hash, same audit grade.

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")
…

Read the whole file at its exact version.

How to install

Latest version
mdr add chancegraff/rules-for-claude/pdf@git:20260921.64add91
Exact content
mdr add chancegraff/rules-for-claude/pdf@sha256:9f78b8359fbd4943

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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_btt6b3qkzbubmirh.svg)](https://markdownregistry.com/a/art_btt6b3qkzbubmirh)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260921.64add91 latest2026-09-21 64add91 8,072 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, 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 (8072 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

chancegraff/rules-for-claude · 4 stars · license none · pushed 2026-09-21 · branch main

API

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.

More from chancegraff/rules-for-claude

CLAUDE.md claude
chancegraff/rules-for-claude · CLAUDE.md
git:20260921.64add91 · audit A · 4 stars
archify skill
chancegraff/rules-for-claude · skills/archify/SKILL.md · Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable…
v2.17 · audit A · 4 stars
incident skill
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…
git:20260921.64add91 · audit A · 4 stars
jira-ticket-workflow skill
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…
git:20260910.449f34f · audit A · 4 stars
pr-review-response skill
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…
git:20260910.449f34f · audit A · 4 stars
attentive-brand-artifacts skill
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…
git:20260921.64add91 · audit A · 4 stars
attentive-pixel-perfect-slides skill
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…
git:20260921.64add91 · audit A · 4 stars
docx skill
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…
git:20260921.64add91 · audit A · 4 stars
import-memory skill
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…
git:20260921.64add91 · audit B · 4 stars
morning skill
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…
git:20260921.64add91 · audit A · 4 stars
pptx skill
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…
git:20260921.64add91 · audit A · 4 stars
skill-creator skill
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…
git:20260921.64add91 · audit A · 4 stars

Every file in chancegraff/rules-for-claude

Other files named pdf

pdf skill
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…
git:20260204.4e6907a · audit A · 177,978 stars
pdf skill
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…
v1.2 · audit A · 46,526 stars
pdf skill
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…
git:20260226.343050b · audit A · 15,412 stars
pdf skill
thinkinaixyz/deepchat · resources/skills/pdf/SKILL.md · Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents…
git:20260113.8fd50e4 · audit A · 6,342 stars
pdf skill
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…
git:20260531.164971d · audit A · 4,634 stars
pdf skill
davepoon/buildwithclaude · plugins/all-skills/skills/pdf/SKILL.md · Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents…
git:20260104.903b22f · audit A · 3,530 stars
pdf skill
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…
git:20260921.26f807b · audit A · 1,774 stars
pdf skill
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…
git:20260811.bd7780e · audit A · 1,810 stars

Browse by kind, by grade A, or by owner.