返回顶部
d

desktop-operator

Operate Electron desktop applications on macOS via Puppeteer CDP. Open an app, find a UI element by text, click it, and take a screenshot.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
148
下载量
0
收藏
概述
安装方式
版本历史

desktop-operator

# desktop-operator 通过 Puppeteer CDP 连接 Electron 桌面应用,自动完成打开应用、点击指定文本元素、截图的操作。 ## 适用场景 用于自动化本地 Electron 应用(如各类管理后台、工具软件)。 示例触发语: - 打开 DaveBella 应用,点击订单中心,然后截图 - 打开 xx 应用,点击顶部的订单中心 - 打开 xx 应用,进入数据分析页面截图 --- ## Parameters | 参数 | 说明 | |------|------| | `--app` | 应用名称,即 `/Applications/` 下 `.app` 文件名(不含 .app) | | `--target` | 要点击的元素文本内容 | --- ## Execution ``` node dist/index.js --app "{appName}" --target "{targetText}" ``` 示例: ``` node dist/index.js --app "DaveBella" --target "订单中心" ``` --- ## Output 成功后输出 JSON: ```json { "screenshot": "/tmp/desktop_operator_skill_xxxxxxxxx.png" } ``` 截图路径即为操作完成后的页面截图,可直接展示给用户。 --- ## 注意事项 - 仅适用于 Electron 应用 - 应用需安装在 `/Applications/` 目录下 - 首次使用需在「系统设置 → 隐私与安全性 → 辅助功能」中授权 Terminal

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 desktop-operator-1776053589 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 desktop-operator-1776053589 技能

通过命令行安装

skillhub install desktop-operator-1776053589

下载 Zip 包

⬇ 下载 desktop-operator v1.0.0

文件大小: 5.5 KB | 发布时间: 2026-4-14 10:15

v1.0.0 最新 2026-4-14 10:15
Initial release of desktop-operator.

- Automates Electron desktop apps on macOS using Puppeteer CDP.
- Supports opening an app, locating UI elements by text, clicking, and taking screenshots.
- Works with apps installed in the /Applications/ directory.
- Outputs a screenshot path in JSON format after operation.
- Requires accessibility permissions for Terminal.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部