New to Claude Skills? Learn how to install them →

hkuds on GitHub

Quietshrink

Free

Compress macOS videos silently and efficiently.

by hkuds46.9k stars on hkuds/cli-anything
1 views
Updated Aug 3, 2026
Get this skill

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 source

1. Install with the skills CLI

npx skills add hkuds/cli-anything/skills --agent claude-code

2. 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 hkuds

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

PresetqTypical reductionSSIMUse case
tiny50~90%~0.95Chat/email — small artifacts OK
balanced55~88%~0.99Docs/sharing — high quality
transparent (default)60~87%~0.99+Anything important — visually lossless
pristine70~84%~0.997Archival — 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 foundbrew install ffmpeg
  • hevc_videotoolbox not availablebrew reinstall ffmpeg
  • compression_failed → check input file isn't corrupted; try --verbose mode to see ffmpeg errors

Source

Frequently asked questions about Quietshrink

Similar skills