返回顶部
a

application-use应用使用

macOS desktop automation CLI for AI agents. Use for opening apps, clicking elements, filling forms, scrolling, or any macOS desktop task. Triggers: "open an app", "click a button", "fill a form", or programmatic macOS interaction.

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

application-use

macOS 桌面自动化(application-use)

用于自动化 macOS 应用程序的命令行工具。

安装

bash
npm i -g application-use

🚀 核心工作流程

  1. 1. 打开:application-use open --appName <名称> — 自动显示初始快照。
  2. 交互:使用提示(例如 [A])进行点击、输入或滚动。
  3. 自动更新:命令(open、click、type、sendkey、scroll)会自动显示更新后的快照。

[!提示]
仅在需要获取无任何操作的新视图时使用 application-use snapshot(例如等待动态内容后)。

🛠 命令参考

命令用法描述
openopen --appName Safari打开应用并显示快照。
click
click A [--right] [--double] | 通过提示字母点击元素。 | | fill | fill A 文本 或 fill 文本 | 向提示元素或焦点元素填充文本。 | | sendkey | sendkey enter、sendkey cmd+v | 发送单键或快捷键。 | | scroll | scroll Main down [500] | 按名称/提示滚动区域。 | | screenshot | screenshot [路径] [--frame] | 捕获窗口或特定坐标。 | | search | search Safari | 查找已安装的应用程序名称。 | | close | close --appName Safari | 退出指定应用程序。 | | type | type 文本 | 向焦点元素输入文本。 |

🏷 提示系统

  • - 元素:[A]、[B]、[AA]...(可交互元素)。
  • 区域:[a]、[b]...(滚动目标)。
  • 特殊标记:(*) = OCR 检测;(+) = 自上次快照后新增。

⚡️ 常见自动化模式

表单填写、提交与滚动

bash
application-use open --appName Safari
application-use fill A user@example.com # 填写邮箱
application-use sendkey tab # 下一个字段
application-use fill password # 焦点填充密码
application-use sendkey enter # 提交
application-use scroll d down 1000 # 向下滚动区域 d

浏览器导航

bash
application-use open --appName Safari
application-use fill A https://google.com && application-use sendkey enter

等待加载,然后通过自动快照的提示进行交互

文件操作(访达)

bash
application-use open --appName Finder
application-use sendkey cmd+shift+g # 前往文件夹
application-use fill /Users/name/Downloads && application-use sendkey enter

通过右键在新标签页中打开

application-use click A --right # 右键点击文件夹/文件(提示 A) application-use click B # 从菜单中点击在新标签页中打开(提示 B)

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 application-use-1775944582 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 application-use-1775944582 技能

通过命令行安装

skillhub install application-use-1775944582

下载

⬇ 下载 application-use v1.0.0(免费)

文件大小: 1.95 KB | 发布时间: 2026-4-12 09:01

v1.0.0 最新 2026-4-12 09:01
Initial release of `application-use` for macOS desktop automation.

- Introduces a CLI tool for opening apps, clicking elements, filling forms, scrolling, and automating tasks on macOS.
- Supports actionable commands: `open`, `click`, `fill`, `sendkey`, `scroll`, `screenshot`, `search`, `close`, and `type`.
- Features a hint system for element and area targeting.
- Provides snapshot-based feedback after each command for visual confirmation.
- Includes pattern examples for form filling, browser navigation, and Finder automation.

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

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

p2p_official_large
返回顶部