video-compressor SKILL.md skillA
video-compressor from cat-xierluo/legal-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cat-xierluo/legal-skills/video-compressor@v1.5.2Pins v1.5.2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cat-xierluo/legal-skills
- Path
skills/video-compressor/SKILL.md- Versions recorded
- 5
- Latest version
- v1.5.2, committed Oct 13, 2026
- First version recorded
- May 1, 2026
- Size
- 11,165 bytes
- Repository stars
- 775
- License
- none declared
视频压缩与静默片段剪切工具。使用 FFmpeg CRF 模式压缩视频,适配屏幕录制/课件场景;支持检测并去除静默静止片段。自动检测硬件与源码率并选择最优编码方案(高码率源走 VideoToolbox 硬件加速,低码率录屏自动改用 x264 CRF 自适应编码)。本技能应在用户需要压缩视频、减小视频大小、去除视频空档时使用。不要用于:视频剪辑、音频提取、格式转换。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# video-compressor — 视频压缩工具 使用 FFmpeg 将视频文件压缩为低比特率 MP4,减小文件体积的同时保留清晰的音频。自动检测硬件并选择最优编码方案(Apple Silicon 默认使用 VideoToolbox 硬件加速)。 ## 适用场景 - 视频文件过大,只需保留音频信息,视频画面作为辅助参考 - 批量压缩目录下多个视频文件 - 降低视频比特率以节省存储空间 - 去除视频中间的静默静止片段(如休息时间、黑屏、无声空档),同时保留被剪片段供复查 ## 功能模式 本技能支持两种工作模式: ### 模式一:压缩(默认) 将视频压缩为低比特率 MP4,减小文件体积。 ### 模式二:静默/静止片段剪切 检测并去除视频中**同时满足**以下条件的片段: 1. **音频静默**(无声) 2. **画面静止**(连续帧几乎无变化,如休息时无操作、黑屏) 适用于:课程录制中途休息、会议室无人时的静默等待等无效内容。 ## 默认工作流(压缩模式) ### 1. 确认输入 确认用户提供的文件路径或目录路径。支持以下视频格式: `.mp4` `.mov` `.avi` `.mkv` `.webm` `.flv` `.wmv` `.ts` ### 2. 确认参数 默认配置(大多数场景无需调整): | 参数 | 默认值 | 说明 | |------|--------|------| | CRF 质量值 | 23 | 自适应质量,越小质量越高(仅软件编码) | | 最大码率 | 2500k | VBV 码率上限 | | 音频比特率 | 96k | AAC 语音音质 | | 编码预设 | veryfast | 速度与压缩比平衡(仅软件编码) | | 编码器 | 自动检测 | Apple Silicon 默认 HEVC VT,其他 x264 | | 并发线程 | 自动 | VideoToolbox 默认 1(共享硬件编码器,多并发反而慢),软件编码默认 ≤8 | | 输出后缀 | `_compressed` | 输出文件名后缀 | 详细配置说明见 `references/config.md`。 ### 3. 执行压缩 ```bash # 单个文件 python3 scripts/compress.py -i <文件路径> # 多个文件(并发压缩) python3 scripts/compress.py -i <文件1> <文件2> <文件3> # 整个目录 python3 scripts/compress.py -i <目录路径> # 混合:文件 + 目录 python3 scripts/compress.py -i <文件1> <目录路径> <文件2> ``` 指定自定义参数: ```bash …
Read the whole file at its exact version.
How to install
mdr add cat-xierluo/legal-skills/video-compressor@sha256:d4bd4d7a0b6fdcaaThe line at the top of this page pins the label v1.5.2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_gw3dxypu4m64vefm)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 1, 2026 and Oct 13, 2026, about one every 41 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.5.2 latest | 2026-10-13 | 8a0c4e4 | 11,165 B | A | view · diff |
| v1.5.2 | 2026-09-23 | c76f33f | 10,319 B | A | view · diff |
| v1.5.0 | 2026-09-16 | cba91dd | 10,327 B | A | view · diff |
| git:20260824.ef4610d | 2026-08-24 | ef4610d | 9,227 B | A | view · diff |
| git:20260501.3530527 | 2026-05-01 | 3530527 | 7,602 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (11165 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
cat-xierluo/legal-skills · 775 stars · license none declared · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_gw3dxypu4m64vefm GET https://markdownregistry.com/api/v1/resolve?ref=cat-xierluo/legal-skills/video-compressor GET https://markdownregistry.com/api/v1/blob/d4bd4d7a0b6fdcaaf22917af9655fd168787c49ed43ef876f89307595a640511
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.