Search

PythonReactSEOPDF
OpenClaw

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.

accidwar0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install accidwar/ppt-compress

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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 <pptx_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

Source information

Source
github
Repository
openclaw/skills
Path
skills/accidwar/ppt-compress
Version
—
Commit
569958de3d30a15c43746910da8dad272e9d44d8
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

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:

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

Related skills

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.