Skip to content
Back to skills

Ppt Compress

ASecurity

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.

  • 33 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
content-marketingpythonbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill ppt-compress --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ppt Compress?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ppt Compress
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-ppt-compress/badge)](https://www.skillsdirectory.com/skills/dvcrn-ppt-compress)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: 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 where large PPT files need to be shared or uploaded."
---

# 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:

```bash
python3 ~/clawd/skills/ppt-compress/scripts/compress.py <pptx_file_path> [output_directory]
```

## Examples

```bash
# 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`

Files in this skill

  • SKILL.md1.2 KB
  • scripts/compress.py7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…