Skip to content
Back to skills

Windows Desktop Control

ASecurity

Use this plugin when the task involves native Windows desktop apps or browser surfaces that do not have a stronger structured integration available.

  • 285 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
toolsrails

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add virtengine/bosun --skill windows-desktop-control --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Windows Desktop Control?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Windows Desktop Control
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/virtengine-windows-desktop-control/badge)](https://www.skillsdirectory.com/skills/virtengine-windows-desktop-control)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Windows Desktop Control

Use this plugin when the task involves native Windows desktop apps or browser surfaces that do not have a stronger structured integration available.

## Operating modes

Pick one of these modes before taking action:

1. UIA-first mode: preferred for native Windows apps with accessible controls.
2. Visible-display mode: for quick manual-adjacent automation on the user’s active screen.
3. Isolated-display mode: for non-interrupting automation on a secondary or virtual display that Windows exposes.
4. Coordinate-fallback mode: for canvas apps, remote surfaces, or controls that UI Automation cannot reach reliably.

## Decision rules

- Prefer structured browser automation for websites when a browser tool or MCP server already exists.
- Prefer `uia_inspect` and `uia_invoke` for native Windows controls before coordinate clicks.
- Prefer `list_displays` and display-aware screenshots before assuming the primary screen is the correct target.
- Prefer `move_window` to place apps on a non-user display before interacting when isolation matters.
- Use screenshots to verify state before and after mutating actions.
- Ask for human confirmation before destructive actions such as deleting data, closing unsaved work, submitting forms, or sending messages.

## Mode patterns

### UIA-first mode

1. Call `list_windows` and `focus_window` to target the correct app.
2. Call `uia_inspect` to find stable selectors.
3. Use `uia_invoke`, `type_text`, or `press_keys`.
4. Capture a `screenshot` after important mutations.

### Isolated-display mode

1. Call `list_displays` and choose the non-user display by `displayId` or `displayName`.
2. Launch or find the app with `launch_app` or `list_windows`.
3. Call `move_window` to place the window on that display. Use `fitToDisplay: true` when full-display placement is better than a preserved window size.
4. Use `screenshot` against that display, then prefer `uia_*` actions.
5. If coordinate fallback is required, pass `displayRelative: true` so coordinates stay local to the isolated display.

### Coordinate-fallback mode

1. Capture a display-specific `screenshot`.
2. Use `click`, `double_click`, `drag`, or `scroll` with `displayRelative: true` when you are targeting a specific monitor.
3. Re-capture a `screenshot` after each mutation that could change layout or focus.

### Desktop-overview mode

1. Use `screenshot` with `virtualScreen: true` to inspect the full multi-monitor layout.
2. Use `list_displays` to resolve the right target display before moving windows or clicking.

## Guardrails

- `launch_app` is allowlisted by default. Expand the allowlist intentionally instead of disabling it.
- For risky key chords, pass `confirm: true` only after the user has explicitly approved the action.
- Treat browser work inside Edge, Chrome, or Electron as browser automation first unless the task specifically needs full-desktop interaction.
- Treat “hidden display” as a Windows-visible secondary or virtual monitor. If Windows does not expose the target as a display, this plugin cannot safely target it as one.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.