pdf

pdf is a skill for Claude Code from desirecore/market. It costs 128 tokens per session (3,596 once invoked), scanned B, original, MIT.

A toolkit for working with PDF files, which are fixed-layout documents used for sharing and printing. It can read, create, combine, split, rotate, protect, and fill PDFs, including scanned documents through OCR.

In plain words
What is it for?
Use it to extract text or tables, merge or split documents, create PDFs, fill forms, add watermarks, encrypt files, or extract images.
Why use it?
It removes the need to handle PDF text, pages, forms, and scans with separate applications or manual steps.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to extract text or tables, merge or split documents, create PDFs, fill forms, add watermarks, encrypt files, or extract images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desirecore/market/pdf
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 desirecore/market --skill pdf
Clone the repo
git clone --depth 1 https://github.com/desirecore/market

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/desirecore/market/pdf/github.svg)](https://agentmods.dev/skills/desirecore/market/pdf)
Your own site
<a href="https://agentmods.dev/skills/desirecore/market/pdf"><img src="https://agentmods.dev/badge/skills/desirecore/market/pdf/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/desirecore/market/pdf"><img src="https://agentmods.dev/badge/skills/desirecore/market/pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,596 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00128 $0.03596
Opus 5.5 $0.00051 $0.01438
Sonnet 5.5 $0.00026 $0.00719
Haiku 4.5 $0.00013 $0.00360

Measured 2mo ago against content hash f24f4a3e71ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

pdf scanned grade B 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 2mo ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/check_bounding_boxes.py, scripts/check_fillable_fields.py, scripts/convert_pdf_to_images.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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **Linux (Debian/Ubuntu)**: `sudo apt install python3 python3-pip`
skills/pdf/SKILL.md · 437 lines

How it starts

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

pdf skill

L0: One-Sentence Summary

Read, create, merge, split, and fill PDF documents, with OCR support and command-line tools.

L1: Overview and Use Cases

Capability Description

pdf is a Procedural Skill that provides full PDF document processing capabilities. Built on Python libraries (pypdf, pdfplumber, reportlab) and command-line tools (qpdf, pdftotext, pdftk), it supports text extraction, table extraction, merging/splitting, rotation, watermarking, encryption, form filling, and OCR.

Use Cases

  • The user needs to extract text or table data from a PDF
  • The user needs to merge multiple PDFs or split pages
  • The user needs to create a new PDF document
  • The user needs to fill PDF forms, add watermarks, or encrypt PDFs

L2: Detailed Specification

Prerequisites

Python 3 (required)

Before performing any Python operation, check that Python is available:

python3 --version 2>/dev/null || python --version 2>/dev/null

If the command fails (Python is not available), you must stop and tell the user to install Python 3:

  • macOS: brew install python3, or download from https://www.python.org/downloads/
  • Windows: winget install Python.Python.3, or download from python.org (check "Add Python to PATH" during installation)
  • Linux (Debian/Ubuntu): sudo apt install python3 python3-pip
  • Linux (Fedora/RHEL): sudo dnf install python3 python3-pip

For more detailed environment setup help: load the python-runtime skill for Python issues; load the dev-environment-setup skill for everything else (system tools like poppler / tesseract, containers / WSL).

Python Package Dependencies

This skill depends on the following Python packages (checked on demand):

  • pypdf — Basic PDF operations (read, merge, split, rotate)
  • pdfplumber — Table extraction, layout-aware text extraction
  • Pillow — Image processing (watermarks, verification images, etc.)
  • reportlab — PDF creation (optional, install on demand)
  • pdf2image — PDF-to-image conversion (optional, requires poppler)

Read the full file on GitHub · 437 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. 2mo ago Changed · +1 lines f24f4a3e71ef
  2. 3mo ago First seen · 436 lines · 128 tokens per session scan B e11ca44fe424

Subscribe to this mod's changes

pdf is a skill published in the GitHub repository desirecore/market (2 stars, last pushed today), licensed MIT. It adds 128 tokens to every session and 3,596 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

pdf compared with skills from other repositories

pdf next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pdfdesirecore/marketSkill2todayMITB128Claude Code
document-processingJPeetz/agent-skillsSkill2113d agononeA120Claude Code, Codex
pdf-toolkitchainlesschain/chainlesschainSkill1115d agononeA19Claude Code
pdf-processingPrefectHQ/fastmcpSkill29ktodayApache-2.0A14Claude Code, Codex
paddleocr-doc-parsingPaddlePaddle/PaddleOCRSkill93k2mo agoApache-2.0A140Claude Code, Codex
paddleocr-text-recognitionPaddlePaddle/PaddleOCRSkill93k2mo agoApache-2.0A125Claude Code, Codex
local-doc-ocrXiaoLuoLYG/GODSkill1.3k5d agoApache-2.0A221Claude Code, Codex