本文へスキップ
Skillpedia
自動化6.4k · #14224

computer-use

できること

このガイドは、組み込みのコンピューター操作のツールを使い、実際のデスクトップアプリケーションの中を確認して操作する方法を説明します。コンピューターのアプリの中でAIに作業を実行させたい人向けです。

使う場面

  • ✓ユーザーが、AIにデスクトップのプログラムのフォームを入力させたいとき。
  • ✓ユーザーが、AIにコンピューター上の特定のアプリを見つけて開かせたいとき。
  • ✓ユーザーが、デスクトップアプリの反復作業を段階的に自動化したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ThinkInAIXYZ/deepchat/blob/dev/plugins/cua/skills/computer-use/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“表計算のアプリを開き、請求書のタブを見つけて、最後の行の合計を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルはAIに、セッションを開始し、名前でアプリを見つけ、開くか再利用し、そのうえで画面を読んで段階的に操作し、各操作の後に結果を確認するよう指示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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
よくある質問

どのコンピューターが対応していますか?

x64のmacOS、Windows、Linuxと、Arm版のWindowsとmacOSに対応しますが、Arm版のLinuxには対応していないとスキルは述べています。

追加のソフトウェアが必要ですか?

いいえ。同梱されたプラグインのツールを使うとスキルは述べており、ユーザーが別途何かをインストールする必要はありません。

確認せずに操作しますか?

スキルは、AIに次へ進む前に、各操作の後で画面を確認するよう求めています。

詳細

作者による元の説明

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

人気

GitHubのスター
6.4k
ランキング
#14224
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル