ppt-compress
Compress PPT/PPTX file size. Decompress PPT, compress large images, repackage and convert to PDF to significantly reduce file size. Suitable for scenarios where large PPT files need to be shared or uploaded.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/accidwar/ppt-compressWhat This Skill Does
The ppt-compress skill is an advanced automation utility designed to optimize large presentation files by significantly reducing their memory footprint. It achieves this through a multi-stage pipeline: decompressing the PPTX archive, processing and shrinking high-resolution images that exceed 1MB, repackaging the assets back into a structured PPTX, and finally performing a high-fidelity conversion to PDF. By leveraging system-native tools like 'sips' for macOS and 'LibreOffice' for document rendering, this skill ensures that large, cumbersome files are transformed into slim, shareable, and professionally formatted documents suitable for email attachments, cloud storage uploads, or web delivery.
Installation
To integrate this skill into your OpenClaw environment, ensure you have Python 3 and LibreOffice installed on your machine. You can install LibreOffice via Homebrew using the command 'brew install libreoffice'. Once your dependencies are met, run the installation command provided by ClawHub: 'clawhub install openclaw/skills/skills/accidwar/ppt-compress'. This will pull the necessary scripts from the source repository, enabling the ability to trigger file compression directly via your CLI or AI agent commands.
Use Cases
This skill is perfect for professionals who handle heavy multimedia presentations containing high-resolution graphics, photographs, or embedded media that push file sizes beyond common email attachment limits (typically 25MB). It is also ideal for educators distributing large lecture materials, sales representatives preparing portable pitch decks, and students who need to submit projects while adhering to strict portal size limitations. Furthermore, converting to PDF ensures consistent visual rendering across different platforms and devices, making it a critical step for finalizing reports.
Example Prompts
- "OpenClaw, please compress the heavy presentation located at /Documents/Project_Alpha.pptx so I can send it via email."
- "Compress /Users/user/Downloads/Marketing_Slides.pptx and save the resulting PDF to the /Project_Finals folder."
- "Run the ppt-compress script on my project file in the current directory and optimize it for a 10MB limit."
Tips & Limitations
Note that this skill relies on LibreOffice for the final conversion step; ensure it is properly linked in your PATH. Because this tool strips non-essential metadata and downsamples large images, the visual quality of images may decrease if the compression ratio is set aggressively. It is recommended to keep a backup of your original high-resolution PPTX file before running this utility. For extremely complex animations or embedded macro-enabled objects, verify the output PDF to ensure all elements rendered as expected after the repackaging process.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-accidwar-ppt-compress": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution