working-with-pdfs

working-with-pdfs is a skill for Claude Code from isvlasov/rageatc-oss. It costs 51 tokens per session (1,567 once invoked), scanned B, original, MIT.

A guide to reading, creating, changing, converting, combining, splitting, compressing, rotating, and inspecting PDF files.

In plain words
What is it for?
Use it for PDF text extraction, document creation, page manipulation, format conversion, compression, and metadata work on macOS, Linux, or WSL2.
Why use it?
It helps select an available PDF tool for each operation and provides fallbacks when a built-in PDF reader cannot handle a file.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the rageatc-code-oss plugin — 21 skills, 5 agents, 1 hook shipped together

Good fit Use it for PDF text extraction, document creation, page manipulation, format conversion, compression, and metadata work on macOS, Linux, or WSL2.

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

Made for: Claude Code.

Or install rageatc-code-oss, the plugin that ships this one along with the rest of its 21 skills, 5 agents, 1 hook.

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 working-with-pdfs

README.md
[![agentmods](https://agentmods.dev/badge/skills/isvlasov/rageatc-oss/working-with-pdfs/github.svg)](https://agentmods.dev/skills/isvlasov/rageatc-oss/working-with-pdfs)
Your own site
<a href="https://agentmods.dev/skills/isvlasov/rageatc-oss/working-with-pdfs"><img src="https://agentmods.dev/badge/skills/isvlasov/rageatc-oss/working-with-pdfs/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 working-with-pdfs

Your own site · 80×15
<a href="https://agentmods.dev/skills/isvlasov/rageatc-oss/working-with-pdfs"><img src="https://agentmods.dev/badge/skills/isvlasov/rageatc-oss/working-with-pdfs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,567 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.00051 $0.01567
Opus 5 $0.00026 $0.00783
Sonnet 5 $0.00010 $0.00313
Haiku 4.5 $0.00005 $0.00157

Measured 12d ago against content hash 688aee9168f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

working-with-pdfs 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 12d 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.

**Simple text extraction in shell scripts** → **poppler/pdftotext** (`brew install poppler` / `sudo apt install poppler-utils`). Fast; does not preserve layout.
plugins/rageatc-code-oss/skills/working-with-pdfs/SKILL.md · 91 lines

How it starts

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

Working with PDFs

Select the tool by operation category, detect what's installed before recommending anything, and keep a fallback ready. Covers macOS, Linux (Debian/Ubuntu), and WSL2; native Windows is out of scope.

Step 1 — Detect environment

# Python tools
python3 -c "import pypdf" 2>/dev/null && echo "pypdf: installed" || echo "pypdf: not found"
python3 -c "import fitz" 2>/dev/null && echo "PyMuPDF: installed" || echo "PyMuPDF: not found"
python3 -c "import pdfplumber" 2>/dev/null && echo "pdfplumber: installed" || echo "pdfplumber: not found"
python3 -c "import weasyprint" 2>/dev/null && echo "WeasyPrint: installed" || echo "WeasyPrint: not found"
python3 -c "import pikepdf" 2>/dev/null && echo "pikepdf: installed" || echo "pikepdf: not found"

# CLI tools
command -v qpdf >/dev/null 2>&1 && echo "qpdf: installed" || echo "qpdf: not found"
command -v pdftotext >/dev/null 2>&1 && echo "poppler: installed" || echo "poppler: not found"
command -v pandoc >/dev/null 2>&1 && echo "Pandoc: installed" || echo "Pandoc: not found"
command -v md-to-pdf >/dev/null 2>&1 && echo "md-to-pdf: installed" || echo "md-to-pdf: not found"

Step 2 — Categorise the operation

  • Reading/extraction — text, tables, metadata, images, PDF to plain text → Step 3A
  • Creation — markdown to PDF, generated documents → Step 3B
  • Modification — merge, split, rotate, compress, encrypt/decrypt, metadata, repair → Step 3C

Step 3A — Reading/extraction

Table extraction from clean, machine-generated PDFspdfplumber (pip install pdfplumber). Best table accuracy, visual debugging tool. No OCR — useless on scans.

Python, commercial use anticipatedpypdf (pip install pypdf) — the default recommendation. Pure Python, BSD licence, actively maintained. 10–20× slower than PyMuPDF at scale.

Highest performance, AGPL-compatible projectPyMuPDF (pip install PyMuPDF). Fastest extraction (~0.1s/document), full-featured. AGPL v3.0 — commercial use requires AGPL compliance or a commercial licence from Artifex; always flag this before recommending.

Read the full file on GitHub · 91 lines

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. 12d ago First seen · 91 lines · 51 tokens per session scan B 688aee9168f1

Subscribe to this mod's changes

working-with-pdfs is a skill published in the GitHub repository isvlasov/rageatc-oss (9 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 1,567 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

pdf-explore

Use this skill when the user has attached or pointed to a PDF, paper, report, or other document and the answer needs content from more than one place in it: summarize the methods or any other section, compare sections, find where a topic is discussed, read a value or label off a figure or chart, pull tables out as…

emaballarin/ccplugins · 264 tokens

jasper-deploy

Design, compile, and deploy JasperReports artifacts to JasperReports Server over REST v2. Use for scaffolding a report from SQL, generating or editing a JR7 .jrxml, compiling/deploying/verifying reports, composing dashboards, managing datasources, Domains, ad hoc views, OLAP/Mondrian, themes, input controls…

robertgorsuch/AI-JasperReports-Generator · 152 tokens

latex-engine

Activate when the user wants to export a completed paper draft to production-ready LaTeX (.tex) and PDF. Converts draft.md + references.bib + figures/ into a complete arxiv-style LaTeX project with properly resolved \citep/\citet citations, booktabs tables, figure environments, and compiled PDF output.

TobiasBlask/open-paper-machine · 69 tokens

paper-summary

A workflow that reads PDF research papers and creates two Korean HTML documents: a full translation and a key-point summary. Figures, tables, formulas, and graphs are included, with links between the documents.

zoo3323/paper-summary · 115 tokens

paper-summary-word

A Korean-language HTML glossary made from technical terms and abbreviations in PDF research papers or paper-summary results. bioRxiv is a website where scientists share research papers before formal peer review.

zoo3323/paper-summary · 135 tokens

paper-translation

Use when translating academic papers (PDF to Chinese Markdown), extracting PDFs with MinerU API, or needing to preserve LaTeX formulas/images/tables through a translation workflow.

APLaS-Plus/paper-translation · 37 tokens