pdf-reading SKILL.md skillA
pdf-reading from invergent-ai/surogates is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add invergent-ai/surogates/pdf-reading@git:20261104.c3eaa01Pins git:20261104.c3eaa01 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- invergent-ai/surogates
- Path
skills/productivity/pdf-reading/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261104.c3eaa01, committed Nov 4, 2026
- First version recorded
- Oct 12, 2026
- Size
- 11,453 bytes
- Repository stars
- 28
- License
- AGPL-3.0
Read a PDF when read_file fails or returns garbled text, or for figures, layout, images, attachments or form-field values.
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
For a plain read, call `read_file(path="document.pdf")` first: the harness parses the text layer natively (and OCRs the first pages of a scan), paginates with `offset`/`limit`, and caches the result. Use this guide when that is not enough.
This guide covers essential PDF reading operations using Python libraries and command-line tools. For advanced features (pypdfium2 rendering, pdfplumber table settings, OCR fallback, encrypted/corrupted PDF handling), see REFERENCE.md. Everything below is preinstalled in the sandbox except PyMuPDF.
Write every rendered or extracted file into the workspace, never `/tmp`: `vision_analyze`, the tool that looks at images, reads workspace files only.
## Reading & Inspecting PDFs
Before doing anything with a PDF, understand what you're working with.
### Content inventory
Run a quick diagnostic first. For simple tasks ("summarize this
document"), `pdfinfo` + `pdffonts` + a text sample may suffice. For
anything involving figures, attachments, or extraction issues, run the
full set:
```bash
# Always: page count, file size, PDF version, metadata
pdfinfo document.pdf
…Read the whole file at its exact version.
How to install
mdr add invergent-ai/surogates/pdf-reading@sha256:571efbc063f19c32The line at the top of this page pins the label git:20261104.c3eaa01, 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_eswb53k7qnlb245p)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Oct 12, 2026 and Nov 4, 2026, about one every 11 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261104.c3eaa01 latest | 2026-11-04 | c3eaa01 | 11,453 B | A | view · diff |
| git:20261017.aef52c2 | 2026-10-17 | aef52c2 | 12,041 B | A | view · diff |
| git:20261012.8675db5 | 2026-10-12 | 8675db5 | 11,939 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 (11453 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
invergent-ai/surogates · 28 stars · license AGPL-3.0 · pushed 2026-11-05 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_eswb53k7qnlb245p GET https://markdownregistry.com/api/v1/resolve?ref=invergent-ai/surogates/pdf-reading GET https://markdownregistry.com/api/v1/blob/571efbc063f19c329fa04cbc72e5fbee80bd9d4b628e170af9bc15e7a6524120
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 invergent-ai/surogates
Every file in invergent-ai/surogates