Compress pdf file
VerifiedCompresses a given PDF file to reduce its size.
77
Install
Claude Code
Add to .claude/skills/ About This Skill
# PDF Compressor Skill
This skill is designed to compress a PDF file to reduce its size using standard optimization parameters. It is powered by PyMuPDF and offers three tunable compression levels depending on the user's needs.
Usage Guide When using this skill to compress a PDF, you should provide the `pdf_path` (absolute path to the target PDF) and optionally the `compression_level` (from 1 to 3). The skill will return the output path of the newly created compressed PDF.
- Level 1 (Low): Basic compression, fastest.
- Level 2 (Medium): Optimized compression, balanced speed and file size reduction (Default).
- Level 3 (High): Deep optimization for maximum file size reduction.
Use Cases
- Compress PDF files to reduce file size using three configurable compression levels
- Optimize PDFs for email attachments or web uploads where file size matters
- Batch-compress large PDF collections with consistent quality settings
- Quickly reduce PDF size with Level 1 for speed or Level 3 for maximum compression
- Prepare documents for sharing by minimizing storage and transfer costs
Pros & Cons
Pros
- + Simple interface — just provide a file path and optional compression level
- + Three compression levels give control over the speed-vs-size tradeoff
- + Powered by PyMuPDF, a well-established PDF processing library
Cons
- - Requires PyMuPDF to be installed on the system
- - No preview of compression results before committing — output is a new file
Frequently Asked Questions
What does Compress pdf file do?
Compresses a given PDF file to reduce its size.
What platforms support Compress pdf file?
Compress pdf file is available on Claude Code, OpenClaw.
What are the use cases for Compress pdf file?
Compress PDF files to reduce file size using three configurable compression levels. Optimize PDFs for email attachments or web uploads where file size matters. Batch-compress large PDF collections with consistent quality settings.
Stay Updated on Agent Skills
Get weekly curated skills + safety alerts