Skip to content
Skillpedia
Automations6.4k · #14224

computer-use

What it does

It explains how to use built-in Computer Use tools to inspect and work inside a real desktop application. It is for people who want the AI to carry out a task in an app on their computer.

When to use it

  • ✓When a user wants the AI to fill in a form in a desktop program.
  • ✓When a user wants the AI to find and open a specific app on their computer.
  • ✓When a user wants a repetitive task in a desktop app automated step by step.

Skill link

https://github.com/ThinkInAIXYZ/deepchat/blob/dev/plugins/cua/skills/computer-use/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ThinkInAIXYZ/deepchat/blob/dev/plugins/cua/skills/computer-use/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Open my spreadsheet app, find the invoice tab, and tell me the total in the last row.”

5 new skills a week. 1 minute to read.

How it works

The skill tells the AI to start a session, find the app by its name, open or reuse it, then read the screen and act step by step, checking results after each action.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

computer-use

Use DeepChat's plugin-provided Computer Use tools as the only action surface for this skill. Do not ask the user to install cua-driver, configure an external server, or put anything on PATH for the bundled DeepChat plugin.

Runtime Context

  • Plugin id: ${OWNER_PLUGIN_ID}.
  • Plugin root: ${PLUGIN_ROOT}.
  • Process arch: ${PROCESS_ARCH}.
  • Supported targets: darwin/arm64, darwin/x64, win32/x64, win32/arm64, linux/x64.
  • Unsupported targets: linux/arm64.
  • macOS runtime bundle: packaged builds prefer DeepChat.app/Contents/Helpers/DeepChat Computer Use.app; the plugin-local fallback is ${PLUGIN_ROOT}/runtime/darwin/${PROCESS_ARCH}/DeepChat Computer Use.app.
  • Windows helper binary: ${PLUGIN_ROOT}/runtime/win32/${PROCESS_ARCH}/cua-driver.exe.
  • Linux helper binary: ${PLUGIN_ROOT}/runtime/linux/${PROCESS_ARCH}/cua-driver.

Required Loop

  1. Declare one stable run identity with start_session({ session, capture_scope: "auto" }). Reuse that session value for every state and action call whose advertised schema declares it. Omit cursor_theme during normal session setup.
  2. Resolve the app with list_apps. Match localized names, English names, romanized names, bundle identifiers, executable names, and common abbreviations. Prefer stable identifiers when a result provides them.
  3. Start or reuse the target with launch_app. Use the returned pid when available.
  4. Inspect windows with list_windows({ pid }) when the launch result lacks a usable window.
  5. Snapshot before every UI action with get_window_state({ pid, window_id, session }). Pass include_screenshot: true for the initial view, sparse or ambiguous accessibility trees, pixel actions, and visual verification. Pass include_screenshot: false for a routine cheap re-index when the accessibility target is already unambiguous.
  6. Act with the matching DeepChat tool: click, right_click, double_click, drag, scroll, type_text, press_key, hotkey, set_value, set_window_frame, invoke_menu, or launch_app with URLs/files when supported by the platform. Follow WEB_APPS.md for browser page content.
  7. When an ActionResult-contract tool appends ## CUA action result, read it. Delivery describes dispatch, not effect or task completion. Do not continue as if the action succeeded when effect is partial, unverifiable, suspected_noop, or refused. Legacy lifecycle/app tools without this projection still require postcondition verification.
  8. Verify after each action. Use verify_state for an exact-window postcondition expressible as window existence/bounds or a trusted native element's existence/value/enabled/selected state. Otherwise take a fresh get_window_state, get_browser_state, or get_desktop_state and inspect the relevant visible evidence.
  9. Call end_session({ session }) after the run, including orderly error cleanup.

Prefer a non-empty element_token from the latest get_window_state result for the same pid and window_id. Treat every token as opaque: do not parse, shorten, increment, or synthesize it. Never send element_token: "". When no token is usable, pass both element_index and the exact snapshot_id returned by that same latest window snapshot. A bare element_index is invalid. Omit all element fields for a pixel-coordinate action.

If a local action error begins snapshot_id_required, or an action appends a ## CUA structured refusal whose refusal.code is snapshot_id_required, element_index_required, invalid_snapshot_id, stale_element_token, generation_mismatch, invalid_element_token, or conflicting_element_target, take one fresh get_window_state and retry once with a token or index-plus-snapshot pair entirely from the new result. Never combine fields from different snapshots, reuse a rejected handle, or silently fall back to an older index.

Action Results and Verification

The ## CUA action result projection contains a closed result contract:

  • effect="confirmed" has action-specific evidence, but does not prove the user's whole task is complete.
  • effect="partial" means only part of the requested input was delivered.
  • effect="unverifiable" means the route ran without enough effect evidence.
  • effect="suspected_noop" means observation suggests no useful change.
  • effect="refused" is a failure, even if the outer transport call completed normally.
  • route, `deliv
FAQ

Which computers are supported?

The skill lists macOS, Windows and Linux on x64, plus Windows and macOS on Arm, and not Linux on Arm.

Does it need extra software?

No. The skill says the bundled plugin tools are used, and the user should not install anything separately.

Will it act without checking?

The skill asks the AI to check the screen after each action before going on.

Details

Original description by the author

Drive native desktop apps through DeepChat's built-in Computer Use tools. Use when the user asks to operate, inspect, automate, or perform a GUI task in a real desktop application.

repo: ThinkInAIXYZ/deepchat

Popularity

GitHub stars
6.4k
Ranking position
#14224
License
Apache-2.0
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills