← 返回 Skills 市场
accidwar

PPT Compressor

作者 accidwar · GitHub ↗ · v1.0.3
cross-platform ✓ 安全检测通过
527
总下载
0
收藏
2
当前安装
4
版本数
在 OpenClaw 中安装
/install 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 wh...
使用说明 (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

安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ppt-compress
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ppt-compress 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug ppt-compress
版本 1.0.3
许可证
累计安装 2
当前安装数 2
历史版本数 4
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 527 次。

如何安装 PPT Compressor?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ppt-compress」即可一键安装,无需额外配置。

PPT Compressor 是免费的吗?

是的,PPT Compressor 完全免费(开源免费),可自由下载、安装和使用。

PPT Compressor 支持哪些平台?

PPT Compressor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 PPT Compressor?

由 accidwar(@accidwar)开发并维护,当前版本 v1.0.3。

💬 留言讨论