agent-desktop-windows
यह क्या करती है
यह स्किल असिस्टेंट को agent-desktop टूल से Windows डेस्कटॉप ऐप नियंत्रित करने की गाइड देती है। यह उन लोगों के लिए है जो चाहते हैं कि असिस्टेंट Windows प्रोग्राम पढ़े और उन पर क्लिक करे।
कब इस्तेमाल करें
- ✓जब आप चाहते हैं कि असिस्टेंट Windows ऐप में क्लिक करे, टाइप करे या उसे पढ़े।
- ✓जब Windows ऑटोमेशन कमांड कुछ नहीं लौटाती या कोई विंडो छूट जाती है।
- ✓जब आपको जानना है कि Windows पर कौन-सी ऑटोमेशन कमांड काम करती है।
Skill का लिंक
https://github.com/NanmiCoder/cc-haha/blob/main/native/agent-desktop/skills/agent-desktop-windows/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे Windows PC पर Notepad खोलिए, उसमें एक छोटा नोट लिखिए और उसे सेव कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
गाइड बताती है कि हर कमांड ग्रुप Windows पर क्या करता है और पहली बार की आम समस्याएँ कौन-सी हैं। असिस्टेंट डेस्कटॉप एक्सेसिबिलिटी ट्री से कंट्रोल ढूँढता है, उन पर कार्रवाई करता है और नतीजा जाँचता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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-
अक्सर पूछे जाने वाले सवाल
कौन-से Windows वर्ज़न समर्थित हैं?
गाइड कहती है Windows 10 वर्ज़न 1809 या उसके बाद, या Windows Server 2019 या उसके बाद, x64 या ARM64 पर।
कुछ विंडो पर असिस्टेंट क्यों विफल हो सकता है?
UAC प्रॉम्प्ट, साइन-इन स्क्रीन और लॉक डेस्कटॉप जैसी सुरक्षित स्क्रीन समर्थित नहीं हैं, इसलिए वहाँ ऑटोमेशन विफल होता है।
क्या PowerShell में quoting मायने रखती है?
हाँ। एलिमेंट रेफ़रेंस को quote करना ज़रूरी है, क्योंकि बिना quote वाला at चिह्न PowerShell में ऑपरेटर माना जाता है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 15k
- रैंकिंग में स्थान
- #10916
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-desktop-ffi
15kडेवलपर्स को हर कार्रवाई के लिए कमांड-लाइन टूल शुरू किए बिना agent-desktop ऑटोमेशन लाइब्रेरी को Python, Swift, Node, Go या C++ से सीधे बुलाने में मदद करती है।
agent-desktop-linux
15kआपके एजेंट को agent-desktop से Linux डेस्कटॉप ऐप नियंत्रित करना सिखाती है, जिसमें X11 और Wayland पर क्या चलता है और पहली बार की आम समस्याओं के हल शामिल हैं।
agent-desktop-macos
15kआपके एजेंट को Mac ऐप ऑटोमेट करना सिखाती है, जिसमें ज़रूरी अनुमतियाँ देना, मेन्यू और डायलॉग संभालना, और Chromium या Electron ऐप पर काम करना शामिल है।
agent-desktop
15kआपके एजेंट को एक्सेसिबिलिटी ट्री पढ़कर, क्लिक और टाइप करके और नतीजे जाँचकर Mac, Windows या Linux के डेस्कटॉप ऐप चलाने देती है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।