Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/yamadashy/agent-readable/readable-pdfnpx skills add yamadashy/agent-readable --skill readable-pdfgit clone --depth 1 https://github.com/yamadashy/agent-readableWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00089 | $0.00589 |
| Opus 5 | $0.00044 | $0.00295 |
| Sonnet 5 | $0.00018 | $0.00118 |
| Haiku 4.5 | $0.00009 | $0.00059 |
Grade A, and why
readable-pdf scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -L -o /tmp/doc.pdf "{URL}" What it actually says
PDF Reader
Uses pdfvision for cross-agent PDF extraction. pdfvision returns text with line breaks preserved, document metadata, per-page density, and optional rendered PNGs for multimodal models.
Prerequisite
npx pdfvision --version
Or install globally: npm install -g pdfvision. Requires Node.js >= 22.13.
Run npx pdfvision --help once before invoking — the flag set evolves (page selection, render output dir, layout / geometry / image-boxes opt-ins, etc.) and the help text is the source of truth for what the installed version supports.
Steps
1. Get a local PDF path
If the input is a URL, download first:
curl -L -o /tmp/doc.pdf "{URL}"
If the input is already a local path, skip this step.
2. Extract text + metadata
npx pdfvision /tmp/doc.pdf
Default output is markdown with one ## Page N section per page and a density Overview at the top.
3. Switch format when needed
# Structured JSON for downstream programmatic use
npx pdfvision /tmp/doc.pdf -f json
# Tag-shaped XML, easier for some LLMs to parse than JSON
npx pdfvision /tmp/doc.pdf -f xml
4. Render pages for multimodal review
If the Overview shows low character coverage on a page (i.e. the page is largely an image / scan), render PNGs and read them:
npx pdfvision /tmp/doc.pdf --render -p {pages}
The output reports the PNG paths. Read each image with the agent's image-reading capability.
5. Page subsets
npx pdfvision /tmp/doc.pdf -p 1-5
npx pdfvision /tmp/doc.pdf -p 1,3,5
Why pdfvision over a built-in PDF reader
- Works in any agent runtime that can spawn a CLI, not only Claude Code.
- Reports per-page density so the agent can detect rasterised pages and re-extract with
--render. - Caches by content hash, so repeated reads of the same PDF are instant.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 72 lines · 89 tokens per session scan A 901a255aa929
readable-pdf is a skill published in the GitHub repository yamadashy/agent-readable (2 stars, last pushed 3mo ago), licensed MIT. It adds 89 tokens to every session and 589 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
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…
当用户需要对PDF文件进行任何操作时,请使用此技能。包括从 PDF 中读取或提取文本/表格、合并多个 PDF、拆分 PDF、旋转页面、添加水印、创建新PDF、填写PDF表单、加密/解密 PDF、提取图片,以及对扫描版 PDF 进行 OCR 使其可搜索。如果用户提到 .pdf 文件或要求生成 PDF,请使用此技能。.
PDF manipulation toolkit. Extract text/tables, create PDFs, merge/split, fill forms, for programmatic document processing and analysis.
doc
Use when the task involves reading, creating, or editing .docx documents, especially when formatting or layout fidelity matters; prefer python-docx plus the bundled scripts/renderdocx.py for visual checks.
graphic-ebook
Creates professionally designed B2B SaaS e-books in HTML + CSS, exported as print-ready PDF. 3–10 pages, 9 style presets, 11 page layout types. Trigger when user says "create an ebook", "design a lead magnet", "make a PDF guide", "build a gated content piece", "write a B2B ebook", "design a white paper", "create a…
arxiv-preflight
Pre-submission validation audit for arXiv papers across TeX source, PDF, figures, metadata, bibliography, file organization, and common-error scans. Produces pass/fail report with specific fixes per arXiv requirement. Triggers on: "check my arXiv submission", "validate for arXiv", "arXiv preflight", "ready for arXiv"…