Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

7-Zip

$ 7zz Official Med Risk
Igor Pavlov · Files & Search · LGPL-2.1-or-later / BSD-3-Clause · macos / linux / windows

7zz 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.

FCRS-1.0 Score
80 /100
Good
Medium Confidence
Zero-Friction Install
brew install sevenzip
CLI vs MCP Decision CLI Only

Direct 7zz archiving, listing (l -slt), and verification (t) run natively with zero MCP overhead.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 17 / 25

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 -slt emits structured technical records
  • Extraction prompts interactively on overwrite unless -aos or -y is passed
Trust & Safety 20 / 25

Purely local archive tool with -t integrity verification and -aos skip-existing mode, though -y overwrites silently.

  • -aos prevents accidental overwrites; -o scopes extraction directory
Setup & Portability 15 / 15

Official 7zz binaries across macOS (brew install sevenzip), Linux, and Windows.

  • First-party cross-platform binaries from 7-zip.org
Utility & Efficiency 14 / 15

Handles virtually every common archive format (7z, zip, tar, xz, iso, cab) with high compression ratios.

  • Universal multi-format archive creation, listing, and testing
Maintenance & Lineage 7 / 10

Official upstream release maintained by Igor Pavlov (7-zip.org).

  • Official 7zz distribution
Docs & Verifiability 7 / 10

Built-in -h help and official documentation covering commands (a, x, l, t) and switches.

  • Command-line switches documented in -h and official docs

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; optional archive encryption passwords should be avoided on CLI args when sensitive.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free, offline, and open-source (LGPL-2.1-or-later / BSD-3-Clause).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

List archive contents in machine-parsable key-value format
7zz l -slt -bd archive.7z

Uses -slt (technical listing) and -bd (no progress bar) to inspect every archived entry read-only.

Test archive integrity without extracting
7zz t -bd archive.7z

Verifies CRC/checksum integrity of archive.7z read-only.

Controlled Writes & Previews

Extract archive into an isolated directory without overwriting
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 -bd provides clean key=value technical listings across 7z, zip, tar, and xz.
  • + Official cross-platform binary with -aos skip-existing and -t integrity verification.

Caveats & Pitfalls

  • ! No --json output.
  • ! Extracting (7zz x) hangs on file collisions unless -aos or -y is passed.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI