quietshrink
Skill này làm gì
Skill này giúp agent AI nén file video trên Mac Apple Silicon, đặc biệt là bản ghi màn hình. Skill dành cho người cần chia sẻ các bản ghi lớn qua chat, email hoặc GitHub.
Khi nào nên dùng
- ✓Khi bạn muốn bản ghi màn hình đủ nhỏ để gửi qua email hoặc chat.
- ✓Khi bạn cần nén một file .mov hoặc .mp4 mà không thấy giảm chất lượng rõ rệt.
- ✓Khi bạn muốn kiểm tra chi tiết của file video trước khi nén.
Liên kết skill
https://github.com/HKUDS/CLI-Anything/blob/main/quietshrink/agent-harness/cli_anything/quietshrink/skills/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn nén bản ghi màn hình của mình để gửi qua email mà không làm giảm chất lượng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chạy công cụ nén, dùng bộ mã hóa video phần cứng của Mac để thu nhỏ file. Các preset chất lượng quyết định mức độ thu nhỏ của file.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
quietshrink — Agent Skill
You have access to cli-anything-quietshrink, a CLI for compressing video files on macOS Apple Silicon. It uses the Media Engine (hardware HEVC encoder), not the CPU, so encoding is fast and silent.
When to use it
- User wants to compress a screen recording, screencast, or any .mov/.mp4 file
- File is too large to share (chat, email, GitHub)
- Need smaller files but cannot tolerate visible quality loss
- Apple Silicon Mac (M1/M2/M3/M4) — best results
Don't use this on non-screen content (camera footage, vlogs) — savings will be much smaller because there are no duplicate frames to drop.
Commands
# Compress with default transparent quality
cli-anything-quietshrink compress <input> [output]
# Compress with specific preset
cli-anything-quietshrink compress -q tiny <input> # smallest
cli-anything-quietshrink compress -q transparent <input> # default, visually lossless
cli-anything-quietshrink compress -q pristine <input> # near-source quality
# Inspect a file before compressing
cli-anything-quietshrink probe <input>
# List quality presets
cli-anything-quietshrink presets
# Verify environment
cli-anything-quietshrink doctor
All commands accept --json for machine-readable output.
Quality presets
| Preset | q | Typical reduction | SSIM | Use case |
|---|---|---|---|---|
tiny |
50 | ~90% | ~0.95 | Chat/email — small artifacts OK |
balanced |
55 | ~88% | ~0.99 | Docs/sharing — high quality |
transparent (default) |
60 | ~87% | ~0.99+ | Anything important — visually lossless |
pristine |
70 | ~84% | ~0.997 | Archival — near-source |
JSON output schema
compress returns:
{
"input": "/path/to/input.mov",
"output": "/path/to/output.mov",
"input_size": 105952129,
"output_size": 12345678,
"saved_bytes": 93606451,
"saved_percent": 88.3,
"duration_seconds": 193.3,
"elapsed_seconds": 87,
"encoding_speed": "2.2x",
"quality_preset": "transparent",
"q_value": 60,
"gop": 600
}
probe returns:
{
"path": "...",
"size_bytes": 105952129,
"size_mb": 101.04,
"codec": "h264",
"width": 3024,
"height": 1964,
"framerate": "120/1",
"duration_seconds": 193.31
}
Decision flow for agents
User wants to share a recording
├─ Is it on Apple Silicon Mac? → use quietshrink
│ ├─ For chat/email/quick share → -q tiny
│ ├─ For docs/important sharing → -q transparent (default)
│ └─ For archival/editing → -q pristine
└─ Not on Mac? → falls back to software, less efficient
Before processing, run doctor to verify environment.
For unfamiliar files, run probe to understand resolution/codec/duration.
Errors and recovery
ffmpeg not found→brew install ffmpeghevc_videotoolbox not available→brew reinstall ffmpegcompression_failed→ check input file isn't corrupted; try--verbosemode to see ffmpeg errors
Source
- Main repo: https://github.com/achiya-automation/quietshrink
- Bash CLI:
quietshrinkcommand (via the install script) - Why this approach works: see WHY.md
Câu hỏi thường gặp
Nó có chạy trên mọi Mac không?
Skill được làm cho Mac Apple Silicon, như các dòng M1 đến M4, và cho kết quả tốt nhất trên các máy này.
Nó có phù hợp với video quay bằng máy ảnh không?
Không hẳn. Skill cho biết mức tiết kiệm nhỏ hơn nhiều với video quay thật, vì có ít khung hình lặp lại để loại bỏ hơn.
Có những tùy chọn chất lượng nào?
Có các preset tên là tiny, transparent và pristine, từ file nhỏ nhất đến file gần nhất với bản gốc.
Chi tiết
Mô tả gốc của tác giả
Compress macOS screen recordings with zero CPU stress using Apple Silicon's hardware HEVC encoder. Typically reduces file size 70-90% while staying visually lossless. Computer stays silent during encoding.
repo: HKUDS/CLI-Anything
Độ phổ biến
- Sao GitHub
- 58k
- Vị trí xếp hạng
- #3238
- Giấy phép
- Apache-2.0
- Cập nhật
- 21/9/2026
Bình luận
- …
Thêm skill từ kho mã này
cli-anything-3mf
58kCho phép agent của bạn kiểm tra và sửa file in 3D, gồm tìm lỗ tròn, đổi kích thước chúng, sửa lưới và so sánh hai file.
cli-anything-qgis
58kCho phép agent của bạn mở, sửa và xuất dự án bản đồ QGIS từ terminal, gồm các lớp, đối tượng, bố cục in và công cụ xử lý.
cli-anything-adguardhome
58kCho phép agent của bạn quản lý AdGuard Home, một bộ chặn quảng cáo toàn mạng, gồm bộ lọc, DNS rewrite, thiết bị và nhật ký truy vấn.
cli-anything-anygen
58kCho phép agent của bạn tạo slide, tài liệu, website và sơ đồ từ một prompt bằng dịch vụ AnyGen.
Skill tương tự
taste-application
280kGiúp agent tạo video theo phong cách cụ thể: sao chép nhịp dựng từ video mẫu, tạo cảnh mới, chỉnh màu và ghép với các đoạn có sẵn.
taste-distillation
280kGiúp agent phân tích video để tạo style pack gồm màu sắc, nhịp cắt và yếu tố hình ảnh, tái sử dụng để tạo video mới cùng phong cách.
ui-demo
280kGiúp agent ghi lại video demo giao diện chỉn chu. Hữu ích để tạo hướng dẫn hoặc cho thấy một ứng dụng web hoạt động ra sao.