Electron 應用程式自動化
Electron 應用程式自動化
以 CDP 連線操作 Electron 桌面程式。
Vercel · 官方來源 · 自動化
來源狀態
可用來源
資源類型
Skill
與類似 Skill 有什麼不同?
- Agent 瀏覽器自動化
Agent Browser 操作一般網頁;Electron 專注桌面 Electron 應用的偵錯介面與操作條件。
來源描述的能力
這些是來源描述的可能操作,不代表 2lus 已授予權限或已測試。
尚未列出能力,請審查原始來源。
這個 Skill 是什麼?
將 agent-browser 快照操作方式用於 Electron 介面。
可以做什麼?何時適合使用?
- 桌面設定檢查
- 視窗導覽
- 桌面功能回歸
如何使用
- 確認程式可在測試模式開啟遠端除錯。
- 連線指定本機 CDP 埠並檢查視窗。
- 每次狀態改變重新擷取,完成後關閉除錯。
使用前你需要準備
- 目標工作流程與現況
- 可執行操作的授權界線
你可以替換:
[target branch]、[workflow]
環境與相依需求
- agent-browser、支援除錯的 Electron 程式與本機 CDP 連線。
使用範例與 Prompt
以下是 2lus 撰寫的示範需求;請替換為你有權處理的檔案與專案,不代表已執行或保證結果。
入門
在專用測試設定檔中列出 Electron 偏好設定,不變更內容。
實務
檢查自建 Electron 應用的空白文件流程,不打開私人資料。
進階
為測試版桌面編輯器規劃多視窗回歸,標示每個視窗與動作,完成後停用 CDP。
實用提醒
- 先確認連上的視窗與測試帳號。
限制與注意事項
- 非 Electron 原生應用程式不適用;版本或政策可能限制除錯。
安全注意事項
- 不要公開 CDP 埠;桌面工作階段可能含私人訊息與檔案。
使用與設定
安裝 discovery skill;另依官方文件準備 CLI 與瀏覽器,再取得相符版本的指引。
npx skills add vercel-labs/agent-browser官方文件 ↗
支援平台
Claude Code — 文件記載,未做實機相容性測試 官方文件 ↗
Cursor — 文件記載,未做實機相容性測試 官方文件 ↗
Codex — 文件記載,未做實機相容性測試 官方文件 ↗
來源與授權
來源查核日期(非安全認證): 2026-09-29
Apache-2.0
原始來源 ↗ 授權條款 ↗ 官方文件 ↗相關 Skills
使用第三方 Skill 前,請先檢查來源、權限與執行內容。安裝指令只供查看與複製,不會由 2lus 執行。
2lus AI Skills Library 提供 Skill 的整理與使用導覽。第三方 Skill 的內容、授權與可用性以原始來源為準。使用或安裝前,請自行確認其權限與執行內容。
Electron App Automation
Control Electron desktop applications through CDP.
Vercel · Official source · Automation
Source status
Active source
Resource type
Skill
How is this different from similar skills?
- Agent Browser
Agent Browser operates web pages; Electron focuses on desktop Electron apps and their debugging interfaces.
Documented capabilities
These are operations described upstream, not permissions granted or tested by 2lus.
Capabilities not declared here; review the original source.
What is this skill?
Apply agent-browser snapshot interactions to Electron interfaces.
Use cases and when to use it
- Desktop settings review
- Window navigation
- Desktop feature regression
How to use it
- Confirm permission to launch a debug-enabled test app.
- Connect to the designated local CDP port and inspect its window.
- Refresh after changes and close debugging when finished.
What you need
- Target workflow and current state
- Authorization boundaries
You can replace:
[target branch], [workflow]
Environment and dependencies
- agent-browser, an Electron app supporting debugging and local CDP access.
Usage and prompt examples
These example requests were written by 2lus. Substitute files and projects you may use; examples are not executed results or guarantees.
Beginner
List Electron preferences in a dedicated test profile without changing them.
Practical
Inspect a blank-document flow in our Electron app without opening private data.
Advanced
Plan multi-window regression for a test editor, identify each window/action and disable CDP afterward.
Tips
- Confirm the selected window and test account first.
Limitations
- Not for non-Electron native apps; versions or policies can restrict debugging.
Security notes
- Never expose the CDP port publicly; desktop sessions may contain private messages/files.
Usage and setup
Installs the discovery skill; separately prepare the CLI/browser and retrieve matching instructions.
npx skills add vercel-labs/agent-browserDocumentation ↗
Supported agents
Claude Code — Documented; not runtime-tested Documentation ↗
Cursor — Documented; not runtime-tested Documentation ↗
Codex — Documented; not runtime-tested Documentation ↗
Sources and license
Source check date (not a safety certification): 2026-09-29
Apache-2.0
Original source ↗ License terms ↗ Documentation ↗Related skills
Before using a third-party skill, review its source, permissions and executable content. Commands are for viewing and copying only; 2lus does not execute them.
2lus AI Skills Library provides curated educational guides. Third-party content, licenses and availability are governed by their original sources. Review permissions and executable content before use or installation.