rev-skills: Skill for Claude Code

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

re-windbg is a skill for Claude Code from dslsdzc/rev-skills. It costs 38 tokens per session (3,814 once invoked), scanned A, original, Apache-2.0.

A guide to using WinDbg, Microsoft’s debugger for Windows programs, crash dumps, drivers, and the operating-system kernel. It also covers recording and replaying program execution with Time Travel Debugging.

In plain words
What is it for?
Use it to debug user programs, analyse crashes and dump files, inspect drivers and kernel modules, set breakpoints, and replay recorded execution.
Why use it?
It helps you inspect failures and runtime behaviour when ordinary logs are not enough, including low-level Windows and driver problems.

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-windbg/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-windbg

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-windbg"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-windbg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,814 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.00038 $0.03814
Opus 5 $0.00019 $0.01907
Sonnet 5 $0.00008 $0.00763
Haiku 4.5 $0.00004 $0.00381

Measured today against content hash 0ce37b250424, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

re-windbg 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-windbg/SKILL.md · 121 lines

How it starts

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

WinDbg 动态调试(Windows 用户态 + 内核)

何时使用 / 何时不用

  • 用:Windows 用户态进程调试(启动/附加、断点、单步、寄存器);崩溃/异常分析(!analyze -v);内核调试(双机/VM/本地 kd);驱动与内核模块分析(配合 [[re-kernel]]);崩溃 dump(minidump/full dump)分析
  • 用:时间旅行调试(TTD)——ttd.exe 录制 .run 轨迹后任意回放,适合「复现一次慢慢查」的校验/解密逻辑(见 [[commands]] TTD 节)
  • 不用:Linux 目标(走 [[re-gdb]]);macOS 目标([[re-lldb]]);只需轻量 GUI 调试([[re-x64dbg]] 更快)
  • 不用:只做静态分析/反编译([[re-ida]] / [[re-ghidra]] / [[re-binaryninja]]);无需与运行态互动的纯静态流程不需要调试器
  • 不用:WSL 内跨边界 attach Windows 进程([[re-analyze/platform-tips]] WSL 分支:跨边界走 Windows 侧工具)

工具准备

参考 [[re-analyze/platform-tips]] Windows 分支——attach 需要管理员权限;调试属动态执行,默认沙箱内进行([[re-analyze/platform-tips]] 最高原则)。

WinDbg(微软商店版 / Windows SDK / WDK)

  • 商店版(新 UI WinDbg):winget install Microsoft.WinDbg(或 Microsoft Store 搜索 "WinDbg")
  • 经典版:Windows SDK 安装器勾选 "Debugging Tools for Windows";choco install windbg
  • WDK(含内核调试工具 kd.exe/kdnet.exe):winget install Microsoft.WindowsWDK 或 Visual Studio 安装器勾选 WDK
  • 验证: 打开 WinDbg,File > Open Executable 加载任意 exe 能停在初始断点;命令窗口 ver 输出版本号
  • 版本差异: 商店版(WinDbg 1.x,Chromium UI)与经典版(WinDbg 10.0.x)命令兼容,UI 与附加流程不同;dump 分析两者通用(见 [[gotchas]])

Windows 符号(Windows SDK 符号 / 公共符号服务器)

  • 符号路径: .sympath srv*C:\symbols*https://msdl.microsoft.com/download/symbols(或设环境变量 _NT_SYMBOL_PATH
  • 内核模块符号: 内核调试下 .reload /f nt(强制从符号服务器拉取)
  • 验证: !analyze -v 输出中出现函数名而非 +0x1a 裸偏移

双机/虚拟机内核调试环境

  • 目标机(被调试): bcdedit /debug on + bcdedit /dbgsettings serial debugport:1 baudrate:115200(串口)或 bcdedit /dbgsettings net hostip:<宿主机IP> port:50000 key:<kdnet.exe生成的key>(NET 网卡,Windows 10+ 推荐)
  • VM 场景: VMware/Hyper-V 给目标 VM 添加串口设备(Named Pipe \\.\pipe\com_1 / -vmconnect),宿主 WinDbg File > Kernel Debug > COM 填管道名
  • 本地内核调试(仅测试机,需测试签名): bcdedit /set testsigning on 重启后,WinDbg File > Kernel Debug > Local
  • 验证: 目标机重启停在 "Waiting to reconnect" 或进入调试等待后,宿主 WinDbg 附加成功、gCtrl+Break 能中断、lm 列出模块

TTD(时间旅行调试,Windows 10 1903+)

  • 录制: ttd.exe -out C:\traces target.exe(或 -attach <pid> 附加录制;-monitor <进程名> 监控启动)
  • 打开: WinDbg File > Open.run 轨迹文件(或 Open Trace File
  • 验证: ttd.exe -help 有输出;录一段后用 WinDbg 打开,!tt 能跳到任意位置、g- 能往回跑(详见 [[commands]] TTD 节)

Read the full file on GitHub · 121 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · +1 lines 0ce37b250424
  2. 9d ago First seen · 120 lines · 38 tokens per session scan A 6492a46a71f4

Subscribe to this mod's changes

re-windbg is a skill published in the GitHub repository dslsdzc/rev-skills (54 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 3,814 once invoked, about $0.0002 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