re-triage

re-triage is a skill for Claude Code from dslsdzc/rev-skills. It costs 55 tokens per session (2,873 once invoked), scanned A, original, Apache-2.0.

A first-pass workflow for identifying an unknown file’s type, architecture, hashes, strings, and possible compression or encryption. In malware analysis, this initial inspection is often called triage.

In plain words
What is it for?
Use it to fingerprint unknown samples, preserve SHA-256 evidence, estimate whether a file is packed, and choose the next format-specific or reverse-engineering workflow.
Why use it?
Starting with the wrong analysis method wastes time and can miss important evidence. Triage establishes what the file is and records a stable identity before deeper work begins.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to fingerprint unknown samples, preserve SHA-256 evidence, estimate whether a file is packed, and choose the next format-specific or reverse-engineering workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dslsdzc/rev-skills/re-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 dslsdzc/rev-skills --skill re-triage
Clone the repo
git clone --depth 1 https://github.com/dslsdzc/rev-skills

Made for: Claude Code.

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 re-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-triage/github.svg)](https://agentmods.dev/skills/dslsdzc/rev-skills/re-triage)
Your own site
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-triage"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-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 re-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-triage"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,873 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00055 $0.02873
Opus 5.5 $0.00022 $0.01149
Sonnet 5.5 $0.00011 $0.00575
Haiku 4.5 $0.00006 $0.00287

Measured 1mo ago against content hash 3cfb2aab2b9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

re-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 1mo 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.

.claude/skills/re-triage/SKILL.md · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.

文件初步勘察(triage)

何时使用 / 何时不用

  • 用:刚拿到未知样本的第一步;判断文件真实类型与架构;任何分析开始前的哈希存证;熵值评估是否加壳/加密
  • 不用:已确定文件类型、只需深挖结构(直接走对应格式技能 [[re-format-pe]] / [[re-format-elf]] / [[re-format-macho]]);只需函数逻辑(走反编译技能)
  • 不用:样本已确认带壳、目标直接是脱壳(走 [[re-anti-analysis]] 域)

工具准备

所有工具先验证再使用。参考 [[re-analyze/platform-tips]] 最高原则(静态分析可免沙箱,但涉及运行一律沙箱)。

file —— 文件类型判定

  • Linux: apt install file / dnf install file / pacman -S file(多数发行版自带)
  • macOS: brew install file(自带 /usr/bin/file)
  • Windows/WSL: WSL 内用 Linux 版;Windows 本机用 Git for Windows 自带 file 或第三方版
  • 验证: file --version

sha256sum / md5sum —— 哈希存证

  • Linux: coreutils 自带(无则 apt install coreutils / dnf install coreutils / pacman -S coreutils)
  • macOS: 自带,用 shasum -a 256 或 md5
  • Windows/WSL: WSL 内 Linux 版;Windows 本机 PowerShell: Get-FileHash -Algorithm SHA256
  • 验证: sha256sum --version

strings —— 关键字符串提取

  • Linux: binutils 自带(apt install binutils / dnf install binutils / pacman -S binutils)
  • macOS: brew install binutils(命令带 g- 前缀,如 gstrings)或 llvm-objdump --strings
  • Windows: Sysinternals strings64.exe(choco: choco install sysinternals),或 WSL 内 Linux 版
  • 验证: strings --version(Linux)/ gstrings --version(macOS brew)

objdump / readelf —— 架构与头信息确认

  • Linux: apt install binutils / dnf install binutils / pacman -S binutils
  • macOS: brew install binutils(gobjdump)或 brew install llvm(llvm-objdump)
  • WSL: Linux 版直接可用
  • 验证: objdump -V / readelf --version

xxd —— 十六进制查看

  • Linux: apt install xxd / dnf install vim-common / pacman -S xxd
  • macOS: brew install xxd
  • WSL: Linux 版
  • 验证: xxd -v

ent / python —— 熵计算

  • ent: apt install ent(Debian/Ubuntu);dnf/pacman 无官方包 → 用 python 方案
  • python(跨平台兜底,推荐): pip install --user 无需依赖,直接写脚本或一行命令:
    python3 - <<'EOF'
    import math, collections
    data = open('sample.bin', 'rb').read()
    c = collections.Counter(data); n = len(data)
    e = -sum((v/n) * math.log2(v/n) for v in c.values())
    print(f"entropy={e:.3f} bits/byte ({len(data)} bytes)")
    EOF
    
  • 验证: 对 /dev/zero 输出熵 ≈ 0.000,对随机文件 ≈ 7.9+

Read the full file on GitHub · 146 lines

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. 1mo ago Changed · +1 lines 3cfb2aab2b9e
  2. 2mo ago Changed 01adb2745a7c
  3. 2mo ago First seen · 145 lines · 55 tokens per session scan A 3e1af2d3c186

Subscribe to this mod's changes

re-triage is a skill published in the GitHub repository dslsdzc/rev-skills (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 55 tokens to every session and 2,873 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

re-triage compared with skills from other repositories

re-triage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
re-triagedslsdzc/rev-skillsSkill2751mo agoApache-2.0A55Claude Code
deobfuscating-powershell-obfuscated-malwareYoungmaidainon/Agent-Level-UpSkill43mo agoMITA90Claude Code, Codex
conducting-malware-incident-responseYoungmaidainon/Agent-Level-UpSkill43mo agoMITA78Claude Code, Codex
analyzing-golang-malware-with-ghidraMikaru0Mystic/sectinelSkill135mo agoApache-2.0A40Claude Code
analyzing-golang-malware-with-ghidraYoungmaidainon/Agent-Level-UpSkill43mo agoMITA95Claude Code, Codex
analyzing-network-covert-channels-in-malwareYoungmaidainon/Agent-Level-UpSkill43mo agoMITA90Claude Code, Codex
analyzing-heap-spray-exploitationYoungmaidainon/Agent-Level-UpSkill43mo agoMITA46Claude Code, Codex