Manipulate PDF files — extract text, count pages, render thumbnails, merge or split documents. Use for PDF-specific operations that don't fit `markdown-converter` (general read) or `pandic-office` (write from markdown).
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 — PDF manipulation toolkit
The gateway image ships:
- `pdftotext`, `pdftoppm`, `pdfinfo` from `poppler-utils` (apt)
- `pypdf` (Python) for programmatic merge / split / metadata edits
## Common operations
### Extract text from a PDF
```bash
pdftotext /workspace/$(basename "$PWD")/input.pdf /workspace/$(basename "$PWD")/input.txt
# Or stream to stdout:
pdftotext /workspace/$(basename "$PWD")/input.pdf -
```
For LLM-friendly output, prefer the `markdown-converter` skill (which uses
markitdown and handles tables better). Use `pdftotext` only when you need
raw text quickly.
### Count pages
```bash
pdfinfo /workspace/$(basename "$PWD")/input.pdf | grep Pages
```
### Render a page to PNG (preview / OCR input)
```bash
# All pages → PNG at 150dpi
pdftoppm -png -r 150 /workspace/$(basename "$PWD")/input.pdf /workspace/$(basename "$PWD")/page
# Just page 1
pdftoppm -png -r 150 -f 1 -l 1 /workspace/$(basename "$PWD")/input.pdf /workspace/$(basename "$PWD")/cover
```
### Merge multiple PDFs
```python
python3 - <<'PY'
from pypdf import PdfWriter
w = PdfWriter()
for f in ["a.pdf", "b.pdf", "c.pdf"]:
w.append(f)
w.write("/workspace/$(basename "$PWD")/merged.pdf")
PY
```
…
The line at the top of this page pins the label git:20260504.69c67bb, 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_nl5srpgtqgtlidp4
GET https://markdownregistry.com/api/v1/resolve?ref=team-commonly/commonly/pdf
GET https://markdownregistry.com/api/v1/blob/7ac5a9ab76fd6f95e8b3bc9cb8eff3fa802d5e848cc68ae2fb490a076986f29a
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.
team-commonly/commonly · backend/commonly-bundled-skills/github/SKILL.md · Interact with GitHub (issues, PRs, repos, releases) using the `gh` CLI. Use when asked to read or write GitHub state —…
team-commonly/commonly · backend/commonly-bundled-skills/officecli/skills/morph-ppt-3d/SKILL.md · 3D Morph PPT — extends morph-ppt with GLB model insertion, cinematographic camera, model-content layout, and enriched…
team-commonly/commonly · backend/commonly-bundled-skills/officecli/skills/morph-ppt/SKILL.md · Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions…
team-commonly/commonly · backend/commonly-bundled-skills/officecli/skills/officecli-commonly-templates/SKILL.md · Use this skill when producing a polished, Commonly-branded deliverable (.docx brief / memo, .xlsx data matrix, .pptx…
team-commonly/commonly · backend/commonly-bundled-skills/officecli/skills/officecli-data-dashboard/SKILL.md · Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards…
team-commonly/commonly · backend/commonly-bundled-skills/officecli/skills/officecli-docx/SKILL.md · Use this skill any time a .docx file is involved -- as input, output, or both. This includes: creating Word documents…
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…