मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट29k · #9791

cua-driver

यह क्या करती है

यह macOS, Windows या Linux पर desktop ऐप चलाने में एजेंट का मार्गदर्शन करती है, एक driver tool से जो ऐप का इंटरफ़ेस पढ़ता है। यह उन लोगों के लिए है जो चाहते हैं कि AI एजेंट किसी असली ऐप के अंदर काम पूरा करे।

कब इस्तेमाल करें

  • ✓जब आप एजेंट से desktop ऐप के भीतर कोई काम चलाने या स्वचालित करने को कहें।
  • ✓जब आप चाहें कि ऐप का इंटरफ़ेस पढ़कर कई चरणों वाला काम पूरा हो।
  • ✓जब किसी ऐप में API न हो और काम के लिए क्लिक व टाइप करना पड़े।

Skill का लिंक

https://github.com/QwenLM/qwen-code/blob/main/packages/cua-driver/rust/Skills/cua-driver/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/QwenLM/qwen-code/blob/main/packages/cua-driver/rust/Skills/cua-driver/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरा spreadsheet ऐप खोलिए, monthly totals टैब ढूँढिए, और मेरे लिए उसे PDF में export कीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट ऐप के इंटरफ़ेस का snapshot लेता है, उस snapshot के तत्वों या सटीक स्थितियों पर कार्रवाई करता है, और ताज़ा snapshot से नतीजा जाँचता है। कार्रवाइयाँ आपस में सिंक न हों, इसके लिए वह हर बार एक ही चक्र अपनाता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Qwen Cua Driver

Orchestrates cross-platform app automation via qwen-cua-driver. Whenever a user asks to drive a native app, follow the loop in this skill rather than calling tools ad-hoc — the snapshot-before-action invariant is not optional and silently breaks if you skip it.

Platform-specific reading — read this first

This file is the cross-platform core: snapshot invariant, CLI vs MCP choice, tool surface naming, behavior matrix, canonical loop, pixel-click contract, common failure modes. The platform-specific material (forbidden-list, accessibility tree implementation, launch semantics, click dispatch) lives in companion files in this same directory:

  • macOS — read MACOS.md (no-foreground contract, forbidden open/osascript/cliclick invocations, AXMenuBar navigation, SkyLight pixel-click dispatch).
  • Windows — read WINDOWS.md (UIA tree vs AX, UWP / ApplicationFrameHost hosting, layered UIA+PostMessage click chain, Session 0 isolation, Windows-specific focus-steal vectors).
  • Linux — read LINUX.md (X11 background input via AT-SPI + XSendEvent (including X11 apps under XWayland)).

Cross-cutting topics also have their own files:

  • BROWSER.md — exact native-window binding, explicit browser preparation, typed Chromium/Electron page tools, input trust classes, and native fallbacks for browser chrome and unsupported engines.
  • RECORDING.md — session recording + replay_trajectory.

Use whichever combination matches the host. When in doubt, run qwen-cua-driver doctor — it reports the platform and the right entry point.

Start with the narrowest semantic route

Before opening or operating an application, name the desired postcondition and use the first applicable route below. Verify the result in the same domain before stopping or advancing:

  1. Caller-provided headless/background operation for a non-GUI outcome. Prefer an exact application API/SDK, service or database client, CLI, or filesystem operation over imitating a user. This includes batch-safe file moves, renames, copies, directory creation, archive extraction, data conversion, and process inspection. Read the resulting semantic state back; a zero exit status alone is not proof.
  2. Typed Cua operation for an application or window outcome. Use set_window_frame for exact geometry, invoke_menu for a known native application-menu path, typed browser tools for supported page content, and clipboard tools for clipboard state. Verify with list_windows, get_browser_state, or clipboard_read, respectively.
  3. Background accessibility action. Use a fresh AX/UIA/AT-SPI target.
  4. Background pixel action. Use the pixels from the same state snapshot.
  5. Foreground delivery. Retry only the action that evidence says could not land in the background.
  6. Desktop fallback. Select an exact desktop target for that call only. Later calls may return to an exact window target in the same session.

Use Cua Driver when the outcome lives in an application's UI or window state, or when the user explicitly asks to operate that GUI. Once the task crosses that boundary, do not replace Cua's targeted and verified actions with shell scripts that mutate the app UI. A shell is a capability of the calling agent, not of the Cua Driver MCP server; an MCP-only client must not assume one exists.

Filesystem outcomes and GUI fallbacks

When the requested outcome is a filesystem change and the caller has a headless filesystem or command capability, keep it on rung 0. Enumerate the exact source set, decide the destination-conflict policy before changing anything, perform one batch-safe operation, then independently read back both source and destination manifests. Do not open a file manager merely to mimic a move, copy, or rename that the caller can execute and verify directly.

If the caller has no such capability, use the file manager as a GUI fallback and keep each claim narrow:

  1. After entering an inline rename and setting its value, commit it with the platform's confirmation key, then take a fresh snapshot. Value readback from the inline editor proves only that the editor changed; it does not prove the filesystem rename committed.
  2. For a multi-selection, use the platform modifier (cmd on macOS, ctrl on Windows/Linux). On macOS and Windows, issue that modified click with delivery_mode:"foreground" so the target observes physical modifier state;
अक्सर पूछे जाने वाले सवाल

यह कौन से operating systems समर्थित करती है?

macOS, Windows और Linux, हर प्लेटफ़ॉर्म की खास बातें अलग फ़ाइलों में।

हर कार्रवाई से पहले snapshot क्यों लिया जाता है?

ताज़ा snapshot के बिना क्लिक चुपचाप गलत तत्व पर पड़ सकता है।

क्या यह वेब browser में भी काम कर सकती है?

browser का काम उसी skill के भीतर अपना सहायक मार्गदर्शन रखता है।

जानकारी

लेखक का मूल विवरण

Drive a native GUI app (macOS, Windows, Linux) via the Qwen Cua Driver CLI (default) or MCP server; snapshot its accessibility tree, act through snapshot-bound element tokens, native menu paths, exact window geometry, or pixel coordinates, and verify from fresh state. Use when the user asks you to operate, drive, automate, or perform a GUI task in a real application on the host.

repo: QwenLM/qwen-code

लोकप्रियता

GitHub स्टार
29k
रैंकिंग में स्थान
#9791
लाइसेंस
Apache-2.0
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

codegraph

29k

यह आपके एजेंट को इंडेक्स किए कोडबेस का विश्लेषण करने में मदद करती है, उसके कॉल ग्राफ़, निर्भरताओं, बेकार कोड, हॉटस्पॉट और अर्थ-आधारित खोज के ज़रिए।

कोडिंगसामान्य कोडिंग

qwen-code-claw

29k

यह आपके एजेंट को कोडिंग के काम Qwen Code को सौंपने में मदद करती है, जैसे कोडबेस समझना, बग ठीक करना, कोड रीफ़ैक्टर करना या नया प्रोजेक्ट बनाना।

कोडिंगसामान्य कोडिंग

structured-debugging

29k

यह आपके एजेंट को कठिन बग ढूँढने का चरण-दर-चरण तरीका सिखाती है: परिकल्पना बनाना, लक्षित जांच करना, परखना और ठीक करने से पहले असली कारण ढूँढना।

कोडिंगसामान्य कोडिंग

tmux-real-user-testing

29k

यह आपके एजेंट को tmux के अंदर टर्मिनल ऐप को असली यूज़र की तरह टेस्ट करने में मदद करती है, हर कदम की स्क्रीन-तस्वीर के साथ पढ़ने योग्य लॉग सहेजकर।

कोडिंगटेस्टिंग

मिलती-जुलती skills