← ClaudeAtlas

pdf-shrinklisted

Shrink PDF files locally from a single file or folder using npm-only Node.js tooling. Use when the user wants to compress or reduce PDF file size with quality-first presets (minimal or optimal), batch-process a directory, or replace originals in place when the result is smaller. Do not use for text extraction (pdf-context), Markdown conversion (pdf-to-markdown), or image resizing (future image-ops).
singleton-sd/ai-plattform-skills · ★ 0 · Data & Documents · score 68
Install: claude install-skill singleton-sd/ai-plattform-skills
# PDF Shrink Shrink PDFs locally with quality-first presets. Files never leave the machine — no iLovePDF, no vert.sh, no Ghostscript OS installs. ## When to use - User wants to **reduce PDF file size** (single file or folder) - User mentions compress, shrink, optimize, or make PDFs smaller - Scanned statements, photo-heavy PDFs, or large attachments before archive/email - Pipeline or batch folder processing on Windows or macOS ## When NOT to use | Need | Use instead | | ---- | ----------- | | Rename/classify from PDF text | [`documents/pdf-content-renamer`](../pdf-content-renamer/SKILL.md) | | Extract text for AI / RAG | [`documents/pdf-to-markdown`](../pdf-to-markdown/SKILL.md) | | Resize or compress standalone images | future `image-ops` tool (phase 2) | ## Prerequisites - Node.js 20.19+ - Install [`@singleton-sd/ai-plattform-tools-pdf-shrink`](https://gitlab.com/singleton-sd/ai-plattform/tools/pdf-shrink/-/packages) (once per machine or project) ### Install from GitLab npm registry (recommended) The package is **public** — no GitLab token required. Point the `@singleton-sd` scope at the project registry (once per machine or project), in `.npmrc`: ```ini @singleton-sd:registry=https://gitlab.com/api/v4/projects/singleton-sd%2Fai-plattform%2Ftools%2Fpdf-shrink/packages/npm/ ``` Then install: ```bash npm install @singleton-sd/ai-plattform-tools-pdf-shrink ``` **One-off run** (no install; `.npmrc` scope line still required): ```bash npx @singleton-sd/ai-plattform