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 skills add seb1n/awesome-ai-agent-skills --skill pdf-processinggit clone --depth 1 https://github.com/seb1n/awesome-ai-agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/seb1n/awesome-ai-agent-skills/pdf-processing)<a href="https://agentmods.dev/skills/seb1n/awesome-ai-agent-skills/pdf-processing"><img src="https://agentmods.dev/badge/skills/seb1n/awesome-ai-agent-skills/pdf-processing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/seb1n/awesome-ai-agent-skills/pdf-processing"><img src="https://agentmods.dev/badge/skills/seb1n/awesome-ai-agent-skills/pdf-processing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What 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.1 | $0.00105 | $0.01926 |
| Opus 5 | $0.00053 | $0.00963 |
| Sonnet 5 | $0.00021 | $0.00385 |
| Haiku 4.5 | $0.00011 | $0.00193 |
Grade A, and why
pdf-processing scanned grade A with 0 findings 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 5d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDF Processing
Preserve the original, choose tools from what is actually available, and verify both document structure and rendered appearance.
Inputs
Collect or state:
- Source file(s), requested operation, destination, naming convention, and page order/ranges.
- Whether layout fidelity, searchable text, file size, accessibility, archival quality, or print output is the priority.
- OCR language, table/image requirements, form fields, annotations, bookmarks, links, and metadata expectations.
- Passwords or signing credentials supplied through an approved secure channel; never request private keys in chat.
- Whether content is confidential and whether local-only processing is required.
Clarify ambiguous page references: human page labels may differ from zero- or one-based physical page numbers.
Output contract
Return:
- New output file(s) at explicit paths; never silently overwrite the source.
- Source and output SHA-256 hashes, byte sizes, page counts, and encryption status when determinable.
- A concise operation log: tools used, options, page mapping, OCR language, redactions, and metadata changes.
- Verification evidence for structure, content, and rendered appearance, plus limitations.
- Any password, signature, accessibility, font, OCR, or active-content caveats.
Do not claim exactness when the check was heuristic or a page could not be rendered.
Workflow
1. Preserve and inspect
- Resolve exact input paths and calculate hashes before making changes.
- Write to a new file or a temporary working copy. Never edit the sole source in place.
- Run the dependency-free structural inspector from this skill directory:
python3 scripts/inspect_pdf.py /path/to/input.pdf --pretty
python3 scripts/inspect_pdf.py /path/to/input.pdf --output /path/to/report.json --pretty
This default scan reads bytes without invoking a PDF parser. With --output, it refuses input aliases and non-regular destinations, then atomically creates or replaces the report via a sibling temporary file. Use --deep only after the file is trusted enough to parse, or after the untrusted-input sandbox profile in step 2 is verified. Declare the decision explicitly:
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago First seen · 133 lines · 105 tokens per session scan A 7cb72249dd8e
pdf-processing is a skill published in the GitHub repository seb1n/awesome-ai-agent-skills (176 stars, last pushed 1mo ago), licensed MIT. It adds 105 tokens to every session and 1,926 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
add-pdf-report
Internal implementation skill invoked by /add-native for app-generated PDF report workflows using expo-print and, when present, expo-sharing.
add-pdf-viewer
Internal implementation skill invoked by /add-native for native PDF control workflows. Handles HTTPS and file URI PDF viewing with @microsoft/power-apps-native-pdf-viewer 0.2.9+.
compile-latex
Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when user says "compile", "build the slides", "rebuild the PDF", "run latex", "render the tex", or asks why a .tex file isn't producing a PDF. Operates on Slides/.tex.
epd-parser
Extract GWP, life-cycle stages, certifications, and impact metrics from an EPD PDF. Use when given a declaration to parse; not to find or compare EPDs.
product-spec-pdf-parser
Extract structured FF&E specs from PDF price books, fact sheets, or spec sheets into a schedule. Use for product PDFs; not web URLs or EPDs.
kami
Generate PDFs, resumes, CVs, letters, slide decks, portfolios, one-pagers, white papers, and professional documents. Use when user asks to create a PDF, make a resume, write a letter, design slides, format a document, typeset a report, build a portfolio, make a presentation, or create a one-pager. Warm parchment…