← 返回 Skills 市场
1987566643

Media Compress

作者 1987566643 · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ 安全检测通过
181
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install media-compress
功能描述
Compress and convert images and videos using ffmpeg. Use when the user wants to reduce file size, change format, resize, or optimize media files. Handles com...
安全使用建议
This skill appears to be what it says: a local ffmpeg wrapper that compresses and converts media. Before installing or running: (1) confirm ffmpeg/ffprobe are installed from an official source, since the scripts call those binaries; (2) review the included scripts (they run ffmpeg via subprocess without shell interpolation, which reduces injection risk); (3) run first in preview mode (--preview) and test on a copy of files or a non-sensitive folder; (4) be aware backups are saved next to originals with a .backup suffix—ensure no name collisions; (5) note the registry metadata omitted declaring ffmpeg as a required binary (a documentation gap) — you should ensure the environment has ffmpeg/ffprobe available before use.
功能分析
Type: OpenClaw Skill Name: media-compress Version: 1.1.0 The media-compress skill is a legitimate tool for optimizing images and videos using ffmpeg. The Python scripts (scripts/compress_image.py and scripts/compress_video.py) use subprocess.run with argument lists to safely execute system commands, avoiding shell injection vulnerabilities. The skill includes helpful features like metadata stripping for privacy and batch processing, with no evidence of data exfiltration, malicious persistence, or harmful prompt injection instructions.
能力评估
Purpose & Capability
The skill name/description, SKILL.md, and the two included scripts all align: they compress/convert images and videos by invoking ffmpeg/ffprobe. One small inconsistency: the registry metadata lists no required binaries, but the SKILL.md and the scripts clearly require ffmpeg/ffprobe; the scripts check for ffmpeg at runtime. Requiring ffmpeg is expected for this purpose, so this is a metadata omission rather than a functional mismatch.
Instruction Scope
Runtime instructions and the scripts operate on user-specified files or directories, create optional backups in the same folder, and run ffmpeg/ffprobe via subprocess without shell=True. There are no instructions to read unrelated system configuration, access network services, or exfiltrate data. Preview mode only prints estimates. Behavior stays within the stated purpose.
Install Mechanism
No install spec (instruction-only) and included Python scripts are provided. Nothing downloads or executes code from remote URLs during install—lowest-risk install posture. The skill does require an external binary (ffmpeg) to be present, but that is standard and the scripts check for it.
Credentials
The skill does not request any environment variables, credentials, or config paths. That is appropriate for a local media-processing utility. There are no hidden references to environment secrets in the scripts.
Persistence & Privilege
The skill does not request persistent or elevated platform privileges (always:false), does not modify other skills or global agent configuration, and only writes files in user-specified input/output locations. No excessive persistence or privilege is requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install media-compress
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /media-compress 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Add preview mode and backup feature
v1.0.0
Initial release of media-compress: a skill for compressing and converting images and videos using ffmpeg. - Supports JPG, PNG, WebP, MP4, MOV, WebM, and more for both input and output. - Handles file size reduction, format conversion, resizing, and optimization for both single files and batch processing. - Includes detailed usage examples, parameter reference, and quality guidelines for both images and videos. - Requires ffmpeg installation on the system. - Provides troubleshooting tips and advanced usage recommendations.
元数据
Slug media-compress
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Media Compress 是什么?

Compress and convert images and videos using ffmpeg. Use when the user wants to reduce file size, change format, resize, or optimize media files. Handles com... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 181 次。

如何安装 Media Compress?

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

Media Compress 是免费的吗?

是的,Media Compress 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Media Compress 支持哪些平台?

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

谁开发了 Media Compress?

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

💬 留言讨论