Skip to content
Debugging
Skill

/analyze-dump

Triage a Windows crash dump - identify the exception, the faulting frame, and what to look at next. Use when the user points at a .dmp file, asks why a Windows process crashed, or asks why a machine blue-screened.

From plugin
mcp-windbg
1.7k4 skills1 agent1 MCP

Claude Code

$ npx -y skills add svnscha/mcp-windbg --skill analyze-dump --agent claude-code

SKILL.md

analyze-dump.SKILL.md
name: analyze-dump
description: Triage a Windows crash dump - identify the exception, the faulting frame, and what to look at next. Use when the user points at a .dmp file, asks why a Windows process crashed, or asks why a machine blue-screened.

Analyze a Windows crash dump

MCP connection

Use the existing mcp-windbg MCP connection, whether it is launched by a plugin, a native executable, Python, or an HTTP service. Tool names below are base names; resolve them against the tools exposed by that connection rather than assuming a plugin-specific prefix. Keep each session on the server that opened it. If multiple servers match, use the user's selected server or ask which one. If the required tools are unavailable, report the missing connection or tool and help check its configuration; do not register a second server.

Work through a `.dmp` file with the `mcp-windbg` tools and report what actually crashed, not just what the debugger printed.

Getting a dump path

If the user gave a path, use it. If not, call `list_dumps` to show what is in the local crash dump directory and ask which one. Do not guess.

Kernel dumps

A blue screen leaves a kernel dump: `MEMORY.DMP`, or a file under `C:\Windows\Minidump`. Open it with `open_kd_dump` instead of `open_cdb_dump`, and use `run_kd_command` and `close_kd_session` in place of the cdb tools below. The triage is the same, led by `!analyze -v` and the bugcheck code; kernel follow-ups include `!thread`, `!process 0 0`, `lmvm <driver>`, and `!irql`.

Triage

1. `open_cdb_dump` with the path. Pass `include_stack_trace: true`; add `include_modules` or `include_threads` only if the question calls for them. Keep the returned `session_id` for every follow-up call. 2. `run_cdb_command` with `!analyze -v`. This is the single most informative command and belongs in every triage. 3. Follow the evidence with further `run_cdb_command` calls. Useful next steps:

  • `k` / `kb` for the call stack with arguments
  • `lm` to see whether the faulting module has symbols
  • `.exr -1`, `.ecxr` for the exception record and context
  • `dt`, `dx`, `db`/`dd` to inspect the data the crash implicates

4. `close_cdb_session` when you are done.

Reporting

Lead with the answer: what failed, where, and why, in the first two sentences. Then support it - exception code and its meaning, the faulting frame, and the specific evidence that points there.

Two things worth being explicit about:

  • **Say when symbols are missing.** A stack full of `module+0x1234` is a

symbol problem, not an analysis result. Say so rather than reading meaning into offsets, and mention `_NT_SYMBOL_PATH`.

  • **Separate fact from inference.** "The access violation is at a null `this`

pointer" is a fact from the register state. "This is probably a use-after-free" is a hypothesis - label it as one and say what would confirm it.

If the dump does not support a conclusion, say that. An honest "this dump only shows the crash point, not the cause, and here is what would" is more useful than a confident guess.

Read more
@svnscha
Ships withmcp-windbg

A Model Context Protocol server that bridges AI models with WinDbg for crash dump analysis, user-mode remote debugging, and kernel debugging.

1.7k4 skills1 agent1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.7k
Star history of svnscha/mcp-windbg on GitHub, a chart by star-history.com

Other skills on mcp-windbg.

debug-remote

debug-remote

Attach to a running Windows process through a WinDbg debug server and inspect it live. Use when the user wants to debug a process…

@svnscha@svnschaInstall Skill
kernel-debug

kernel-debug

Attach to a live Windows kernel target over KDNET, a named pipe, or serial and drive it. Use when the user wants to debug a…

@svnscha@svnschaInstall Skill
windbg-doctor

windbg-doctor

Check that this machine can actually debug - MCP connection reachable, debugger present, symbols configured - and explain how to…

@svnscha@svnschaInstall Skill

More skills from other plugins.

cpu-high

cpu-high

排查 JVM / 应用 CPU 飙高(线程定位 + 代码路径分析)

arthas3d38k
@alibaba@alibabaInstall Skill
d3k

d3k

Test and debug a web app in its existing d3k browser, including local Chrome connected to a Vercel Sandbox over CDP. Use for UI…

dev300013d1.6k
@vercel-labs-2@vercel-labs-2Install Skill
gearboy-debugging

gearboy-debugging

Debug and trace Game Boy / Game Boy Color / Super Game Boy games using the Gearboy emulator MCP server. Provides workflows for…

gearboy1d1.2k
@drhelius@drheliusInstall Skill

Questions about analyze-dump.

Which coding agents can use analyze-dump?
analyze-dump installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.