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.
npx agentmods add skills/desirecore/market/pdfnpx skills add desirecore/market --skill pdfgit clone --depth 1 https://github.com/desirecore/marketWrote 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.
[](https://agentmods.dev/skills/desirecore/market/pdf)<a href="https://agentmods.dev/skills/desirecore/market/pdf"><img src="https://agentmods.dev/badge/skills/desirecore/market/pdf.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00128 | $0.03587 |
| Opus 5 | $0.00064 | $0.01793 |
| Sonnet 5 | $0.00026 | $0.00717 |
| Haiku 4.5 | $0.00013 | $0.00359 |
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 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.
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` How it starts
The opening of the file, as written. The whole thing — 436 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 extractionPillow— Image processing (watermarks, verification images, etc.)reportlab— PDF creation (optional, install on demand)pdf2image— PDF-to-image conversion (optional, requires poppler)
What ships with it
11 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.
- forms.md 12 KB
- reference.md 16 KB
- scripts/check_bounding_boxes.py 2.7 KB runs code
- scripts/check_fillable_fields.py 268 B runs code
- scripts/convert_pdf_to_images.py 1008 B runs code
- scripts/create_validation_image.py 1.2 KB runs code
- scripts/extract_form_field_info.py 4.2 KB runs code
- scripts/extract_form_structure.py 3.9 KB runs code
- scripts/fill_fillable_fields.py 3.7 KB runs code
- scripts/fill_pdf_form_with_annotations.py 3.2 KB runs code
- SKILL.zh-CN.md 9.6 KB
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.
- 3d ago First seen · 436 lines · 128 tokens per session scan B e11ca44fe424
pdf is a skill published in the GitHub repository desirecore/market (2 stars, last pushed 4d ago), licensed MIT. It adds 128 tokens to every session and 3,587 once invoked, about $0.0006 per session on Opus 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.
Other skills, from other repositories
document-processing
End-to-end document processing agent skill covering PDF manipulation (extract, merge, split, rotate, watermark, form-fill, OCR), DOCX creation and editing (templates, mail-merge, style management), XLSX spreadsheet handling (formulas, charts, pivot tables, data analysis), PPTX presentation generation (layouts, charts…
pdf-toolkit
PDF processing - extract text, merge, split, OCR, info, watermark.
paddleocr-doc-parsing
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as LaTeX, figures, seals, charts, headers/footers, multi-column layout and correct reading order. Trigger terms: 文档解析, 版面分析, 版面还原, 表格提取, 公式识别, 多栏排版, 扫描件结构化, 发票, 财报, 复杂 PDF, PDF转Markdown, 图表…
paddleocr-text-recognition
Use this skill whenever the user wants text extracted from images, photos, scans, screenshots, or scanned PDFs. Returns exact machine-readable strings with line-level text and optional bbox coordinates. Strong accuracy for CJK, small print, and handwritten text. Trigger terms: OCR, 文字识别, 图片转文字, 截图识字, 提取图中文字, 扫描识字, 识字…
pdf-processing
Extract text from PDFs, fill forms, and merge documents.
document-skills/pdf
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.