archive-file-triage

archive-file-triage is a skill for Claude Code, Codex from Asaiuta/reverse-workbench-skill. It costs 103 tokens per session (784 once invoked), scanned A, original, MIT.

A file-triage workflow for safely identifying and copying archives, firmware, malware samples, or forensic files before deeper analysis. It records file details and hashes, lists archive contents, checks extraction risks, and extracts only into a controlled directory.

In plain words
What is it for?
Use it to identify unfamiliar files, create verifiable working copies, inspect archives, assess extraction risks, and prepare inputs for reverse engineering or forensic analysis.
Why use it?
It preserves the original evidence and helps prevent path traversal, unsafe links, archive bombs, and accidentally running extracted programs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to identify unfamiliar files, create verifiable working copies, inspect archives, assess extraction risks, and prepare inputs for reverse engineering or forensic analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asaiuta/reverse-workbench-skill/archive-file-triage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Asaiuta/reverse-workbench-skill --skill archive-file-triage
Clone the repo
git clone --depth 1 https://github.com/Asaiuta/reverse-workbench-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for archive-file-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/asaiuta/reverse-workbench-skill/archive-file-triage/github.svg)](https://agentmods.dev/skills/asaiuta/reverse-workbench-skill/archive-file-triage)
Your own site
<a href="https://agentmods.dev/skills/asaiuta/reverse-workbench-skill/archive-file-triage"><img src="https://agentmods.dev/badge/skills/asaiuta/reverse-workbench-skill/archive-file-triage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for archive-file-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/asaiuta/reverse-workbench-skill/archive-file-triage"><img src="https://agentmods.dev/badge/skills/asaiuta/reverse-workbench-skill/archive-file-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 784 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00103 $0.00784
Opus 5 $0.00051 $0.00392
Sonnet 5 $0.00021 $0.00157
Haiku 4.5 $0.00010 $0.00078

Measured 9d ago against content hash 1476a4082740, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

archive-file-triage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/archive-file-triage/SKILL.md · 50 lines

What it actually says

文件与归档前置分诊

在深入逆向、固件、恶意样本或取证分析前,先建立输入文件的身份与受控工作副本。这样既保留可复核证据,也避免把路径穿越、软链接、压缩炸弹或嵌套归档直接带入后续步骤。

工具与路径

先读取 ../tool-index.md;工具路径以索引为准,缺失时按现有 bootstrap 流程安装。常用工具:Get-FileHashfile7ztarunzipExpand-Archive。Windows 内置 cmdlet 可完成哈希和 ZIP 基础处理;未知格式优先通过 file7z l 判别。

在构造不熟悉 CLI 参数前,先查本机帮助:

Get-Help Get-FileHash -Full
7z
file --help
unzip -h
tar --help

工作流

  1. 保留原件:不修改用户提供的输入;在任务目录建立单独输出目录,例如 artifacts/<样本名>/
  2. 记录身份:记录完整路径、大小、修改时间和 SHA-256。需要跨报告关联时可追加 SHA-1/MD5,但 SHA-256 是主标识。
  3. 先识别、后列举:使用文件类型识别和归档 listing,不要直接递归解压。
  4. 评估解压风险:检查绝对路径、.. 路径、软/硬链接、异常文件数、嵌套归档和异常解压体积。
  5. 受控提取:仅解压到任务专属的新目录;保留命令日志和 listing。不要执行解出的程序、脚本或安装包。
  6. 再次分诊:对提取结果按文件类型、哈希与目录结构做一次分类;按目标切换到 firmware-pentest/apk-reverse/reverse-engineering/malware-analysis/

最小证据记录

$input = 'C:\case\sample.bin'
$out = 'C:\case\artifacts\sample'
New-Item -ItemType Directory -Force -Path $out | Out-Null
Get-Item -LiteralPath $input | Format-List FullName,Length,LastWriteTimeUtc |
  Out-File -Encoding utf8 "$out\metadata.txt"
Get-FileHash -Algorithm SHA256 -LiteralPath $input |
  Format-List | Out-File -Encoding utf8 "$out\hashes.txt"

将大型清单、原始命令输出和递归结果写入文件,不要全部贴入对话。

输出要求

报告:输入路径、类型、大小、哈希(适用时)、实际命令、输出目录、重要提取路径、可疑归档行为,以及无法确认或解压失败的限制。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 50 lines · 103 tokens per session scan A 1476a4082740

Subscribe to this mod's changes

archive-file-triage is a skill published in the GitHub repository Asaiuta/reverse-workbench-skill (2 stars, last pushed 25d ago), licensed MIT. It adds 103 tokens to every session and 784 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.