← Back to Skills Marketplace
accidwar

PPT Compressor

by accidwar · GitHub ↗ · v1.0.3
cross-platform ✓ Security Clean
527
Downloads
0
Stars
2
Active Installs
4
Versions
Install in OpenClaw
/install ppt-compress
Description
Compress PPT/PPTX file size. Decompress PPT, compress large images, repackage and convert to PDF to significantly reduce file size. Suitable for scenarios wh...
README (SKILL.md)

PPT压缩 / PPT Compression

将大型PPT/PPTX文件压缩为更小的PDF版本。 Compress large PPT/PPTX files into smaller PDF versions.

Workflow

  1. Decompress PPT - PPTX is essentially a ZIP, decompress to extract media files

  2. Compress Images - Use sips to compress images larger than 1MB

  3. Repackage - Repackage as PPTX

  4. Convert to PDF - Use LibreOffice to convert to PDF

Usage

Run the compression script:

python3 ~/clawd/skills/ppt-compress/scripts/compress.py \x3Cpptx_file_path> [output_directory]

Examples

# Compress PPT and convert to PDF
python3 ~/clawd/skills/ppt-compress/scripts/compress.py "/path/to/file.pptx"

# Specify output directory
python3 ~/clawd/skills/ppt-compress/scripts/compress.py "/path/to/file.pptx" "/Users/xxx/Downloads"

Dependencies

  • Python 3
  • sips (built-in to macOS)
  • LibreOffice (used for PDF conversion)

Install LibreOffice: brew install libreoffice

Usage Guidance
This skill is coherent and appears to do only local PPTX processing. Points to consider before installing: (1) It relies on macOS's sips for image compression and LibreOffice (soffice) for PDF conversion — ensure those are available or adjust the environment. (2) The script modifies images inside an extracted copy and repackages; the original PPTX is not overwritten, but always test on a copy of important files. (3) It runs subprocesses (sips/soffice) locally — if you run in an unfamiliar environment, do so in an isolated environment or inspect the script (already provided) before use. (4) The compression is image-focused (files >1MB) and results will vary; no network or credential use was found.
Capability Analysis
Type: OpenClaw Skill Name: ppt-compress Version: 1.0.3 The skill bundle is benign. The `SKILL.md` provides clear, non-malicious instructions for PPT compression and conversion. The `scripts/compress.py` script implements the described functionality using standard file operations and external tools (`sips`, `soffice`). It uses `subprocess.run` with a list of arguments, which is a secure method to execute external commands, mitigating shell injection risks. There is no evidence of data exfiltration, persistence, unauthorized network activity, or prompt injection attempts against the agent.
Capability Assessment
Purpose & Capability
Name/description (PPT compression) aligns with the included script and SKILL.md. The script extracts PPTX, compresses images, repacks, and calls LibreOffice to convert to PDF — exactly what the skill says it will do. Dependencies (sips, LibreOffice) are consistent with the stated workflow.
Instruction Scope
SKILL.md instructs only local operations required for the task: decompress PPTX, run sips to compress images, repackage, and convert with soffice. The script operates on the user-supplied file path and output directory and does not read unrelated files, environment variables, or contact external endpoints.
Install Mechanism
No install spec; the skill is instruction-only plus a local Python script. That is low-risk and proportionate. SKILL.md suggests installing LibreOffice via brew, which is reasonable and expected.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The script does not attempt to access secrets or unrelated system configs.
Persistence & Privilege
always is false, the skill does not request persistent system-wide changes, and it does not modify other skills or agent configuration. It performs only transient local file operations within a temporary directory and the user-specified output directory.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ppt-compress
  3. After installation, invoke the skill by name or use /ppt-compress
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.3
- Updated documentation to use English as the primary language with simplified, streamlined sections. - Removed duplicate bilingual descriptions and instructions for improved clarity. - Reformatted workflow and usage instructions for easier reading. - Dependency and example sections are now provided only in English.
v1.0.2
- Updated skill description to include both Chinese and English in a single line for better visibility. - No functional or workflow changes.
v1.0.1
- Added full English descriptions and instructions alongside Chinese, making the documentation fully bilingual. - No code changes; documentation update only.
v1.0.0
- Initial release of the ppt-compress skill. - Provides instructions for compressing PPT files. - Includes guidance on when and how to use the skill.
Metadata
Slug ppt-compress
Version 1.0.3
License
All-time Installs 2
Active Installs 2
Total Versions 4
Frequently Asked Questions

What is PPT Compressor?

Compress PPT/PPTX file size. Decompress PPT, compress large images, repackage and convert to PDF to significantly reduce file size. Suitable for scenarios wh... It is an AI Agent Skill for Claude Code / OpenClaw, with 527 downloads so far.

How do I install PPT Compressor?

Run "/install ppt-compress" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is PPT Compressor free?

Yes, PPT Compressor is completely free (open-source). You can download, install and use it at no cost.

Which platforms does PPT Compressor support?

PPT Compressor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created PPT Compressor?

It is built and maintained by accidwar (@accidwar); the current version is v1.0.3.

💬 Comments