pdf-processing

pdf-processing is a skill for Claude Code, Codex from Pixel-Process-UG/superkit-agents. It costs 77 tokens per session (3,108 once invoked), scanned A, original, MIT.

A guide for creating, reading, changing, and combining PDF files. It covers tasks such as text and table extraction, OCR for scanned pages, form filling, and PDF generation.

In plain words
What is it for?
Use it to generate reports, extract data, process scanned documents, fill forms, merge or split files, add watermarks, or manage metadata.
Why use it?
It removes the need to choose and coordinate different PDF techniques without first understanding the input file and desired output.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to generate reports, extract data, process scanned documents, fill forms, merge or split files, add watermarks, or manage metadata.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pixel-process-ug/superkit-agents/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 Pixel-Process-UG/superkit-agents --skill pdf-processing
Clone the repo
git clone --depth 1 https://github.com/Pixel-Process-UG/superkit-agents

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/pixel-process-ug/superkit-agents/pdf-processing/github.svg)](https://agentmods.dev/skills/pixel-process-ug/superkit-agents/pdf-processing)
Your own site
<a href="https://agentmods.dev/skills/pixel-process-ug/superkit-agents/pdf-processing"><img src="https://agentmods.dev/badge/skills/pixel-process-ug/superkit-agents/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/pixel-process-ug/superkit-agents/pdf-processing"><img src="https://agentmods.dev/badge/skills/pixel-process-ug/superkit-agents/pdf-processing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,108 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.
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.00077 $0.03108
Opus 5.5 $0.00031 $0.01243
Sonnet 5.5 $0.00015 $0.00622
Haiku 4.5 $0.00008 $0.00311

Measured 1mo ago against content hash b42c6cb852e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

templates/skills/pdf-processing/SKILL.md · 363 lines

How it starts

The opening of the file, as written. The whole thing — 363 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PDF Processing

Overview

Generate, manipulate, and extract data from PDF documents. This skill covers the Python PDF ecosystem: pypdf for merging/splitting/metadata, pdfplumber for text and table extraction, reportlab for generation, pytesseract for OCR, and strategies for form filling, watermarking, and complex document assembly.

Apply this skill whenever PDFs need to be created, parsed, transformed, or combined through code.

Multi-Phase Process

Phase 1: Requirements

  1. Determine operation type (generate, extract, manipulate)
  2. Identify input PDF characteristics (scanned, digital, forms)
  3. Define output requirements (format, quality, size)
  4. Plan data pipeline (source data to PDF or PDF to data)
  5. Assess volume and performance requirements

STOP — Do NOT select a library until the operation type and input characteristics are clear.

Phase 2: Implementation

  1. Select appropriate library for the task (see decision table)
  2. Implement core processing logic
  3. Handle edge cases (corrupted files, encrypted PDFs, mixed content)
  4. Add error handling and validation
  5. Optimize for file size and processing speed

STOP — Do NOT skip edge case handling for encrypted, rotated, or scanned PDFs.

Phase 3: Validation

  1. Verify output renders correctly in multiple PDF viewers
  2. Check text is selectable (not rasterized) when applicable
  3. Validate extracted data accuracy
  4. Test with edge case PDFs (large, encrypted, scanned)
  5. Verify accessibility (tagged PDF where needed)

Library Selection Decision Table

Task Library Why Alternative
Text extraction pdfplumber Best accuracy, handles layouts pypdf (simpler, less accurate)
Table extraction pdfplumber Structured table parsing camelot (dedicated table tool)
PDF generation reportlab Full control, professional quality weasyprint (HTML-to-PDF)
Merge / split pypdf Simple, reliable, fast —
Form filling pypdf Reads and fills AcroForms pdfrw (alternative API)
Metadata read/write pypdf Read/write PDF properties —
OCR (scanned docs) pytesseract + pdf2image Scanned document text extraction EasyOCR (deep learning)
Watermarking pypdf + reportlab Overlay pages —
HTML to PDF weasyprint CSS-based layout, server-friendly playwright (browser rendering)

Read the full file on GitHub · 363 lines

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. 1mo ago First seen · 363 lines · 77 tokens per session scan A b42c6cb852e4

Subscribe to this mod's changes

pdf-processing is a skill published in the GitHub repository Pixel-Process-UG/superkit-agents (3 stars, last pushed 7mo ago), licensed MIT. It adds 77 tokens to every session and 3,108 once invoked, about $0.0003 per session on Opus 5.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

A set of instructions for working with PDF files, which are documents designed to preserve their layout across devices.

agentscope-ai/QwenPaw · 95 tokens

huashu-md-to-pdf

A document converter that turns Markdown files into professionally formatted PDF white papers with an Apple-style design.

alchaincyf/huashu-skills · 83 tokens

pkf-writing

Author, update, convert, validate, persist, and render PKF (.pkf) content through message-inline, Library Asset, or Memory Page carriers. Use for structured reports, knowledge pages, delivery cards, or any .pkf body. NOT for recall, memory-graph placement, or curation decisions — those belong to the memory skill.

Prismer-AI/PrismerCloud · 78 tokens

oma-pdf

Extract PDF text, headings, tables, and images into Markdown using opendataloader-pdf. Use for PDF parsing, not PDF layout creation.

first-fluke/oh-my-agent · 33 tokens

liteparse

Parse local document files into LLM-ready content on the daemon itself — PDFs → Markdown / structured JSON (with bounding boxes) / page screenshots via the bundled lit CLI. PDF works out of the box, offline, zero external deps (Tesseract + PDFium are bundled): digital PDFs use a near-instant native text path…

Prismer-AI/PrismerCloud · 173 tokens

office-transform

Derive new Office files from structural selections without touching the original. Use when the user points at part of a spreadsheet, Word document, PDF, or PowerPoint deck (a worksheet range, paragraph, page, slide, shape, or a pasted selection-ref block) and wants it extracted, converted, or edited — the result is…

CherryHQ/cherry-studio · 123 tokens