7-Zip
$ 7zz Official Med Risk7zz is the official cross-platform 7-Zip command-line archiver supporting 7z, ZIP, TAR, GZIP, XZ, and AES-256 encryption. It provides structured technical listings (7zz l -slt) and integrity testing (7zz t), though headless extraction requires -y or -aos to prevent overwrite prompts.
brew install sevenzip Direct 7zz archiving, listing (l -slt), and verification (t) run natively with zero MCP overhead.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports l -slt structured key-value output and -bd / -y / -aos non-interactive flags, but lacks --json and prompts on collision by default.
7zz l -sltemits structured technical records- Extraction prompts interactively on overwrite unless
-aosor-yis passed
Purely local archive tool with -t integrity verification and -aos skip-existing mode, though -y overwrites silently.
-aosprevents accidental overwrites;-oscopes extraction directory
Official 7zz binaries across macOS (brew install sevenzip), Linux, and Windows.
- First-party cross-platform binaries from 7-zip.org
Handles virtually every common archive format (7z, zip, tar, xz, iso, cab) with high compression ratios.
- Universal multi-format archive creation, listing, and testing
Official upstream release maintained by Igor Pavlov (7-zip.org).
- Official
7zzdistribution
Built-in -h help and official documentation covering commands (a, x, l, t) and switches.
- Command-line switches documented in
-hand official docs
Security, Auth & Guardrails
None required; optional archive encryption passwords should be avoided on CLI args when sensitive.
100% free, offline, and open-source (LGPL-2.1-or-later / BSD-3-Clause).
# 7-Zip (7zz) Agent Rules - ALWAYS pass `-aos` (skip existing) or `-y` plus `-bd` on `7zz x`—without them, file collisions trigger an interactive prompt that hangs agents. - Extract into a dedicated `-o./subdir` folder to avoid cluttering the working directory.
Agent-Ready Command Recipes
Safe Read-Only Queries
7zz l -slt -bd archive.7z
Uses -slt (technical listing) and -bd (no progress bar) to inspect every archived entry read-only.
7zz t -bd archive.7z
Verifies CRC/checksum integrity of archive.7z read-only.
Controlled Writes & Previews
7zz x -aos -bd -o./extracted archive.7z
Extracts to ./extracted (-o./extracted) while skipping existing files (-aos) and suppressing interactive prompts.
Strengths for Agents
- +
7zz l -slt -bdprovides clean key=value technical listings across7z,zip,tar, andxz. - + Official cross-platform binary with
-aosskip-existing and-tintegrity verification.
Caveats & Pitfalls
- ! No
--jsonoutput. - ! Extracting (
7zz x) hangs on file collisions unless-aosor-yis passed.