PDF Processing Pro

PDF Processing Pro is a skill for Claude Code, Codex from Justdvp/claude-code-templates. It costs 46 tokens per session (1,649 once invoked), scanned A, a copy of pdf-processing-pro, MIT.

A toolkit for working with PDF files, including forms, tables, text, and scanned pages. OCR means reading text from scanned images so it can be processed as text.

In plain words
What is it for?
Use it to extract text or tables, inspect and fill PDF forms, process many files, and validate inputs and results. Its command-line scripts can be used in automated programs or production jobs.
Why use it?
It reduces the manual work and errors involved in handling complex or large batches of PDFs. Validation, error handling, logging, and clear exit codes help detect problems in automated workflows.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/fill_form.py input.pdf data.json output.pdf.

Good fit Use it to extract text or tables, inspect and fill PDF forms, process many files, and validate inputs and results. Its command-line scripts can be used in automated programs or production jobs.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Justdvp/claude-code-templates
agentmods
npx agentmods add skills/justdvp/claude-code-templates/pdf-processing-pro

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 Pro

README.md
[![agentmods](https://agentmods.dev/badge/skills/justdvp/claude-code-templates/pdf-processing-pro/github.svg)](https://agentmods.dev/skills/justdvp/claude-code-templates/pdf-processing-pro)
Your own site
<a href="https://agentmods.dev/skills/justdvp/claude-code-templates/pdf-processing-pro"><img src="https://agentmods.dev/badge/skills/justdvp/claude-code-templates/pdf-processing-pro/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 Pro

Your own site · 80×15
<a href="https://agentmods.dev/skills/justdvp/claude-code-templates/pdf-processing-pro"><img src="https://agentmods.dev/badge/skills/justdvp/claude-code-templates/pdf-processing-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,649 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00046 $0.01649
Opus 5.5 $0.00018 $0.00660
Sonnet 5.5 $0.00009 $0.00330
Haiku 4.5 $0.00005 $0.00165

Measured 1mo ago against content hash 0e07e0c87b71, 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 Pro 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/analyze_form.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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run([
Origin

This is a copy

100% identical to pdf-processing-pro — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

cli-tool/components/skills/document-processing/pdf-processing-pro/SKILL.md · 297 lines

How it starts

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

PDF Processing Pro

Production-ready PDF processing toolkit with pre-built scripts, comprehensive error handling, and support for complex workflows.

Quick start

Extract text from PDF

import pdfplumber

with pdfplumber.open("document.pdf") as pdf:
    text = pdf.pages[0].extract_text()
    print(text)

Analyze PDF form (using included script)

python scripts/analyze_form.py input.pdf --output fields.json
# Returns: JSON with all form fields, types, and positions

Fill PDF form with validation

python scripts/fill_form.py input.pdf data.json output.pdf
# Validates all fields before filling, includes error reporting

Extract tables from PDF

python scripts/extract_tables.py report.pdf --output tables.csv
# Extracts all tables with automatic column detection

Features

✅ Production-ready scripts

All scripts include:

  • Error handling: Graceful failures with detailed error messages
  • Validation: Input validation and type checking
  • Logging: Configurable logging with timestamps
  • Type hints: Full type annotations for IDE support
  • CLI interface: --help flag for all scripts
  • Exit codes: Proper exit codes for automation

✅ Comprehensive workflows

  • PDF Forms: Complete form processing pipeline
  • Table Extraction: Advanced table detection and extraction
  • OCR Processing: Scanned PDF text extraction
  • Batch Operations: Process multiple PDFs efficiently
  • Validation: Pre and post-processing validation

Advanced topics

PDF Form Processing

For complete form workflows including:

  • Field analysis and detection
  • Dynamic form filling
  • Validation rules
  • Multi-page forms
  • Checkbox and radio button handling

See FORMS.md

Table Extraction

For complex table extraction:

  • Multi-page tables
  • Merged cells
  • Nested tables
  • Custom table detection
  • Export to CSV/Excel

See TABLES.md

OCR Processing

For scanned PDFs and image-based documents:

  • Tesseract integration
  • Language support
  • Image preprocessing
  • Confidence scoring
  • Batch OCR

Read the full file on GitHub · 297 lines

Files

What ships with it

4 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. 1mo ago First seen · 297 lines · 46 tokens per session scan A 0e07e0c87b71

Subscribe to this mod's changes

PDF Processing Pro is a skill published in the GitHub repository Justdvp/claude-code-templates (7 stars, last pushed 6d ago), licensed MIT. It adds 46 tokens to every session and 1,649 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). It is 100% identical to pdf-processing-pro, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

markitdown

Converts heterogeneous documents and selected URIs to Markdown with Microsoft MarkItDown for text analysis, search, and LLM/RAG ingestion. Covers safe local conversion, streams, Office/PDF/data formats, batch workflows, plugins, vision OCR, Azure extraction, and the official MCP server.

K-Dense-AI/scientific-agent-skills · 62 tokens

pydicom

Reads, inspects, writes, transforms, and preflights local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.

K-Dense-AI/scientific-agent-skills · 52 tokens

liteparse

Local document and PDF parsing that returns spatial text with bounding boxes. Use for extracting text from PDFs, DOCX, Office files, and images; running OCR on scans; producing layout-preserved JSON for RAG; batch-ingesting folders of papers; or rendering pages to PNG for multimodal agents. Distinguishing capabilities…

K-Dense-AI/scientific-agent-skills · 87 tokens

open-notebook

Organizes research with the self-hosted Open Notebook alternative to NotebookLM. Supports source ingestion (PDFs, web pages, audio, video, and Office documents), cited document chat, text and vector search, notes, custom transformations, and multi-speaker podcasts. Use when automating Open Notebook through its REST…

K-Dense-AI/scientific-agent-skills · 96 tokens

pptx-posters

Creates and audits editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Used when the requested deliverable is a PowerPoint research/conference poster and exact physical, printer, accessibility, provenance, and package-security checks are required.

K-Dense-AI/scientific-agent-skills · 59 tokens

moai-docs-generation

Documentation generation patterns for technical specs, API docs, user guides, and knowledge bases using real tools like Sphinx, MkDocs, TypeDoc, and Nextra. Use when creating docs from code, building doc sites, or automating documentation workflows.

modu-ai/moai-adk · 56 tokens