quietshrink
できること
このスキルは、AIエージェントがApple Silicon搭載のMacで動画ファイルを圧縮できるようにします。特に画面録画が対象です。大きな録画をチャット、メール、GitHubで共有したい人向けです。
使う場面
- ✓メールやチャットで送れるくらい、画面録画を小さくしたいとき。
- ✓.movや.mp4ファイルを、画質が目立って落ちないように圧縮したいとき。
- ✓圧縮の前に、動画ファイルの詳細を確認したいとき。
スキルのリンク
https://github.com/HKUDS/CLI-Anything/blob/main/quietshrink/agent-harness/cli_anything/quietshrink/skills/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“画面録画を圧縮して、画質を落とさずにメールで送れるようにしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは圧縮ツールを実行します。このツールはMacのハードウェア動画エンコーダーを使ってファイルを縮小します。品質のプリセットで、縮小の度合いを調整します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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 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
よくある質問
どのMacでも使えますか?
このスキルはApple Silicon搭載のMac、たとえばM1からM4のモデル向けで、そこで最も良い結果が得られます。
カメラで撮った動画にも向いていますか?
あまり向いていません。スキルの説明では、カメラの映像は繰り返されるフレームが少ないため、削減量がずっと小さくなるとされています。
どの画質の選択肢がありますか?
tiny、transparent、pristineというプリセットがあり、最も小さいものから元に最も近いものまで選べます。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 58k
- ランキング
- #3238
- ライセンス
- Apache-2.0
- 更新日
- 2026/9/21
コメント
- …
このリポジトリの他のスキル
cli-anything-3mf
58kエージェントが3Dプリントのファイルを調べて直せるようにします。丸い穴を見つける、そのサイズを変える、メッシュを修復する、2つのファイルを比べることができます。
cli-anything-qgis
58kエージェントがターミナルからQGISのマッププロジェクトを開き、編集し、書き出せるようにします。レイヤー、フィーチャー、印刷レイアウト、処理ツールを含みます。
cli-anything-adguardhome
58kエージェントがAdGuard Homeを管理できるようにします。AdGuard Homeはネットワーク全体で広告を遮断するツールで、フィルター、DNSの書き換え、クライアント、クエリのログを扱います。
cli-anything-anygen
58kエージェントが、AnyGenのサービスを使って、書かれたプロンプトからスライド、文書、ウェブサイト、図を生成できるようにします。
似ているスキル
taste-application
280kエージェントが、特定のスタイルの動画を作成するのを助けます。参考動画の編集のリズムを真似したり、新しいシーンを生成したり、色味を調整したりして、他の素材と合わせて編集できます。
taste-distillation
280kエージェントが動画を分析して、スタイルパックを作成できるようにします。色味、カットのリズム、ビジュアル要素などを含み、同じ雰囲気の新しい動画を作るときに再利用できます。
ui-demo
280kエージェントに、洗練されたUIのデモ動画を録画させます。チュートリアルの作成や、Webアプリの動作の紹介に役立ちます。