winui-devtools

winui-devtools is a skill for Claude Code from microsoft/winappCli. It costs 77 tokens per session (4,242 once invoked), scanned A, original, MIT.

A debugging tool for inspecting and editing a running WinUI 3 application's XAML user interface. XAML is the markup used to describe many Windows app screens; the tool can inspect properties, bindings, source lines, live edits, and review comments.

In plain words
What is it for?
Use it to inspect an element's size, margin, style, binding result, or source line; make live UI edits; and leave review comments in the running app.
Why use it?
Source code alone may not show the final property values or why a data binding is empty at runtime. It also tells you to use the companion UI automation tool for actions such as clicking, typing, reading text, and taking screenshots.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the winappcli plugin — 15 skills, 1 agent shipped together

Good fit Use it to inspect an element's size, margin, style, binding result, or source line; make live UI edits; and leave review comments in the running app.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/winappcli/winui-devtools
About the project

winapp CLI is a command-line tool for Windows application development that manages SDKs, app identity, manifests, certificates, packaging, and build tools. It helps developers using frameworks such as .NET, Win32, CMake, Electron, or Rust access Windows-native development capabilities. The catalogue add-ons provide agent workflows for using the CLI.

microsoft/winappCli · 1,406 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.

Any agent
npx skills add microsoft/winappCli --skill winui-devtools
Clone the repo
git clone --depth 1 https://github.com/microsoft/winappCli

Made for: Claude Code.

Or install winappcli, the plugin that ships this one along with the rest of its 15 skills, 1 agent.

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 winui-devtools

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/winappcli/winui-devtools"><img src="https://agentmods.dev/badge/skills/microsoft/winappcli/winui-devtools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,242 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.00077 $0.04242
Opus 5.5 $0.00031 $0.01697
Sonnet 5.5 $0.00015 $0.00848
Haiku 4.5 $0.00008 $0.00424

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

Security

Grade A, and why

winui-devtools 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 yesterday.

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/winapp/skills/winui-devtools/SKILL.md · 264 lines

How it starts

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

If you can't run winapp yourself (no shell, or the command is denied), give the user the exact winapp devtools / winapp run command(s) that would answer their question instead of only reasoning from source. Say which values you read from source and which only the running app can confirm.

Start with the target

Use winapp ui and the winapp-ui-automation skill for general Windows UI Automation: actions, screenshots, waits and accessibility across app frameworks. DevTools is for WinUI 3 XAML trees/source, bindings and dependency-property diagnosis or edits. Both tools accept an element's AutomationId as its selector, so an AutomationId from winapp ui works in winapp devtools and the aid= shown by DevTools works in winapp ui invoke/click. Generated selectors (slugs, handles) belong to one tool; copy a fresh one from that tool's inspect or search.

winapp run .

For a WinUI project this starts DevTools with its in-app toolbar and waits for the app (it is off in CI, with --no-launch, --without-alias or --on sandbox, and for folders, .cs files and non-WinUI projects; pass --devtools on for a WinUI target that isn't detected automatically). Known WPF-only and Windows Forms-only projects are rejected before launch; use --devtools off to run them and winapp ui to inspect their accessible controls. Let the user leave comments there: turn on Comments in the toolbar, click an element, type, press Enter (Shift+Enter for a new line), or click the next element to save and move on. Select element opens the DevTools window on the element the user clicks, then turns picking off so the next click reaches the app. Ctrl+Shift+F12 moves keyboard focus to the toolbar (showing it if the user hid it), and Esc returns it. Use a second terminal for commands, or add --detach to return to the terminal with the app still running and its PID printed. Use an exact PID with -a when multiple apps are attached. Never stop another app automatically to make a rebuild succeed. For an edit loop on a .NET project (unpackaged: .NET 8 SDK or later; packaged: .NET 9 SDK or later), winapp run . --watch runs it under dotnet watch: Hot Reload edits keep DevTools attached, and when an edit needs a restart the app is relaunched (a packaged app is registered again first) and DevTools attaches to the new process (it prints the new PID). Re-read handles after a restart. dotnet watch ignores .xaml edits until a C# file changes or the user presses Ctrl+R. App arguments go after -- (for example Reactor's -- --preview <Component>).

--json is optional output formatting for structured consumers, not the default agent workflow. It does not hide the overlay. Use --devtools headless for an authorized headless inspection launch: nothing is drawn in the app, and Ctrl+Shift+F12 brings up the toolbar. --devtools off runs without DevTools; don't change the user's default (winapp config set run.devtools) unless they ask. For a script, capture $run = winapp run . --devtools on --detach --json | ConvertFrom-Json, then use winapp devtools inspect -a $run.ProcessId. After the human leaves a comment, follow the comment workflow below. If attachment succeeds but the overlay reports a missing XAML resource/type, see visual UI prerequisites; do not mistake unavailable visual UI for failed protocol attachment.

Packaged aliases are prepared automatically in the staged manifest, not manually authored in the source manifest. When DevTools starts by default and how to choose, including dotnet run's -p:WinAppRunDevTools, is in Turn DevTools on or off.

Do not adopt a different running instance when launch fails. Attaching to an existing app is explicit and headless by default:

Read the full file on GitHub · 264 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. yesterday Changed 8e31701e8be3
  2. 13d ago Changed · +61 lines · -1 tokens per session 7ef914f7cd84
  3. 27d ago Changed · +7 lines 59c8fda42900
  4. 1mo ago Changed · +3 lines d177e01d4d9c
  5. 1mo ago Changed · +5 lines 9b1f09a0a7fd
  6. 1mo ago Changed · +1 lines c4dee488141e
  7. 1mo ago Changed · +1 lines 86615aa60461
  8. 1mo ago First seen · 186 lines · 78 tokens per session scan A fc0cd1414641

Subscribe to this mod's changes

winui-devtools is a skill published in the GitHub repository microsoft/winappCli (1,406 stars, last pushed today), licensed MIT. It adds 77 tokens to every session and 4,242 once invoked, about $0.0003 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-17.

Related

winui-devtools compared with skills from other repositories

winui-devtools next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
winui-devtoolsmicrosoft/winappCliSkill1.4ktodayMITA77Claude Code
code_explorergoogle-gemini/gemini-cliSkill110ktodayApache-2.0A28Gemini CLI
test-failure-explorerQwenLM/qwen-codeSkill31ktodayApache-2.0A32Claude Code, Codex
session-investigatorevalstate/fast-agentSkill4.0ktodayApache-2.0A68Claude Code, Codex
smiles-validationsynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A24Claude Code, Codex
pr-autofixAtomicBot-ai/atomic-agentSkill3.6ktodayMITA45Claude Code, Codex
oversight-teammvschwarz/openrigSkill9.0ktodayApache-2.0A117Claude Code, Codex