技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.3
统计:⭐ 0 · 263 · 1次当前安装· 1次历史安装
⭐ 0
安装量(当前) 1
🛡 VirusTotal :良性 · OpenClaw :良性
Package:accidwar/ppt-compress
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill's code and instructions match its stated purpose (compress PPTX by reducing embedded image sizes and converting to PDF); it requests no credentials, installs nothing itself, and contains no network or secret-exfiltration behavior.
目的
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.
说明范围
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.
安装机制
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.
证书
The skill requests no environment variables, no credentials, and no config paths. The script does not attempt to access secrets or unrelated system configs.
持久
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.
综合结论
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/…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「PPT Compressor」。简介:Compress PPT/PPTX file size. Decompress PPT, compress large images, repackage a…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/accidwar/ppt-compress/SKILL.md
(来源:yingzhi8.cn 技能库)
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`