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

pigz

$ pigz Community Med Risk
Mark Adler · Files & Search · Zlib · macos / linux / windows

pigz (Parallel Implementation of GZip) utilizes multiple CPU cores (-p) to compress and decompress .gz files dramatically faster than gzip. Like gzip, pigz file deletes the source file by default unless -k (--keep) or -c (--stdout) is passed.

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

Multi-core streaming compression via pigz runs directly on local files with zero MCP applicability.

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 18 / 25

Strictly non-interactive CLI with clean exit codes and -l/-t read-only modes, though output is plain text with no --json.

  • Deterministic non-interactive pipeline behavior
  • No --json output mode
Trust & Safety 16 / 25

Safe when -k or -c is used, but default behavior deletes the input file upon completion (gzip convention).

  • Deletes source file by default unless -k (--keep) or -c is passed
Setup & Portability 14 / 15

Packaged via brew install pigz, nearly all Linux repositories, and Windows ports.

  • Available across macOS, Linux, and Windows
Utility & Efficiency 15 / 15

Multi-core gzip compression (tar -I pigz) delivers near-linear core scaling with full gzip compatibility.

  • Drop-in parallel speedup for .gz and tar pipelines
Maintenance & Lineage 7 / 10

Written and maintained by zlib co-author Mark Adler under the Zlib license.

  • Authoritative upstream maintenance at zlib.net/pigz
Docs & Verifiability 8 / 10

Complete pigz(1) man page and --help output covering -p, -k, -d, -l, -t, and -c.

  • Clear official man page and -h help

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; operates purely on local files or stdin/stdout.

Side Effects
Read-Only Local Write Destructive
Cost & Quotas

100% free, offline, and open-source (Zlib).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# pigz Agent Rules
- ALWAYS pass `-k` (`--keep`) or `-c` (`--stdout`)—bare `pigz <file>` DELETES the original file after compression/decompression.
- Never pass `-f` unless overwriting an existing `.gz` output is explicitly intended.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect compressed archive ratios and verify integrity
pigz -l -t backup.tar.gz

Lists compressed/uncompressed sizes (-l) and tests integrity (-t) read-only without modifying backup.tar.gz.

Controlled Writes & Previews

Compress a file across 8 cores while keeping the original
pigz -p 8 -k -v bundle.tar

Creates bundle.tar.gz using 8 threads (-p 8) while preserving bundle.tar via -k (--keep).

Strengths for Agents

  • + Multi-core -p compression scales smoothly for large tarballs (tar -I pigz).
  • + Supports -l listing and -t integrity verification read-only.

Caveats & Pitfalls

  • ! Deletes original input files by default unless -k (--keep) or -c is passed.
  • ! Plain-text -l output only; no --json flag.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI