Compress pdf file
Compresses a given PDF file to reduce its size.
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 181 · 1 current installs · 1 all-time installs
by@upwell
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
The name/description (PDF compression) matches the code and dependencies (PyMuPDF, pydantic, loguru). The code only operates on a user-specified PDF path and produces a compressed output in the same directory.
Instruction Scope
SKILL.md and src/main.py limit actions to validating arguments, checking file existence, compressing the PDF, and printing a JSON result. There are no instructions to read other files, environment variables, or to send data to external endpoints.
Install Mechanism
There is no install spec in the registry metadata, but a pyproject.toml lists dependencies and SKILL.md's entrypoint uses the 'uv' tool ('uv run src/main.py'). This is operationally consistent but slightly inconsistent with the 'required binaries: none' metadata — the runtime assumes an execution environment that can install/supply dependencies (uv and Python packages). This is not a security issue but is an operational/incoherence note.
Credentials
The skill requests no environment variables, no credentials, and accesses only the PDF path provided by the user. There are no unrelated or excessive secret requests.
Persistence & Privilege
always is false and the skill does not request any elevated or persistent platform privileges. It does not modify other skills or global agent configuration.
Assessment
This skill appears to do exactly what it says: compress a PDF using PyMuPDF. Before installing: (1) ensure the execution environment can install the listed Python dependencies or provides 'uv' as SKILL.md expects; (2) run it on non-sensitive PDFs first to confirm compression behavior and output quality; (3) be aware the tool writes the compressed file next to the input file (so verify file system permissions and that overwrites are acceptable); (4) review dependency versions in pyproject.toml if your environment has strict supply-chain policies. No credentials or network endpoints are requested by the skill.Like a lobster shell, security has layers — review code before you run it.
Current versionv0.1.4
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
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.
Files
8 totalSelect a file
Select a file to preview.
Comments
Loading comments…
