← Back to Skills Marketplace
336
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install pdf-compressor
Description
Compresses a given PDF file to reduce its size.
Usage Guidance
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.
Capability Analysis
Type: OpenClaw Skill
Name: pdf-compressor
Version: 0.1.4
The skill bundle is a legitimate PDF compression utility that uses the PyMuPDF (fitz) library to reduce file sizes. The code implements standard optimization techniques such as font subsetting, image resampling, and metadata scrubbing, with input validation handled via Pydantic (src/models.py) and safe path generation using UUIDs (src/utils.py). No indicators of data exfiltration, malicious execution, or prompt injection were found.
Capability Assessment
Purpose & 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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pdf-compressor - After installation, invoke the skill by name or use
/pdf-compressor - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.4
- Initial public release.
- Compresses PDF files using three selectable compression levels (Low, Medium, High).
- Requires the absolute path to the PDF file as input.
- Returns compression success status, compressed file path, and size details in JSON format.
Metadata
Frequently Asked Questions
What is Compress pdf file?
Compresses a given PDF file to reduce its size. It is an AI Agent Skill for Claude Code / OpenClaw, with 336 downloads so far.
How do I install Compress pdf file?
Run "/install pdf-compressor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Compress pdf file free?
Yes, Compress pdf file is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Compress pdf file support?
Compress pdf file is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Compress pdf file?
It is built and maintained by upwell (@upwell); the current version is v0.1.4.
More Skills