| name | upx |
| description | Use this skill when the user wants to compress executables — shrink ELF, PE, or Mach-O binaries by 50–70% with no runtime decompression penalty. |
upx Plugin
Ultimate Packer for eXecutables. Compresses binaries in place (or to a new file) using fast in-memory decompression at startup — common for shipping smaller CLI tools, firmware images, and release artifacts.
Installation
apt install upx
Basic Usage
upx mybinary
upx -o mybinary.compressed mybinary
upx -d mybinary
upx -l mybinary
Common Patterns
upx --best mybinary
upx ./dist/*
upx -t mybinary
upx --help
Usage Examples
- "Shrink this Go binary before release"
- "Compress all binaries in ./dist"
- "Decompress this UPX-packed executable"
SuperCLI
sc upx _ _ --best mybinary
sc upx _ _ -l mybinary
sc plugins learn upx