pdf SKILL.md skillA
pdf from xiaomacoltai/math-modeling-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add xiaomacoltai/math-modeling-skill/pdf@git:20260811.bd7780ePins git:20260811.bd7780e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- xiaomacoltai/math-modeling-skill
- Path
tools/pdf/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260811.bd7780e, committed Aug 11, 2026
- First version recorded
- Mar 4, 2026
- Size
- 8,072 bytes
- Repository stars
- 1,886
- License
- none declared
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")
…Read the whole file at its exact version.
How to install
mdr add xiaomacoltai/math-modeling-skill/pdf@sha256:6c29abbce8b2dd34The line at the top of this page pins the label git:20260811.bd7780e, 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.
[](https://markdownregistry.com/a/art_3eiysoqymw5kzqia)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Mar 4, 2026 and Aug 11, 2026, about one every 160 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260811.bd7780e latest | 2026-08-11 | bd7780e | 8,072 B | A | view · diff |
| git:20260304.6e59f1c | 2026-03-04 | 6e59f1c | 8,072 B | A | view |
Audit of the latest version
- 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
xiaomacoltai/math-modeling-skill · 1,886 stars · license none declared · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_3eiysoqymw5kzqia GET https://markdownregistry.com/api/v1/resolve?ref=xiaomacoltai/math-modeling-skill/pdf GET https://markdownregistry.com/api/v1/blob/6c29abbce8b2dd347498c907c5f21cf29f6baed0659928f59d4345d07e5cd9da
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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from xiaomacoltai/math-modeling-skill
Every file in xiaomacoltai/math-modeling-skill