diagnostician

diagnostician is an agent for Claude Code from microsoft/win-dev-skills. It costs 31 tokens per session (1,455 once invoked), scanned A, original, MIT.

A structured diagnostician for native Windows applications, services, user-mode drivers, and kernel-mode drivers. It uses WinDbg evidence to form hypotheses, test alternatives, and report a supported cause or explain what is still unknown.

In plain words
What is it for?
Use it to investigate Windows crashes, hangs, and leaks from dumps, debugger output, source inspection, or controlled reproduction, and to produce a diagnosis and verification plan.
Why use it?
It prevents a crash location or familiar pattern from being mistaken for the underlying defect. It also makes missing evidence and the plan for verifying a proposed fix explicit.

Agent for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the windbg plugin — 11 skills, 2 agents shipped together

Good fit Use it to investigate Windows crashes, hangs, and leaks from dumps, debugger output, source inspection, or controlled reproduction, and to produce a diagnosis and verification plan.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/microsoft/win-dev-skills/diagnostician
About the project

microsoft/win-dev-skills is a collection of AI-agent instructions and tools for creating native Windows applications with WinUI 3 and the Windows App SDK. Windows developers use it to guide agents through app development tasks from scaffolding and design to testing, packaging, and release. The catalogue entries are its agents, skills, and plugin components.

microsoft/win-dev-skills · 472 stars · on GitHub

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.

Clone the repo
git clone --depth 1 https://github.com/microsoft/win-dev-skills

Made for: Claude Code.

Or install windbg, the plugin that ships this one along with the rest of its 11 skills, 2 agents.

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 diagnostician

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/microsoft/win-dev-skills/diagnostician"><img src="https://agentmods.dev/badge/agents/microsoft/win-dev-skills/diagnostician.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,455 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.
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.00031 $0.01455
Opus 5.5 $0.00012 $0.00582
Sonnet 5.5 $0.00006 $0.00291
Haiku 4.5 $0.00003 $0.00145

Measured 8d ago against content hash f53787f1e716, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diagnostician 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 8d 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/windbg/com.github.copilot/agents/diagnostician.agent.md · 127 lines

How it starts

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

Debugging Diagnostician

Apply windbg-diagnostic-method throughout every investigation, then use the most relevant bug-family skill for detailed commands and evidence requirements.

Use the available debugger integration only when authorized. If none is available, explain which commands to run and reason from supplied output; never claim execution or access you do not have. Use the user's approved source tools for their own code, not private operating-system repositories.

Investigation contract

  1. Observe dump type, architecture, symbols, exception/bugcheck or hang symptoms, and the actual evidence available.
  2. Form a primary hypothesis and plausible alternatives. Pattern matches are hypotheses, not conclusions.
  3. Test with specific commands, source inspection, or a controlled reproduction. Record direct evidence and missing information.
  4. Evaluate contradictions and distinguish the original defect from downstream symptoms. Do not blame a module solely because the crash appears there.
  5. Conclude with the supported cause, candidate fix, and verification plan, or pivot when evidence is insufficient.

Routing paths

  • Fast (indicative confidence ≥80%): validate required evidence and plausible alternatives before concluding; never skip the five phases.
  • Validate (40–79%): test the leading pattern and at least one plausible alternative through the full cycle.
  • Full-reasoning (<40% or no match): reason from observations, preserve uncertainty, and state the next evidence required.

Confidence is explanatory judgment, not measured probability.

Available routes

Evidence Skill
Application, service, or user-mode driver host structured exception windbg-user-exception-triage
Application, service, or user-mode driver host heap corruption/history windbg-user-heap-corruption-investigation
Blocked UI, service, user-mode driver host, COM/RPC, or thread/process wait windbg-user-wait-chain-analysis
A recorded application, service, or user-mode driver host execution with a history question windbg-user-ttd-reverse-debugging-triage
User-mode allocation failure, VA fragmentation, or commit pressure windbg-user-virtual-memory-exhaustion
Thread-affine lock surviving coroutine suspension in a user-mode component windbg-user-mutex-held-across-co-await
Kernel bugcheck, trap frame, or saved exception context windbg-kernel-bugcheck-triage
Driver Verifier violation windbg-kernel-verifier-triage
Outstanding/power IRP, cancellation, or completion windbg-kernel-irp-lifecycle-triage
Kernel lock owner/waiter chain windbg-kernel-lock-deadlock-triage

Read the full file on GitHub · 127 lines

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. 8d ago First seen · 127 lines · 31 tokens per session scan A f53787f1e716

Subscribe to this mod's changes

diagnostician is an agent published in the GitHub repository microsoft/win-dev-skills (472 stars, last pushed 2d ago), licensed MIT. It adds 31 tokens to every session and 1,455 once invoked, about $0.0001 per session on Opus 5.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-10-08.