pdf-processing

pdf-processing is a skill for Claude Code, Codex from smithersai/smithers. It costs 21 tokens per session (181 once invoked), scanned A, original, MIT.

A document tool for reading, repairing, and rewriting PDF files. PDFs are fixed-layout documents that can contain text, images, and metadata.

In plain words
What is it for?
It is for extracting text and metadata, repairing malformed PDFs, and creating accessible PDF output.
Why use it?
It helps recover content from damaged PDFs and produce output that is easier for people using assistive technology to read.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/smithersai/smithers/pdf
Any agent
npx skills add smithersai/smithers --skill pdf
Clone the repo
git clone --depth 1 https://github.com/smithersai/smithers

Made for: Claude Code, 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/smithersai/smithers/pdf.svg)](https://agentmods.dev/skills/smithersai/smithers/pdf)
Your own site
<a href="https://agentmods.dev/skills/smithersai/smithers/pdf"><img src="https://agentmods.dev/badge/skills/smithersai/smithers/pdf.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 181 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00021 $0.00181
Opus 5 $0.00010 $0.00090
Sonnet 5 $0.00004 $0.00036
Haiku 4.5 $0.00002 $0.00018

Measured yesterday against content hash 583239127e2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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.

packages/smithers/agent/registry/test/fixtures/foreign/pdf/SKILL.md · 25 lines

What it actually says

PDF Processing

Use this skill when a task involves inspecting, repairing, extracting, or rewriting PDF documents.

Flow

  1. Inspect the document with pdfinfo.
  2. Extract text with pdftotext -layout and preserve page boundaries.
  3. If the file is malformed, repair it with qpdf before retrying extraction.
  4. Verify the resulting document opens and that its page count is unchanged.

Do not overwrite the source document unless the user explicitly requests it.

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. yesterday First seen · 25 lines · 21 tokens per session scan A 583239127e2f

Subscribe to this mod's changes

pdf-processing is a skill published in the GitHub repository smithersai/smithers (407 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 181 once invoked, about $0.0001 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

pdf

Read, extract, split, merge, rotate, watermark, fill, OCR, or create PDF files with verification of page counts and text extraction.

Hmbown/CodeWhale · 31 tokens

pdf-editing

Use the bundled tools; do not install nano-pdf, pypdf, qpdf, Poppler, or another PDF package during a task.

Orkas-AI/Orkas · 3 tokens

document-converter

Convert documents bidirectionally via the pi-doc-engine facade: ingest PDF/DOCX/PPTX/XLSX to provenance-stamped Markdown (with OCR), and produce templated DOCX/PDF from Markdown with diagrams, TOC and round-trip merge. Use on "convert this PDF to markdown", "ingest these docs into kb", "make a DOCX from markdown with…

BlackBeltTechnology/pi-agent-dashboard · 97 tokens

pdf-processor

Extracts text and tables from PDF files, fills forms, and merges documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

lofcz/LLMTornado · 39 tokens

yao-ocr

OCR text recognition expert. ALWAYS invoke this skill when you need to extract text from images or PDFs — including invoices, receipts, ID cards, bank cards, business licenses, tables, handwritten documents, or any visual text content.

YaoApp/yao · 50 tokens

ocr

Extract text from screenshots, scanned documents, image files, and PDFs. Use when a user asks to OCR, read text from an image/screenshot/scan, transcribe visible text, extract text from a scanned PDF, compare OCR text, or convert image/PDF text into Markdown/JSON/plain text.

OpenCoven/coven · 63 tokens