pdf-shrinklisted
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