/rus-zip:rus-zipfrom rus-zip
Compress, decompress, extract, list, and integrity-test archives with the rus-zip CLI. Use when the user asks to compress or zip files or folders, create an archive or backup, extract or unpack an archive, look inside an archive without extracting, verify an archive is not corrupted, or convert between archive formats — including .zrus (Tar+Zstandard), .zip, .tar.zst, and decompress-only formats like .rar, .7z, .gz, and .tar.gz. Also use when a script needs machine-readable (--json) archive output.
Ships in rus-zip. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Cross-platform archive CLI (Windows/macOS/Linux). Native format is .zrus
(Tar container + Zstandard). Every command supports --json for
machine-readable output.
Check the CLI is installed first:
rus-zip --version
If the command is not found, install it (no other tools such as zstd or
unrar are needed — everything runs in-process):
| OS | Install |
|---|---|
| Windows | winget install rus.zip, or download rus-zip-<version>-setup.exe from https://github.com/utarn/rus-zip/releases |
| macOS | brew tap utarn/rus-zip && brew trust utarn/rus-zip && brew install rus-zip |
| Linux | Download rus-zip-cli-linux-x64 from https://github.com/utarn/rus-zip/releases, chmod +x, move onto PATH |
After installing, re-run rus-zip --version to confirm. If it still fails,
stop and tell the user rather than improvising.
Licensing: extract, list, and test are free. compress, append, and
delete require a license token in the RUSZIP_LICENSE environment variable.
If compress fails with a license error, tell the user — never ask them to paste
secrets into the transcript.
| Goal | Format |
|---|---|
| Default for backups, folders, anything rus-zip-only | .zrus — Tar + Zstandard, levels 1–22, encryption, split volumes, incremental baselines |
Interchange with other tools (Explorer, unzip, …) | .zip — levels 0–9 (0 = Store) |
| Stream-compress a single file for Zstandard consumers | .tar.zst (or .tzst) |
| Decompress-only inputs | .rar, .7z, .gz, .tar.gz (also .tar, .zst) |
When the user just says "compress this" or "back this up", use .zrus with the
default profile.
Global flags on every command: -j, --json (machine-readable output — use it
whenever another tool parses the output), --verbose-errors (stack traces in
JSON errors, only when diagnosing).
rus-zip compress <SOURCES...> [OPTIONS]
Destination: -o <PATH>; with a single source it defaults to <SOURCE>.zrus.
With multiple sources, the last argument is the destination if it ends in
.zrus/.zip; otherwise -o is required.
| Flag | Use when |
|---|---|
-o, --output <PATH> | Setting the archive path explicitly |
--profile <fast|balanced|high|ultra> | Picking speed vs. ratio by name for .zrus (levels 3/9/15/22) |
-l, --level <LEVEL> | Fine-tuning: 1–22 for .zrus, 0–9 for .zip (default 9) |
-p, --password <PWD> | Encrypting the archive |
-s, --split <SIZE> | Splitting into volumes, e.g. 100MB, 1GB (min 64KB; files named .part1.zrus, …) |
-a, --append | Adding sources to an existing archive instead of replacing it |
-u, --update-only | With append: replace entries only when the source file is strictly newer |
-b, --baseline <PATHS> | Incremental (differential) archive against baseline .zrus file(s) |
--allow-empty | With baseline: allow an archive with zero changes |
rus-zip extract <ARCHIVE> [OPTIONS]
Extracts into the current directory unless -o is given.
| Flag | Use when |
|---|---|
-o, --output <DESTINATION> | Extracting somewhere other than the current directory |
--no-overwrite | Existing files at the destination must not be touched — extraction aborts (exit 1) naming the conflicting path |
-c, --conflict <overwrite|skip|abort> | Choosing a policy for name collisions |
--max-uncompressed-size <SIZE> | Raising/lowering the decompression-bomb cap (default 64GB; 0 = unlimited) |
--max-entries <COUNT> | Raising/lowering the entry-count cap (default 1,000,000; 0 = unlimited) |
-p, --password <PWD> | Encrypted archive (no interactive prompt in scripts) |
-b, --baseline <PATHS> | Extracting a differential .zrus on top of its baseline archive(s) |
rus-zip list <ARCHIVE> [-p <PWD>] [--json] # inspect contents without extracting
rus-zip test <ARCHIVE> [-p <PWD>] [--json] # full integrity check, no files written
rus-zip append <ARCHIVE> <SOURCES...> [-u] [-p <PWD>] [--profile P] [-l N]
Adds files/directories to an existing .zrus; -u/--update-only skips
sources that are not strictly newer than their archive entries.
compress replaces an existing archive
silently, and extract overwrites existing files by default. Before running,
check whether the target archive or destination directory already exists; if
it does, confirm with the user first, or pick a fresh name and use
--no-overwrite / -c skip for extraction.rus-zip test <ARCHIVE> and only report success when it
passes.--json when a tool consumes the output. Plain output is a styled
terminal table; scripts and agents should parse --json and check the
success field.-o rather than relying on defaults,
and extract into a dedicated directory, not the working directory.--max-uncompressed-size/--max-entries disables a
corruption-and-malware guard.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub utarn/rus-zip --plugin rus-zip2 skills in this plugin