debug-remote

debug-remote is a skill for Claude Code, Codex from svnscha/mcp-windbg. It costs 49 tokens per session (515 once invoked), scanned A, original, MIT.

A live debugger connection for inspecting a running Windows application on another machine through WinDbg or CDB. It works with user-mode programs, not the Windows kernel.

In plain words
What is it for?
Use it to connect to an existing WinDbg or CDB debug server, pause and resume a process, inspect thread stacks and locks, set breakpoints, run debugger commands, and save a memory dump.
Why use it?
It helps investigate hangs, lock conflicts, loaded modules, and code paths while the program is running, without relying only on a saved crash file.

Skill for Claude CodeCodex

Part of the mcp-windbg plugin — 4 skills, 1 agent, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/svnscha/mcp-windbg/debug-remote
Any agent
npx skills add svnscha/mcp-windbg --skill debug-remote
Clone the repo
git clone --depth 1 https://github.com/svnscha/mcp-windbg

Made for: Claude Code, Codex.

Or install mcp-windbg, the plugin that ships this one along with the rest of its 4 skills, 1 agent, 1 MCP server.

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 debug-remote

README.md
[![agentmods](https://agentmods.dev/badge/skills/svnscha/mcp-windbg/debug-remote.svg)](https://agentmods.dev/skills/svnscha/mcp-windbg/debug-remote)
Your own site
<a href="https://agentmods.dev/skills/svnscha/mcp-windbg/debug-remote"><img src="https://agentmods.dev/badge/skills/svnscha/mcp-windbg/debug-remote.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 515 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00049 $0.00515
Opus 5 $0.00024 $0.00258
Sonnet 5 $0.00010 $0.00103
Haiku 4.5 $0.00005 $0.00052

Measured 3d ago against content hash a508d635f522, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

debug-remote 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 3d 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.

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.

plugins/mcp-windbg/skills/debug-remote/SKILL.md · 60 lines

What it actually says

Debug a live user-mode process

Attach to an existing WinDbg/CDB debug server with the mcp-windbg tools. This is user-mode only - for a kernel target use /mcp-windbg:kernel-debug.

The other end

Someone must already be hosting the target. In WinDbg or CDB on that machine:

.server tcp:port=5005

If they have not, say so rather than guessing a connection string - there is nothing to attach to yet.

Connecting

open_cdb_remote with the connection string:

  • TCP: tcp:Port=5005,Server=hostname
  • Named pipe: npipe:Pipe=pipename,Server=hostname

The target is running when you attach, so the session may not be at a prompt. send_ctrl_break halts it when you need it stopped.

Working the target

run_cdb_command with the session_id:

  • ~*k for every thread's stack - the usual first move on a hang
  • !locks, !cs -l for lock contention
  • lm, !peb for what is loaded and how it started
  • bp, g, wait_for_break to catch a code path in the act
  • .dump /ma <path> to capture a dump for offline analysis

Letting it run again

Attaching to a live process freezes it while broken in, and a frozen process is usually worse than an unanalyzed one:

  • g resumes and returns immediately; the target produces no output until it stops again.
  • wait_for_break blocks until it stops on its own.
  • Any ordinary command breaks in automatically first.

close_cdb_session when finished. Say plainly whether the target was left running or halted, so nobody discovers a frozen process an hour later.

Reporting

For a hang, the answer is usually the relationship between threads, not a single stack: which thread holds what, and which are waiting on it. Say that explicitly rather than pasting ~*k and leaving the reader to work it out.

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. 3d ago First seen · 60 lines · 49 tokens per session scan A a508d635f522

Subscribe to this mod's changes

debug-remote is a skill published in the GitHub repository svnscha/mcp-windbg (1,554 stars, last pushed 6d ago), licensed MIT. It adds 49 tokens to every session and 515 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-08-30.

Related

Other skills, from other repositories

lore

SpecStory Lore - mine your SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more) into a persistent corpus, surface your reproducible workflows with corroborated evidence, and interactively forge the chosen ones into skills installed across all your agent harnesses. Use when the user…

specstoryai/getspecstory · 109 tokens

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…

specstoryai/getspecstory · 126 tokens

daily-briefing

Start your day with a prioritized CRM briefing — works for any monday CRM setup: pipeline, contacts, accounts, leads, or no board at all. Use when someone says 'morning briefing', 'daily brief', 'what's on my plate today', 'catch me up on my deals', 'what needs attention', 'what needs my attention', 'anything urgent…

mondaycom/mcp · 106 tokens

workspace-builder

Build a CRM workspace from scratch — describe your business and get boards, columns, and pipeline stages created in monday. Use when someone says "set up my CRM", "build me a CRM", "create CRM boards for me", "I need a new sales pipeline", "help me get started in monday", "I don't know how to set up my pipeline", or…

mondaycom/mcp · 107 tokens

data-cleanup

Check your CRM board's health and clean up messy data — run a scored health check (missing fields, stalled deals, abandoned columns, automation gaps) as a report, or fix data in bulk (phone formats, missing emails, country codes, unowned deals, stale dates). Use when someone says "clean my CRM", "fix my data"…

mondaycom/mcp · 131 tokens

meeting-to-deal

Turn meeting transcripts into deal updates — key points, commitments, and next steps posted to matching CRM deals automatically. Auto-creates contacts for new attendees. Use when someone says "log my meetings to deals", "update CRM from calls", "what did I commit to in meetings", "sync notetaker", "log this meeting"…

mondaycom/mcp · 107 tokens