/cli-anything-quietshrink
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.
$ npx -y skills add HKUDS/CLI-Anything --skill cli-anything-quietshrink --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/cli-anything-quietshrink
Context preview
The summary Claude sees to decide when to auto-load this skill.
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.
SKILL.md
cli-anything-quietshrink.SKILL.mdname: "cli-anything-quietshrink"
description: 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.
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
- Main repo: https://github.com/achiya-automation/quietshrink
- Bash CLI: `quietshrink` command (via the install script)
- Why this approach works: see [WHY.md](https://github.com/achiya-automation/quietshrink/blob/main/WHY.md)
Read more
name: "cli-anything-quietshrink" description: 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.
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
- Main repo: https://github.com/achiya-automation/quietshrink
- Bash CLI: `quietshrink` command (via the install script)
- Why this approach works: see [WHY.md](https://github.com/achiya-automation/quietshrink/blob/main/WHY.md)
"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/
Repo: HKUDS/CLI-Anything
Other skills on cli-anything.
- /cli-anything-firefly-iii
Firefly III CLI - Personal finance management via CLI-Anything
Open skill - /cli-anything-openrefine
Use OpenRefine through an agent-native CLI for importing messy data, applying JSON operation histories, inspecting rows, exporting cleaned data, and managing session undo/redo.
Open skill - /cli-anything-adguardhome
Command-line interface for AdGuard Home - Network-wide ad blocking and DNS management via AdGuard Home REST API. Designed for AI agents and power users who need to manage filtering, DNS rewrites, clients, DHCP, and query logs without a GUI.
Open skill - /cli-anything-anygen
Command-line interface for Anygen - A stateful command-line interface for AnyGen OpenAPI — generate professional slides, documents, webs...
Open skill - /cli-anything-audacity
Command-line interface for Audacity - A stateful command-line interface for audio editing, following the same patterns as the GIMP and Ble...
Open skill - /cli-anything-blender
Command-line interface for Blender - A stateful command-line interface for 3D scene editing, following the same patterns as the GIMP CLI ...
Open skill

