pdf-processing

A toolset for working with PDF files, which are fixed-layout documents. It can extract text, fill form fields, combine PDFs, and split them into separate pages.

In plain words
What is it for?
Reading PDF text, completing PDF forms, merging documents in a chosen order, and splitting documents into individual pages.
Why use it?
It removes the need to handle common PDF tasks manually or with separate tools.

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/prefecthq/fastmcp/pdf-processing
Any agent
npx skills add PrefectHQ/fastmcp --skill pdf-processing
Clone the repo
git clone --depth 1 https://github.com/PrefectHQ/fastmcp

Made for: Claude Code, Codex.

Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 153 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.00011 $0.00153
Opus 5 $0.00005 $0.00077
Sonnet 5 $0.00002 $0.00031
Haiku 4.5 $0.00001 $0.00015

Measured 3d ago against content hash c074ac462e5b, 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 3d 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.

examples/skills/sample_skills/pdf-processing/SKILL.md · 29 lines

What it actually says

PDF Processing Skill

This skill helps you work with PDF documents.

Capabilities

  • Extract text content from PDF files
  • Fill form fields in PDF documents
  • Merge multiple PDFs into one
  • Split PDFs into separate pages

Usage

When working with PDFs, use the appropriate tools:

  1. For text extraction: Read the PDF and parse its content
  2. For forms: Identify form fields and fill them programmatically
  3. For merging: Combine multiple documents in the desired order

Additional Resources

See reference.md for detailed API documentation.

Files

What ships with it

1 file 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. 3d ago First seen · 29 lines · 11 tokens per session scan A c074ac462e5b

Subscribe to this mod's changes

pdf-processing is a skill published in the GitHub repository PrefectHQ/fastmcp (27,470 stars, last pushed yesterday), licensed Apache-2.0. It adds 11 tokens to every session and 153 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-08-30.

Related

Other skills, from other repositories

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…

zebbern/claude-code-guide · 92 tokens

book-analyzer

Analyze a book (EPUB/PDF) and generate detailed chapter-by-chapter notes with extracted key concepts. Use when given a book file path to process.

tuan3w/obsidian-vault-agent · 36 tokens

document-analyzer

Understand, analyze, and extract insights from documents — PDFs, reports, technical docs, contracts, or any text-heavy material. Use when someone asks to "understand this document", "analyze this report", "what does this document say", "extract key points", "summarize this PDF", or needs to quickly grasp unfamiliar…

gyanranjan/polyagent-skills · 73 tokens

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…

agentscope-ai/QwenPaw · 92 tokens

pdf

当用户需要对PDF文件进行任何操作时,请使用此技能。包括从 PDF 中读取或提取文本/表格、合并多个 PDF、拆分 PDF、旋转页面、添加水印、创建新PDF、填写PDF表单、加密/解密 PDF、提取图片,以及对扫描版 PDF 进行 OCR 使其可搜索。如果用户提到 .pdf 文件或要求生成 PDF,请使用此技能。.

agentscope-ai/QwenPaw · 95 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens