re-crash-triage

re-crash-triage is a skill for Claude Code from dslsdzc/rev-skills. It costs 121 tokens per session (3,511 once invoked), scanned B, original, Apache-2.0.

A process for investigating program crashes and deciding whether they reveal a security flaw. It covers reproducing the crash, reading memory-error reports, reducing the input, locating the cause, and making a small proof-of-concept (PoC).

In plain words
What is it for?
It helps analyze crashes from fuzzing, segmentation faults, aborts, use-after-free bugs, heap overflows, out-of-bounds access, core dumps, and non-deterministic failures.
Why use it?
It turns an unclear or inconsistent crash into a repeatable case that can be inspected and judged. Input reduction and record-and-replay help when the original failure is too large or happens unpredictably.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cmake -DCMAKE_BUILD_TYPE=Release ../rr && make -j$(nproc) && sudo make install.

Good fit It helps analyze crashes from fuzzing, segmentation faults, aborts, use-after-free bugs, heap overflows, out-of-bounds access, core dumps, and non-deterministic failures.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/dslsdzc/rev-skills
agentmods
npx agentmods add skills/dslsdzc/rev-skills/re-crash-triage

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-crash-triage"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-crash-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,511 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 11 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 48
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
  • medium Privilege Escalation · line 24
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 25
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 31
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 32
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 33
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 40
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 41
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 126
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 48
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 52
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
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.00121 $0.03511
Opus 5.5 $0.00048 $0.01404
Sonnet 5.5 $0.00024 $0.00702
Haiku 4.5 $0.00012 $0.00351

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

Security

Grade B, and why

re-crash-triage scanned grade B with 1 finding 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- clang: `sudo apt install clang` / `sudo dnf install clang` / `sudo pacman -S clang` / macOS Xcode 自带
.claude/skills/re-crash-triage/SKILL.md · 142 lines

How it starts

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

崩溃分析与漏洞定位(crash triage)

何时使用 / 何时不用

  • 用:fuzz 产出崩溃输入;程序段错误/abort;需要判断崩溃是否真实漏洞(可达性)并产出最小 PoC;多线程/非确定性崩溃需复现
  • 不用:还没崩溃、要主动找 bug(→ [[re-fuzzing]]);崩溃已定位、需要深挖函数逻辑(→ [[re-binary-core]] 底座)
  • 不用:只需要看符号栈(直接 [[re-gdb]] 亦可,但本技能含完整"复现→最小化→定位→PoC"流程)

工具准备

所有工具先验证再使用。复现崩溃是动态执行,默认沙箱内跑([[re-analyze/platform-tips]] 最高原则,见 [[re-sandbox]])。

ASAN / UBSAN —— 内存与未定义行为检测(clang/gcc 内置)

  • clang: sudo apt install clang / sudo dnf install clang / sudo pacman -S clang / macOS Xcode 自带
  • gcc: Debian/Ubuntu sudo apt install gcc(ASAN 内置在 gcc,无独立包);Fedora sudo dnf install gcc;Arch sudo pacman -S gcc
  • 编译: gcc -fsanitize=address,undefined -g -fno-omit-frame-pointer -o target_asan target.c(clang 参数相同)
  • 验证: 写一个数组越界小程序编译运行,确认输出含 AddressSanitizer 字样

gdb —— 回溯与 core 分析

  • Debian/Ubuntu: sudo apt install gdb
  • Fedora/RHEL: sudo dnf install gdb
  • Arch: sudo pacman -S gdb
  • macOS: brew install gdb(需 codesign 授权);Xcode 自带 lldb 亦可(见 [[re-lldb]])
  • Windows: WSL 内 Linux 版;Windows 本机用 WinDbg([[re-windbg]])
  • 验证: gdb --version

rr —— 录制/重放(非确定性崩溃)

  • Debian/Ubuntu: sudo apt install rr(universe 仓库)
  • Fedora/RHEL: sudo dnf install rr
  • Arch: paru -S rr(AUR 包;官方仓库无 rr)
  • macOS: 无支持(rr 仅支持 Linux,官方原话 "Apple hardware is fine, Apple software is not");Apple Silicon 用户用 Asahi Linux 或 Linux 虚拟机(需 PMU 透传)
  • Windows: WSL2 内 Linux 版
  • 源码编译:
    git clone https://github.com/rr-debugger/rr && mkdir rr/obj && cd rr/obj
    cmake -DCMAKE_BUILD_TYPE=Release ../rr && make -j$(nproc) && sudo make install
    
  • 前置: Linux 内核 3.11+(建议 4.7+);perf_event_paranoid > 1 时超慢,先放开:
    sudo sysctl kernel.perf_event_paranoid=1
    
  • 虚拟机内需 PMU 透传(VMware/KVM 可,VirtualBox 不可)
  • 容器/受限环境先自检: rr check 会检查 PMU/perf_event 可用性与已知限制,通过后再用;嵌套虚拟化、未透传 PMU 的容器里 rr 无法录制
  • PMU 不可用时的回退(不要卡在 rr 上): 改用「同一输入多次重跑 + 日志/条件断点」缩小竞态窗口;数据竞争类问题用 valgrind --tool=helgrind 或 -fsanitize=thread 构建定位;纯 ASLR 抖动可先 set disable-randomization on 排除
  • 验证: rr --version

afl-tmin / afl-cmin —— 输入最小化与去重(随 AFL++ 安装)

Read the full file on GitHub · 142 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 · +13 lines · +7 tokens per session 7dced83f962f
  2. 2mo ago Changed · +1 lines e3d6cdc73ca8
  3. 3mo ago First seen · 128 lines · 114 tokens per session scan B c695c520964b

Subscribe to this mod's changes

re-crash-triage is a skill published in the GitHub repository dslsdzc/rev-skills (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 121 tokens to every session and 3,511 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

re-crash-triage compared with skills from other repositories

re-crash-triage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
re-crash-triagedslsdzc/rev-skillsSkill2751mo agoApache-2.0B121Claude 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