rev-skills: Skill for Claude Code

.claude/skills/re-triage/SKILL.md

re-triage is a skill for Claude Code from dslsdzc/rev-skills. It costs 55 tokens per session (2,831 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/.

This is dslsdzc/rev-skills's own configuration. It tells Claude Code how to work on rev-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rev-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dslsdzc/rev-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dslsdzc/rev-skills/main/.claude/skills/re-triage/SKILL.md
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,831 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.02831
Opus 5 $0.00028 $0.01416
Sonnet 5 $0.00011 $0.00566
Haiku 4.5 $0.00006 $0.00283

Measured today against content hash 01adb2745a7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 today.

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 · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 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 256md5
  • 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 binutilsgobjdump)或 brew install llvmllvm-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 · 145 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. today Changed 01adb2745a7c
  2. 9d 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 (54 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 2,831 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

Reverse Engineering & Binary Analysis

Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering.

Masriyan/Claude-Code-CyberSecurity-Skill · 26 tokens

deobfuscating-powershell-obfuscated-malware

Systematically deobfuscates multi-layer PowerShell malware using AST analysis, dynamic tracing, and tools like PSDecode and PowerDecode to reveal hidden payloads and C2 infrastructure. Use during incident response or malware analysis when a PowerShell script is obfuscated with encoding, string manipulation, or…

Youngmaidainon/Agent-Level-Up · 90 tokens

conducting-malware-incident-response

Respond to malware infections across enterprise endpoints by identifying the malware family, determining infection vectors, assessing spread, and executing containment, analysis, eradication, and recovery procedures aligned to MITRE ATT&CK. Use when responding to a confirmed or suspected malware infection, including…

Youngmaidainon/Agent-Level-Up · 78 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

Youngmaidainon/Agent-Level-Up · 95 tokens

analyzing-network-covert-channels-in-malware

Detect and analyze covert communication channels used by malware, including DNS tunneling, ICMP exfiltration, steganographic HTTP, and other protocol abuse used for C2 and data exfiltration. Use when investigating suspicious DNS/ICMP/HTTP traffic patterns, hunting for hidden C2 channels in network captures, or…

Youngmaidainon/Agent-Level-Up · 90 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware using Ghidra with specialized scripts for function recovery, string extraction, and type reconstruction in stripped Go binaries.

Mikaru0Mystic/sectinel · 40 tokens