← Back to Skills Marketplace
74
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ppt-compressor
Description
压缩 PPTX 演示文稿文件体积。通过压缩内嵌图片和视频、清理冗余数据、优化 ZIP 打包等手段显著减小 .pptx 文件大小。支持 low/medium/high/extreme 四档压缩级别。视频压缩依赖 ffmpeg。当用户需要压缩 PPT、减小演示文稿体积、优化 PPTX 文件大小时使用。
Usage Guidance
这个技能看起来内部一致、实现与描述相符:它在本地解包 .pptx、处理嵌入的图片和(可选)视频,然后重新打包。建议在安装/运行前注意:
- 仅在信任来源或在隔离环境(例如临时虚拟环境或容器)中运行此脚本;仓库来源显示为 unknown。
- 在对重要文件操作前先备份原始 PPTX(脚本会覆盖或另存为输出文件)。
- 按需安装依赖:pip install -r requirements.txt(Pillow);若要启用视频压缩需在系统上安装 ffmpeg(SKILL.md 提供安装指引)。
- 脚本通过 subprocess 调用本地 ffmpeg 来转码视频,这在视频压缩场景中是预期行为,但请确保系统上的 ffmpeg 为可信版本。
- 如果你关心隐私/合规性:处理在本机进行,没有发现将数据上传到外部服务器的代码,但如果你需要额外保证,可手动审阅 scripts/compress.py 完整内容并在受控环境中测试样本文件。
Capability Analysis
Type: OpenClaw Skill
Name: ppt-compressor
Version: 1.0.0
The ppt-compressor skill is a legitimate utility for reducing the file size of PowerPoint presentations by re-encoding embedded images (using Pillow) and videos (using ffmpeg). The code in scripts/compress.py safely handles subprocess calls using argument lists to prevent shell injection, uses temporary directories for processing, and correctly updates internal PPTX XML references when file formats change. No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
技能名称/描述(压缩 PPTX)与包含的脚本一致。所需依赖仅为 Pillow(图片处理),视频压缩使用 ffmpeg(可选),这些都是合理且与目的直接相关的依赖。
Instruction Scope
SKILL.md 明确指示运行本地脚本并解释参数、压缩级别与 ffmpeg 依赖;脚本操作集中在解包/处理 pptx 内的媒体并重新打包,未读取或发送系统范围内的凭据、配置或外部端点。
Install Mechanism
无自动安装规范(instruction-only 安装),但仓库包含可执行脚本和 requirements.txt(Pillow)。这意味着用户需手动安装依赖(pip install Pillow)并可选安装 ffmpeg;没有从不可信 URL 下载或解包远程二进制的行为。
Credentials
不要求任何环境变量、密钥或配置路径;脚本不会尝试访问或读取外部凭据,所需权限与其任务(读写本地 PPTX 文件、创建临时文件、调用 ffmpeg)相称。
Persistence & Privilege
技能没有请求常驻(always)权限或修改其它技能/系统范围配置;脚本为按需运行的本地工具,不会在系统中持续驻留或自我启用。
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ppt-compressor - After installation, invoke the skill by name or use
/ppt-compressor - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of ppt-compressor skill.
- Compresses PPTX files by optimizing embedded images and videos, cleaning metadata, and repackaging.
- Supports four compression levels: low, medium, high, and extreme.
- Image compression uses Pillow; optional video compression uses ffmpeg.
- Provides detailed CLI options for customizing compression settings.
- Offers ffmpeg installation instructions for users without it installed.
Metadata
Frequently Asked Questions
What is PPT压缩?
压缩 PPTX 演示文稿文件体积。通过压缩内嵌图片和视频、清理冗余数据、优化 ZIP 打包等手段显著减小 .pptx 文件大小。支持 low/medium/high/extreme 四档压缩级别。视频压缩依赖 ffmpeg。当用户需要压缩 PPT、减小演示文稿体积、优化 PPTX 文件大小时使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 74 downloads so far.
How do I install PPT压缩?
Run "/install ppt-compressor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is PPT压缩 free?
Yes, PPT压缩 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does PPT压缩 support?
PPT压缩 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created PPT压缩?
It is built and maintained by uv0xab (@liyifm); the current version is v1.0.0.
More Skills