
Quietshrink
FreeEffortlessly compress video files on macOS with zero CPU load.
Free · Opens the source repo
What Quietshrink does
Quietshrink is a command-line interface (CLI) tool designed specifically for compressing video files on macOS devices equipped with Apple Silicon. By utilizing the hardware HEVC encoder available on M1, M2, M3, and M4 chips, Quietshrink enables users to reduce the file size of screen recordings and other video files significantly—typically by 70-90%—while maintaining visually lossless quality. This means you can share large video files without the usual performance overhead or noise from CPU-intensive processing.
The tool is particularly useful for users who frequently create screen recordings, such as educators, developers, or content creators, and need to share these files via email, chat, or platforms like GitHub. With Quietshrink, you can choose from various quality presets depending on your needs, whether you require a tiny file size for quick sharing or near-source quality for archival purposes. The CLI commands are straightforward, allowing you to compress files efficiently without needing to navigate complex interfaces.
Before compressing, users can inspect their video files with the probe command to understand their properties, such as resolution and codec. Additionally, the doctor command ensures that your environment is set up correctly for optimal performance. This makes Quietshrink not only a powerful tool but also user-friendly for those familiar with the command line.
However, it's important to note that Quietshrink is optimized for screen content. Users looking to compress non-screen footage, such as vlogs or camera recordings, may not see the same level of file size reduction, as these types of videos typically lack the duplicate frames that the HEVC encoder can efficiently compress. Therefore, while Quietshrink excels in specific scenarios, it may not be the best choice for all video compression needs.
When to use it
Use Quietshrink when you need to compress screen recordings or .mov/.mp4 files on an Apple Silicon Mac without sacrificing visual quality.
When not to use it
Avoid using Quietshrink for compressing non-screen content like camera footage, as the compression benefits will be minimal.
What you can build with it
Compressing a Screen Recording for Email
You have a large screen recording that needs to be sent via email. Using the 'tiny' preset, you can significantly reduce the file size while accepting minor artifacts.
Preparing Videos for Documentation
You need to share a screen recording in a documentation file. Using the 'transparent' preset ensures the video quality remains visually lossless.
Archiving Important Videos
For archival purposes, you want to keep the highest quality possible. The 'pristine' preset allows you to compress the video while maintaining near-source quality.
How to install Quietshrink
View source1. Install with the skills CLI
npx skills add hkuds/cli-anything/cli-anything-quietshrink --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.
