# Desktop Inspect

> Inspect window UI element tree structure for debugging and understanding interface layout. When you need to debug UI automation issues, understand application structure, or find correct element identifiers. Use when this capability is needed.

- Skill: `tomevault-io/desktop-inspect` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/desktop-inspect`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/desktop-inspect/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/desktop-inspect

---


# Desktop Inspect

检查窗口的 UI 元素树结构（用于调试和了解界面结构）。

## Parameters

| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| window_title | string | 否 | 窗口标题，不填则检查当前活动窗口 |
| depth | integer | 否 | 元素树遍历深度，默认 2 |

## Use Cases

- 调试 UI 自动化问题
- 了解应用程序界面结构
- 查找正确的元素标识符用于点击/输入

## Examples

**检查当前窗口**:
```json
{}
```

**检查记事本，深度 3**:
```json
{"window_title": "记事本", "depth": 3}
```

## Returns

- 元素名称
- 元素类型
- 元素 ID
- 元素位置
- 子元素列表

## Related Skills

- `desktop-find-element`: 查找特定元素
- `desktop-window`: 窗口管理

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/openakita) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

