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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ppt-compress" with this command: npx skills add accidwar/ppt-compress

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 Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Sendflare

通过 Sendflare SDK 发送带附件的电子邮件,管理联系人列表,支持 CC/BCC 和安全 API 认证。

Registry SourceRecently Updated
General

Playtomic - Book courts using padel-tui

This skill should be used when the user asks to "book a padel court", "find available padel courts", "search padel courts near me", "reserve a Playtomic cour...

Registry SourceRecently Updated
General

Fund Keeper

国内场外基金智能顾问 + 股票行情查询。实时估值、买卖建议、收益统计、定投计划、OCR 识图、股票 - 基金联动。支持离线模式、多数据源缓存。

Registry SourceRecently Updated