lvt

Analyze running Windows application UIs and output JSON or XML visual trees.

24|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/asklar/lvt --skill lvt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lvt
Source: https://github.com/asklar/lvt/tree/main/.github/skills/lvt
Command: npx skills add https://github.com/asklar/lvt --skill lvt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes running Windows application UIs to provide a structured visual tree for automated reasoning and UI verification.

Core Features & Use Cases

  • Inspect any running Windows app by HWND, PID, process name, or window title
  • Detect UI frameworks: Win32, ComCtl, Windows XAML, WinUI 3, WPF, Avalonia, Chromium
  • Output a unified element tree as JSON or XML
  • Capture annotated screenshots with element IDs overlaid
  • Stable element IDs (e0, e1, ...) for reference and interaction planning

Quick Start

Install lvt and run lvt --name notepad to generate a JSON visual tree with annotated screenshots.

Frequently Asked Questions about lvt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I inspect a Windows UI tree for automated reasoning?

You can inspect a Windows UI tree by targeting a running application via HWND, PID, process name, or window title to generate a structured JSON or XML visual tree with stable element IDs for automated reasoning.

Does UI framework detection work with WinUI 3 and WPF applications?

Yes, UI framework detection supports WinUI 3 and WPF applications, alongside Win32, ComCtl, Windows XAML, Avalonia, and Chromium, by analyzing the visual tree to identify the underlying UI framework.

Can I capture annotated screenshots with element IDs overlaid for Windows apps?

Yes, you can capture annotated screenshots that overlay stable element IDs like e0 and e1 directly onto running Windows applications, providing a visual reference to map UI tree elements for interaction planning.

What is the best way to verify UI elements across different Windows frameworks?

The best way to verify UI elements across Windows frameworks is to generate a unified element tree as JSON or XML, which normalizes element discovery and provides stable IDs regardless of the underlying UI framework.

Do I need lvt.exe and lvt_tap.dll to analyze running Windows applications?

Yes, you need both lvt.exe and lvt_tap.dll present in your environment to successfully analyze running Windows applications and extract the structured visual tree with optional annotated screenshots.