ouch
$ ouch Community Low Riskouch handles .tar.gz, .tar.zst, .zip, .7z, and .xz under one consistent command grammar without remembering arcane tar flags. It supports read-only ouch list inspection and --yes/--no flags to prevent interactive overwrite prompts.
brew install ouch Archive creation and inspection belong directly in local CLI invocations rather than MCP.
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
Clean compress/decompress/list subcommands with --yes/--no non-interactive prompt controls, though no --json.
- Supports
--yes/--noand-q/--quietflags
ouch list is read-only; --no and --dir protect against accidental overwrites during extraction.
- Safe extraction isolation via
--dirand--no
Single Rust binary across brew, cargo, winget, and releases.
- Cross-platform static binary
Eliminates memorizing separate tar, unzip, zstd, and 7z flags.
- Format-inferred compression/decompression across common formats
Actively maintained Rust OSS project (ouch-org/ouch) under MIT.
- Healthy release cadence and contributor base
Clear README and subcommand --help pages.
- Readable
--helpand README examples
Security, Auth & Guardrails
None required; operates purely on local archives and files.
100% free, offline, and open-source (MIT).
# ouch Agent Rules - ALWAYS pass `--yes` or `--no` on `compress`/`decompress` so overwrite prompts never hang headless runs. - Inspect untrusted archives with `ouch list` first and extract into a clean `--dir` target.
Agent-Ready Command Recipes
Safe Read-Only Queries
ouch list release.tar.zst
Prints file entries inside .tar.*, .zip, or .7z archives read-only.
Controlled Writes & Previews
ouch decompress --no release.tar.zst --dir ./extracted
Uses --no to decline overwriting existing files and --dir to isolate extraction.
Strengths for Agents
- + Unified
list/compress/decompressinterface across.tar.gz,.tar.zst,.zip, and.7z. - + Explicit
--yes/--noflags prevent interactive overwrite hangs.
Caveats & Pitfalls
- ! Lacks
--jsonoutput forouch list. - ! Less likely to be preinstalled on minimal Linux containers than
tar.