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.

Install it, pinned
mdr add invergent-ai/surogates/pdf-reading@git:20261104.c3eaa01

Pins 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

The exact contents, by fingerprint
mdr add invergent-ai/surogates/pdf-reading@sha256:571efbc063f19c32

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_eswb53k7qnlb245p.svg)](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.

versioncommittedcommitsizeaudit
git:20261104.c3eaa01 latest2026-11-04 c3eaa01 11,453 BA view · diff
git:20261017.aef52c22026-10-17 aef52c2 12,041 BA view · diff
git:20261012.8675db52026-10-12 8675db5 11,939 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (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

GitHub

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

subagent-task-orchestrator SKILL.md skill
invergent-ai/surogates · skills/kanban/subagent-task-orchestrator/SKILL.md · Decomposition playbook and anti-temptation rules for an orchestrator agent that routes work through the Surogates…
v1.0.0 · audit A · 28 stars
subagent-task-worker SKILL.md skill
invergent-ai/surogates · skills/kanban/subagent-task-worker/SKILL.md · Pitfalls, examples, and edge cases for workers executing a Surogates subagent task. Loaded automatically when the…
v1.0.0 · audit A · 28 stars
brainstorming SKILL.md skill
invergent-ai/surogates · skills/process/brainstorming/SKILL.md · Agree the design of a large, open-ended build with the user before building it.
v1.0.0 · audit A · 28 stars
dispatching-parallel-agents SKILL.md skill
invergent-ai/surogates · skills/process/dispatching-parallel-agents/SKILL.md · Split 2+ independent investigations or tasks across sub-agents (delegate_task) and merge the results.
v1.0.0 · audit A · 28 stars
executing-plans SKILL.md skill
invergent-ai/surogates · skills/process/executing-plans/SKILL.md · Carry out an existing written implementation plan step by step with checkpoints.
v1.0.0 · audit A · 28 stars
writing-plans SKILL.md skill
invergent-ai/surogates · skills/process/writing-plans/SKILL.md · Turn an agreed spec for a large multi-step build into a step-by-step implementation plan.
v2.0.0 · audit A · 28 stars
writing-skills SKILL.md skill
invergent-ai/surogates · skills/process/writing-skills/SKILL.md · Create or edit a skill (SKILL.md) when the user asks for one.
v1.0.0 · audit A · 28 stars
consolidate-memory SKILL.md skill
invergent-ai/surogates · skills/productivity/consolidate-memory/SKILL.md · Clean up memory (merge duplicates, fix or remove stale entries) when the user asks.
git:20261104.c3eaa01 · audit A · 28 stars
doc-coauthoring SKILL.md skill
invergent-ai/surogates · skills/productivity/doc-coauthoring/SKILL.md · Co-write a long structured document (proposal, spec, decision doc) with the user over several rounds, when they want to…
git:20261104.c3eaa01 · audit A · 28 stars
docx SKILL.md skill
invergent-ai/surogates · skills/productivity/docx/SKILL.md · Create, edit or convert Word documents (.docx/.dotx), including tracked changes, comments, images and formatting.
git:20261104.c3eaa01 · audit A · 28 stars
import-memory SKILL.md skill
invergent-ai/surogates · skills/productivity/import-memory/SKILL.md · Import a memory export from another assistant (ChatGPT, Gemini, Claude, ...) into memory.
git:20261104.c3eaa01 · audit B · 28 stars
maps SKILL.md skill
invergent-ai/surogates · skills/productivity/maps/SKILL.md · Geocoding, places, routes and timezones via OpenStreetMap/OSRM.
v1.2.0 · audit A · 28 stars

Every file in invergent-ai/surogates

Other files named pdf-reading

pdf-reading SKILL.md skill
razshy/wiggle · mnt-skills/public/pdf-reading/SKILL.md · Use this skill when you need to read, inspect, or extract content from PDF files — especially when file content is NOT…
git:20260904.bb60abf · audit A · 100 stars

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