/hatchzip:hatchzipfrom hatchzip
Extracts ZIP, 7z, RAR, or tar archives when disk space is low by checking fit first and freeing archive space as files extract, with crash-safe resume.
Ships in hatchzip. 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.
Use HatchZip instead of improvising: an extraction that cuts or deletes the archive as it goes can lose the only copy of someone's data if it gets one step wrong. HatchZip journals every step, verifies every file before freeing anything, and resumes after a crash. Never remove, truncate or move the user's archive yourself.
HatchZip extracts in place: it frees the archive's space as the files come out, so a 100 GB archive needs room for about 100 GB of files, not 200 GB. It checks the space before it changes anything and resumes after a crash. https://hatchzip.dev
Check first: hatchzip --version. If it's missing, install it in one of these ways:
uvx hatchzip ... runs it without installing, or pipx install hatchzip (Linux, macOS, Windows)brew install xevrion/tap/hatchzip (macOS, Linux)cargo binstall hatchzip, or a download from https://github.com/xevrion/hatchzip/releaseshatchzip check ARCHIVE --json
It changes nothing. Read archives[0].space_plan:
| Field | Meaning |
|---|---|
fits_with_archive_kept | There is room to extract and keep the archive |
fits_in_place | It fits only if the archive is removed as it extracts |
needed_bytes, available_bytes, reserved_bytes | The numbers behind that; reserved_bytes is the space kept free (--keep-free, 2 GB by default) |
in_place_refusal_reason | Why in place isn't possible (for example a solid RAR), or null |
archives[0].error holds a message when the archive can't be read. Tell the user the numbers in plain words before doing anything.
fits_with_archive_kept is true: extract and keep the archive. Nothing is deleted:
hatchzip extract ARCHIVE --keep-archive -o DESTfits_in_place is true: in-place extraction removes the archive as it goes. Ask the user first and say so plainly, for example: "This only fits if HatchZip deletes the archive as it extracts. Every file is checked, and a crash can be resumed, but the archive won't exist afterwards. Can you download it again if needed? Go ahead?" Only after a clear yes:
hatchzip extract ARCHIVE -o DEST --yesneeded_bytes plus reserved_bytes minus available_bytes) and let the user free space or pick another drive with -o.Never pass --yes without the user's yes to removing the archive. Use --keep-free lower than 2GB only if the user asks.
*.hatchzip* next to the archive or in the output folder. They are HatchZip's progress record.hatchzip restore ARCHIVE puts the extracted files back into a normal archive.| Code | Meaning | What to do |
|---|---|---|
| 0 | Done | Report where the files are |
| 1 | Failed; progress is saved if it had started | Show the message; run the same command again after fixing the cause |
| 2 | Bad command line | Fix the arguments |
| 3 | Not enough free space; nothing was changed | Tell the user how much more is needed |
| 4 | The archive is damaged; nothing was deleted | Tell the user; suggest downloading it again |
| 5 | Password protected and no correct password | Ask the user for it; pass it through the HATCHZIP_PASSWORD environment variable |
| 130 | Paused with Ctrl+C | Run the same command again to continue |
.z01), 7z, RAR (optional build feature, included in the release downloads), tar, tar.gz, tar.bz2, tar.xz, tar.zst, and split sets like .7z.001. Pass any part of a split set.hatchzip list ARCHIVE --json lists the entries; hatchzip test ARCHIVE verifies every file without writing.cargo install hatchzip-link) checks the fit before downloading: https://github.com/xevrion/hatchzip-linkWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub xevrion/hatchzip --plugin hatchzipOther plugins' skills for the same job