Attaches to a live Windows kernel target over KDNET, named pipe, or serial for driver/kernel debugging. Drives the target with breakpoints, state inspection, and resume control via mcp-windbg.
Ships in mcp-windbg-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
Drive a kernel target with the mcp-windbg kd tools. A kernel session halts the
whole machine while it is broken in, so treat the target's running state as
something you are responsible for.
open_kd_session with the -k connection string:
net:port=50000,key=1.2.3.4com:pipe,port=\.\pipe\com_1,baud=115200,reconnectcom:port=COM1,baud=115200Ask for the string rather than guessing it. The session arrives already broken in, so you can issue commands immediately.
run_kd_command with the session_id. Common ground:
vertarget, !pcr, lm m nt to confirm what you are attached to!process 0 0, !thread, !irp for OS statebp <module>!<symbol> to set a breakpoint!analyze -v after a bugcheckThis is where a kernel session differs from a dump, and where it is easy to leave a machine frozen:
g resumes the target and returns immediately. It does not wait, and it does
not produce output until the target stops again.wait_for_break blocks until the target stops on its own - a bugcheck, a
breakpoint, a manual break - and returns what the debugger printed.send_ctrl_break halts a running target now.A typical loop: set a breakpoint, g, tell the user to trigger the code path,
then wait_for_break.
close_kd_session with resume: true (the default) so the machine runs again.
Only pass resume: false when the user explicitly wants it left halted, and say
plainly that the machine will stay frozen until a debugger releases it.
If you set breakpoints, clear them with bc * before closing unless the user
wants them kept.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
windows-kernel, windbg, kdnet, kernel-debugging, driver-debugging
4 skills in this plugin
/analyze-dumpTriage 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./debug-remoteAttach to a running Windows process through a WinDbg debug server and inspect it live. Use when the user wants to debug a process on another machine, or one already under a .server session, rather than a crash dump./windbg-doctorCheck that this machine can actually debug - MCP connection reachable, debugger present, symbols configured - and explain how to fix whatever is missing. Use when mcp-windbg tools fail, when a session will not open, or before a first debugging session./mcp-windbg-skills:kernel-debugfrom mcp-windbg-skills
npx claudepluginhub svnscha/mcp-windbg --plugin mcp-windbg-skillsOther plugins' skills for the same job