unix-media-compressor

Compress images, video, audio, PDFs, and archives on macOS and Linux.

1|1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/tankpkg/skills --skill unix-media-compressor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unix-media-compressor
Source: https://github.com/tankpkg/skills/tree/main/skills/unix-media-compressor
Command: npx skills add https://github.com/tankpkg/skills --skill unix-media-compressor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you reduce the file size of various media types and archives on macOS and Linux systems, making them easier to store, share, and transfer.

Core Features & Use Cases

  • Multi-Format Compression: Optimizes images (JPEG, PNG, WebP, AVIF, GIF), video, audio, PDFs, and archives (zip, tar, 7z, zstd, brotli).
  • Intelligent Tool Selection: Automatically detects and utilizes the best available compression tools for each file type.
  • Batch Processing: Compresses multiple files efficiently.
  • Use Case: You have a folder full of high-resolution photos and videos that you need to upload to a website. This Skill can compress them all to optimize loading times without significant quality loss.

Quick Start

Compress the file named 'presentation.pdf' to a smaller size.

Frequently Asked Questions about unix-media-compressor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compress multiple media files on Linux to reduce their size?

To compress media files on macOS, use batch processing to optimize images, video, audio, PDFs, and archives. The tool auto-detects the best available compression utilities for each format to shrink file sizes efficiently.

What is the best way to optimize large PDF and image archives for web uploads?

Optimizing large PDF and image archives for web uploads involves reducing file dimensions and bitrates. This tool compresses JPEG, PNG, WebP, AVIF, and Ghostscript PDFs to minimize loading times without significant quality loss.

Can I compress H.264 and AV1 video files alongside MP3 and FLAC audio?

Yes, you can compress H.264, H.265, and AV1 video files alongside MP3, AAC, Opus, and FLAC audio. The tool intelligently selects the appropriate codecs to reduce media file sizes on macOS and Linux systems.

Does the tool automatically install missing ffmpeg or Ghostscript utilities?

The tool auto-detects installed compression utilities like ffmpeg and Ghostscript. If a required utility is missing, it provides installation guidance so you can successfully compress your targeted media formats.

How do I reduce zip and tar archive sizes using brotli or zstd?

To reduce zip and tar archive sizes, the tool utilizes zstd and brotli compression algorithms. It also supports 7z formats, automatically selecting the most effective algorithm to minimize the final archive size.