agent-desktop-windows
Was er macht
Gibt dem Assistenten einen Leitfaden zum Steuern von Windows-Desktop-Apps über das Werkzeug agent-desktop. Er ist für Menschen gedacht, die möchten, dass der Assistent Windows-Programme liest und anklickt.
Wann du ihn nutzt
- ✓Wenn der Assistent in einer Windows-App klicken, tippen oder lesen soll.
- ✓Wenn ein Windows-Automatisierungsbefehl nichts zurückgibt oder ein Fenster verfehlt.
- ✓Wenn du wissen musst, welche Automatisierungsbefehle unter Windows funktionieren.
Link zum Skill
https://github.com/NanmiCoder/cc-haha/blob/main/native/agent-desktop/skills/agent-desktop-windows/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Kannst du auf meinem Windows-PC den Editor öffnen, eine kurze Notiz eintippen und sie speichern?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Leitfaden erklärt, was jede Befehlsgruppe unter Windows tut, und nennt typische Probleme beim ersten Start. Der Assistent nutzt den Accessibility-Baum des Desktops, um Bedienelemente zu finden, sie zu bedienen und das Ergebnis zu prüfen.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
agent-desktop-windows
The observe-act loop, ref system, JSON envelope, sessions and tracing are the same on every platform. This file covers only what differs on Windows.
Requires Windows 10 1809+ / Windows Server 2019+ (x64 or ARM64). Run it in the interactive desktop session of the signed-in user. Session 0 (services and SYSTEM tasks), Server Core, the secure desktop (UAC prompts, the sign-in screen), a locked desktop and another user's session are not supported: observation, actions and capture there fail or return nothing.
Capability Table
| Group | Commands | Status on Windows |
|---|---|---|
| Observation | snapshot, find, get, is, screenshot |
Works. Surfaces are window, focused, a Chromium modal as sheet, and an open application menu as menu |
| Surfaces | list-surfaces |
Works. Lists window, focused and sheet per process, plus menu with item_count while a menu is open |
| Shell surfaces | open-system-surface |
Works for start-menu, taskbar, system-tray, system-tray-overflow and action-center, and returns the window snapshot --surface <kind> reads. quick-settings returns PLATFORM_NOT_SUPPORTED naming action-center |
| Ref interaction | click, right-click, type, set-value, clear, select, toggle, check, uncheck, expand, collapse, scroll, scroll-to |
Works, semantic in headless and --headed mode. right-click and type need --headed and return POLICY_DENIED headless |
| Multi-click and focus | double-click, triple-click, focus |
Works with global --headed only |
| Keyboard and mouse | press, hover, drag, mouse-click, mouse-move, mouse-wheel |
Works. Cursor-moving input needs --headed. First Contact covers press --app |
| Held input | key-down, key-up, mouse-down, mouse-up |
Fails closed on every platform with ACTION_NOT_SUPPORTED. A headless mouse-down or mouse-up returns POLICY_DENIED first |
| App and window | launch, close-app, list-windows, list-apps, focus-window, resize-window, move-window, minimize, maximize, restore |
Works. First Contact covers the name launch takes |
| Displays | list-displays |
Works |
| Clipboard | clipboard-get, clipboard-set, clipboard-clear |
Works; typed text and image content |
| Wait | wait |
Works for ms, --element, --window, --text, --menu, --menu-closed, --event and --notification |
| Notifications | list-notifications, dismiss-notification, dismiss-all-notifications, notification-action |
Works over the Action Center. Pass --headed when the center is closed |
| Cursor overlay | cursor-overlay |
Works. enable returns data.rendered: true only after the renderer acknowledges over its pipe. See references/shell-and-overlay.md |
| System | status, permissions, version, batch, skills, session, trace |
Works |
First Contact
- Quote every ref in PowerShell. PowerShell reads a bare
@tokenas its splatting operator and deletes the argument before the binary sees it, soset-value @s8f3k2p9:e1 hifailsINVALID_ARGS. Writeset-value '@s8f3k2p9:e1' hi. cmd.exe and bash need no quoting. - A window behind another window is drivable. A minimized one is not.
Every element of a minimized window reports
offscreenand ref actions fail. Runrestore --app <image>and snapshot again. Do not usefocus-windowby reflex: it steals the user's foreground. - No permission dialog exists.
permissionsreportsautomationasnot_required. Elevation boundaries are the only access control. - Chromium and Electron apps read thin before they settle. Pass a longer
--timeout-mstosnapshotinstead of concluding the tree is empty. - Blocked shortcuts.
alt+f4,win+l,win+d,alt+tab,win+r,win+x,win+e,ctrl+shift+escand their modifier supersets are refused without--force. In combos,cmdandmetaare the Windows key, someta+cis a shell shortcut. Writectrl+cto copy. typeneeds--headed. It is keystroke synthesis throughSendInput, so a strict-headlesstypereturnsPOLICY_DENIED. Useset-value, or pass--headed. It endsdelivered_unverified(verification_scope: "unavailable") when the field exposes no readable Text selection, and can verify when one is readable: confirm with a freshget.press --appwrites to the foreground queue with no per-
Häufige Fragen
Welche Windows-Versionen werden unterstützt?
Der Leitfaden nennt Windows 10 Version 1809 oder neuer oder Windows Server 2019 oder neuer, auf x64 oder ARM64.
Warum scheitert der Assistent manchmal bei bestimmten Fenstern?
Sichere Bildschirme wie UAC-Abfragen, der Anmeldebildschirm und gesperrte Desktops werden nicht unterstützt, dort schlägt die Automatisierung fehl.
Spielen Anführungszeichen in PowerShell eine Rolle?
Ja. Elementreferenzen müssen in Anführungszeichen stehen, weil PowerShell ein nacktes at-Zeichen als Operator liest.
Details
Originalbeschreibung des Autors
Windows platform guide for the agent-desktop CLI. Lists per command group what works on Windows and what refuses, the first-contact gotchas (PowerShell ref quoting, minimized windows, headed-only input), and where to find shell surfaces, notifications, the cursor overlay, UIPI elevation, Chromium/Electron settle behavior and troubleshooting. Triggers on: "windows desktop automation", "UIA tree", "automate Windows app", "agent-desktop on Windows", "elevated window input blocked", "E_ACCESSDENIED", or any Windows GUI interaction task.
repo: NanmiCoder/cc-haha
Beliebtheit
- GitHub-Sterne
- 15k
- Platz im Ranking
- #10916
- Lizenz
- —
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
agent-desktop-ffi
15kHilft Entwicklern, die Bibliothek agent-desktop direkt aus Python, Swift, Node, Go oder C++ aufzurufen, ohne für jede Aktion das Kommandozeilenwerkzeug zu starten.
agent-desktop-linux
15kZeigt deinem Agenten, wie er Linux-Desktop-Apps mit agent-desktop steuert, einschließlich dessen, was unter X11 und Wayland funktioniert, und typischer Korrekturen beim ersten Start.
agent-desktop-macos
15kZeigt deinem Agenten, wie er Mac-Apps automatisiert, einschließlich der nötigen Berechtigungen und der Arbeit mit Menüs, Dialogen sowie Chromium- oder Electron-Apps.
agent-desktop
15kLässt deinen Agenten Desktop-Apps auf Mac, Windows oder Linux sehen und bedienen, indem er den Accessibility-Baum liest, klickt, tippt und die Ergebnisse prüft.
Ähnliche Skills
add-model-provider
394kLässt deinen Agenten einen neuen KI-Modellanbieter mit sicheren Befehlen an OpenClaw anbinden, API-Schlüssel nicht im Klartext speichern und einen Live-Test starten.
acp-router
394kHilft deinem Agenten, eine Aufgabe über OpenClaw an einen Coding-Assistenten wie Claude Code oder Cursor zu senden, damit die Arbeit in diesem Tool läuft.
browser-automation
394kBringt deinem Agenten bei, Webseiten Schritt für Schritt zu steuern, einschließlich Anmeldungen, Tabs und Wiederherstellung, wenn eine Seite nicht mehr reagiert.