
Quietshrink
FreeCompress macOS videos silently and efficiently.
Free · Opens the source repo
What Quietshrink does
Quietshrink is a command-line interface (CLI) tool designed specifically for macOS users with Apple Silicon (M1, M2, M3, M4) who need to compress video files such as screen recordings and screencasts. Utilizing the hardware HEVC encoder, Quietshrink offloads the compression process from the CPU, resulting in fast and silent encoding. This is particularly advantageous for users who want to maintain a quiet working environment while processing video files.
The tool is capable of achieving significant file size reductions, typically between 70% to 90%, while preserving visual quality. It provides several quality presets that cater to different use cases, from quick sharing via chat or email to high-quality archival needs. Users can easily select the desired level of compression based on their requirements, ensuring that they can share or store videos without sacrificing quality.
Quietshrink also includes useful commands for inspecting files before compression, verifying the environment, and listing available quality presets. The ability to output results in JSON format allows for easy integration with other tools or scripts, enhancing its utility in various workflows. This makes it an ideal choice for developers, educators, and content creators who frequently work with video content on macOS.
In summary, Quietshrink is a practical solution for anyone looking to efficiently compress video files on Apple Silicon Macs without the hassle of CPU strain or noticeable quality loss. Whether for personal use or professional projects, this tool streamlines the video compression process while keeping the system's performance intact.
When to use it
Use this tool when you need to compress .mov or .mp4 files on an Apple Silicon Mac, particularly for screen recordings that require minimal quality loss.
When not to use it
Avoid using Quietshrink for non-screen content like camera footage or vlogs, as the compression benefits will be significantly lower due to the lack of duplicate frames.
What you can build with it
Sharing Large Screen Recordings
Use Quietshrink to compress screen recordings before sharing them via email or chat, ensuring they are small enough to send without losing quality.
Archiving Important Videos
For important videos that need to be stored without significant quality loss, use the 'pristine' preset to maintain near-source quality while reducing file size.
Preparing Videos for Online Platforms
Quickly compress videos for uploading to online platforms, using the 'balanced' preset to achieve a good quality-to-size ratio.
How to install Quietshrink
View source1. Install with the skills CLI
npx skills add hkuds/cli-anything/skills --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by hkudsquietshrink — 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
Frequently asked questions about Quietshrink
Similar skills
PDFtk Server
Command-line tool for comprehensive PDF manipulation.
PDF Processing
Comprehensive tools for manipulating PDF files.
PDF Processing
Comprehensive tools for managing PDF files.
Mac Storage Cleaner
Reclaim disk space safely and transparently on macOS.
PDF Processing
Comprehensive tools for managing PDF files.
Screenshot Capture
Capture screenshots across different platforms easily.
