Archive file triage

From yv1ing/Z3r0 · View interactive version

Archive file triage is an AI agent skill from the GitHub repository yv1ing/Z3r0. Use file, 7z, unzip, tar-compatible tools, hashes, and bounded shell inspection for safe triage of provided archives and unknown files.

How to use this skill

Skill file

archive-file-triage

Use local file and archive tools for safe triage of provided archives, unknown files, evidence bundles, source packages, firmware packages, and extracted artifacts.

Help first

Before constructing commands, use installed help or version output as the source of truth:

file --help
7z i
unzip -h
tar --help

Usage rules

Common workflows

Identify and hash before extraction:

file artifact.bin
sha256sum artifact.bin

List archive contents first:

7z l archive.7z
unzip -l archive.zip
tar -tf archive.tar

Extract into a task-scoped directory:

mkdir -p extracted
7z x archive.7z -oextracted
unzip archive.zip -d extracted
tar -xf archive.tar -C extracted

After extraction, inspect file types before any deeper analysis:

find extracted -maxdepth 2 -type f -exec file '{}' +

Output

Report the input path, type, size, hashes when relevant, command used, output directory, notable extracted paths, suspicious archive behavior, and limitations.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.