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 skills add besoeasy/open-skills --skill pdf-manipulationgit clone --depth 1 https://github.com/besoeasy/open-skillsWrote 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/besoeasy/open-skills/pdf-manipulation)<a href="https://agentmods.dev/skills/besoeasy/open-skills/pdf-manipulation"><img src="https://agentmods.dev/badge/skills/besoeasy/open-skills/pdf-manipulation/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.
<a href="https://agentmods.dev/skills/besoeasy/open-skills/pdf-manipulation"><img src="https://agentmods.dev/badge/skills/besoeasy/open-skills/pdf-manipulation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Privilege Escalation · line 27 Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
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.1 | $0.00024 | $0.02590 |
| Opus 5.5 | $0.00010 | $0.01036 |
| Sonnet 5.5 | $0.00005 | $0.00518 |
| Haiku 4.5 | $0.00002 | $0.00259 |
Grade B, and why
pdf-manipulation 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 3mo 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.
sudo apt-get install pdftk qpdf poppler-utils ghostscript How it starts
The opening of the file, as written. The whole thing — 354 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDF Manipulation Skill
Merge, split, extract, redact, and transform PDF files using free command-line tools and libraries. Covers common PDF operations for document automation workflows.
When to use
- Merge multiple PDFs into one document
- Split large PDFs into separate files or page ranges
- Extract text, images, or specific pages
- Redact sensitive information
- Add watermarks, passwords, or metadata
- Convert PDFs to images or other formats
Required tools
- pdftk — Swiss Army knife for PDF manipulation (merge, split, rotate, encrypt)
- qpdf — PDF transformation and encryption (linearize, decrypt, repair)
- pdftotext / pdfimages — Part of poppler-utils (extract text and images)
- ghostscript (gs) — Advanced PDF processing, compression, and conversion
Installation
# Ubuntu/Debian
sudo apt-get install pdftk qpdf poppler-utils ghostscript
# macOS (Homebrew)
brew install pdftk-java qpdf poppler ghostscript
# For Node.js: npm i pdf-lib (pure JS, no system deps)
# For Python: pip install PyPDF2 pypdf
Skills
Merge PDFs
# Using pdftk (preserves bookmarks, forms)
pdftk file1.pdf file2.pdf file3.pdf cat output merged.pdf
# Using ghostscript (better compression)
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=merged.pdf file1.pdf file2.pdf file3.pdf
# Using qpdf (preserves structure)
qpdf --empty --pages file1.pdf file2.pdf file3.pdf -- merged.pdf
Node.js (pdf-lib):
const { PDFDocument } = require('pdf-lib');
const fs = require('fs');
async function mergePDFs(files, output) {
const mergedPdf = await PDFDocument.create();
for (const file of files) {
const pdfBytes = fs.readFileSync(file);
const pdf = await PDFDocument.load(pdfBytes);
const pages = await mergedPdf.copyPages(pdf, pdf.getPageIndices());
pages.forEach(page => mergedPdf.addPage(page));
}
const mergedBytes = await mergedPdf.save();
fs.writeFileSync(output, mergedBytes);
}
// mergePDFs(['file1.pdf', 'file2.pdf'], 'merged.pdf');
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.
- 3mo ago First seen · 354 lines · 24 tokens per session scan B 2496285c8cd1
pdf-manipulation is a skill published in the GitHub repository besoeasy/open-skills (132 stars, last pushed 2mo ago), licensed MIT. It adds 24 tokens to every session and 2,590 once invoked, about $0.0001 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-30.
pdf-manipulation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pdf-manipulationbesoeasy/open-skills | Skill | 132 | 2mo ago | MIT | B | 24 | Claude Code, Codex |
| chat-complex-documentsvellum-ai/vellum-assistant | Skill | 1.5k | yesterday | MIT | A | 90 | Claude Code, Codex |
| pdfAstrBotDevs/AstrBot | Skill | 48k | today | AGPL-3.0 | A | 45 | Claude Code, Codex |
| moai-docs-generationmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 56 | Claude Code |
| nutrient-openclawjdrhyne/agent-skills | Skill | 239 | 2d ago | MIT | A | 77 | Claude Code, Codex |
| elegant-reportsjdrhyne/agent-skills | Skill | 239 | 2d ago | MIT | A | 46 | Claude Code, Codex |
| pdfIceWhaleTech/ZimaOS-Blue | Skill | 31 | today | MIT | A | 37 | Claude Code, Codex |