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がスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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
- Declare one stable run identity with
start_session({ session, capture_scope: "auto" }). Reuse thatsessionvalue for every state and action call whose advertised schema declares it. Omitcursor_themeduring normal session setup. - 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. - Start or reuse the target with
launch_app. Use the returnedpidwhen available. - Inspect windows with
list_windows({ pid })when the launch result lacks a usable window. - Snapshot before every UI action with
get_window_state({ pid, window_id, session }). Passinclude_screenshot: truefor the initial view, sparse or ambiguous accessibility trees, pixel actions, and visual verification. Passinclude_screenshot: falsefor a routine cheap re-index when the accessibility target is already unambiguous. - 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, orlaunch_appwith URLs/files when supported by the platform. FollowWEB_APPS.mdfor browser page content. - 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 wheneffectispartial,unverifiable,suspected_noop, orrefused. Legacy lifecycle/app tools without this projection still require postcondition verification. - Verify after each action. Use
verify_statefor an exact-window postcondition expressible as window existence/bounds or a trusted native element's existence/value/enabled/selected state. Otherwise take a freshget_window_state,get_browser_state, orget_desktop_stateand inspect the relevant visible evidence. - 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
コメント
- …
このリポジトリの他のスキル
feishu-tools
6.4kエージェントが、接続されたFeishuのツールを通じて、FeishuやLarkの文書、表計算、ワークスペースの内容を読み、編集できるよう支援します。
memcode
6.4kエージェントが、あなたが頼んだときにだけ、承認された事実をMemcodeに保存し、チャットをまたいで関連する記憶を呼び出せるよう支援します。
nowledge-mem
6.4kエージェントが、Nowledge Memを使い、開始時の文脈を読み込み、過去の決定を思い出し、役立つ学びを保存し、接続を確認できるよう支援します。
code-review
6.4kエージェントが、品質、セキュリティ、パフォーマンス、ベストプラクティスについてコードをレビューし、例を添えて問題を深刻度順に報告できるよう支援します。