pdf-processing

pdf-processing is a skill for Codex from seb1n/awesome-ai-agent-skills. It costs 105 tokens per session (1,926 once invoked), scanned A, original, MIT.

A toolkit for working with PDF files, including reading their text and structure or creating and changing documents. It also covers OCR, which turns scanned page images into searchable text.

In plain words
What is it for?
Use it to extract text, tables, images, and forms; merge or split pages; rotate, annotate, redact, compress, secure, or verify PDFs.
Why use it?
It helps preserve the original file while checking that the edited PDF still has the right content, layout, pages, metadata, and security settings.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to extract text, tables, images, and forms; merge or split pages; rotate, annotate, redact, compress, secure, or verify PDFs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seb1n/awesome-ai-agent-skills/pdf-processing
Install

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.

Any agent
npx skills add seb1n/awesome-ai-agent-skills --skill pdf-processing
Clone the repo
git clone --depth 1 https://github.com/seb1n/awesome-ai-agent-skills

Made for: Codex.

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

agentmods badge for pdf-processing

README.md
[![agentmods](https://agentmods.dev/badge/skills/seb1n/awesome-ai-agent-skills/pdf-processing/github.svg)](https://agentmods.dev/skills/seb1n/awesome-ai-agent-skills/pdf-processing)
Your own site
<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.

agentmods 80×15 button for pdf-processing

Your own site · 80×15
<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>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,926 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 5d ago against content hash 7cb72249dd8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/inspect_pdf.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

documents-and-files/pdf-processing/SKILL.md · 133 lines

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:

  1. New output file(s) at explicit paths; never silently overwrite the source.
  2. Source and output SHA-256 hashes, byte sizes, page counts, and encryption status when determinable.
  3. A concise operation log: tools used, options, page mapping, OCR language, redactions, and metadata changes.
  4. Verification evidence for structure, content, and rendered appearance, plus limitations.
  5. 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:

Read the full file on GitHub · 133 lines

Files

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.

Changes

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.

  1. 5d ago First seen · 133 lines · 105 tokens per session scan A 7cb72249dd8e

Subscribe to this mod's changes

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.

Related

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.

microsoft/power-platform-skills · 30 tokens

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

microsoft/power-platform-skills · 47 tokens

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.

pedrohcgs/claude-code-my-workflow · 73 tokens

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.

AlpacaLabsLLC/skills-for-architects · 40 tokens

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.

AlpacaLabsLLC/skills-for-architects · 39 tokens

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…

EliasOulkadi/shokunin · 0 tokens