Skip to content
Skillpedia
Video editing58k Β· #3238

quietshrink

What it does

This skill lets an AI agent compress video files on Apple Silicon Macs, especially screen recordings. It is for people who need to share large recordings in chat, email, or on GitHub.

When to use it

  • βœ“When you want a screen recording small enough to send in an email or chat.
  • βœ“When you need to compress a .mov or .mp4 file without a visible drop in quality.
  • βœ“When you want to check a video file's details before compressing it.

Skill link

https://github.com/HKUDS/CLI-Anything/blob/main/quietshrink/agent-harness/cli_anything/quietshrink/skills/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/HKUDS/CLI-Anything/blob/main/quietshrink/agent-harness/cli_anything/quietshrink/skills/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œI want to compress my screen recording so I can send it by email without losing quality.”

5 new skills a week. 1 minute to read.

How it works

The agent runs the compression tool, which uses the Mac's hardware video encoder to shrink the file. Quality presets control how much the file is reduced.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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 ffmpeg
  • hevc_videotoolbox not available β†’ brew reinstall ffmpeg
  • compression_failed β†’ check input file isn't corrupted; try --verbose mode to see ffmpeg errors

Source

FAQ

Does it work on any Mac?

The skill is made for Apple Silicon Macs, such as the M1 through M4 models, and gives its best results there.

Is it a good fit for camera videos?

Not really. The skill says savings are much smaller on camera footage, because there are fewer repeated frames to remove.

What quality options are there?

There are presets called tiny, transparent, and pristine, from the smallest file to the one closest to the original.

Details

Original description by the author

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

Popularity

GitHub stars
58k
Ranking position
#3238
License
Apache-2.0
Updated
9/21/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills