0xeb

Windbg Agent — Development skill for Claude Code

Development community

WinDbg Copilot - Agentic Debugging extension.

How to install Windbg Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open 0xeb/windbg-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Windbg Agent does

WinDbg Copilot - Agentic Debugging extension.

Alternatives in Development

  • Octo Debug — Systematic debugging with methodical problem investigation 2.8k ★
  • Claudekit Debugging Tools — Debugging and troubleshooting tools 1.9k ★
  • Apex Architect — Use the @apex-architect agent to help the user with the following architectural or debugging matter: $ARGUMENT 523 ★

README

WinDbg Agent

WinDbg/CDB extension that exposes the debugger via HTTP and MCP servers, letting external AI agents (Claude Code, Copilot, etc.) control debug sessions programmatically.

Building

Prerequisites

  • Windows 10/11
  • Visual Studio 2022 with C++ workload (2019 also works — see below)
  • CMake 3.20+
  • Windows SDK (for dbgeng.h)

Build Steps

# Clone with submodules
git clone --recursive https://github.com/0xeb/windbg-agent.git
cd windbg-agent

# Build for x64 (most common)
cmake --preset x64
cmake --build --preset x64

# Build for x86 (32-bit targets)
cmake --preset x86
cmake --build --preset x86

Output:

  • x64: build-x64/Release/windbg_agent.dll and windbg_agent.exe
  • x86: build-x86/Release/windbg_agent.dll and windbg_agent.exe

Alternative: No Visual Studio 2022

If you have a different Visual Studio version or just the Build Tools, skip the presets and specify the generator manually:

# Visual Studio 2019 — x64
cmake -B build-x64 -G "Visual Studio 16 2019" -A x64
cmake --build build-x64 --config Release

# Visual Studio 2019 — x86 (32-bit targets)
cmake -B build-x86 -G "Visual Studio 16 2019" -A Win32
cmake --build build-x86 --config Release

# Ninja (works with any MSVC version — run from Developer Command Prompt)
cmake -B build-x64 -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build-x64

**Ninja x86 note**: For 32-bit Ninja builds, open the **x86 Native Tools Command Prompt** (instead of x64) so `cl.exe` targets Win32.

Usage

Loading the Extension

  1. Open WinDbg and load a dump file or attach to a process
  2. Load the extension:
.load C:\path\to\windbg_agent.dll

**Note:** The extension DLL architecture must match the target. Use the x86 build when debugging 32-bit processes, and the x64 build for 64-bit processes.

Commands

Command Description
!agent help Show help
!agent version Show