跳到正文
TakoAPI
返回技能列表

handsfree-windows-control

由 lijinlar 提供

Web & Frontend Development
398下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Guide skill for controlling native Windows apps (UIA) and web browsers (Playwright) via the handsfree-windows CLI.

描述

该技能的功能

Controls native Windows desktop apps and web browsers from the command line using the handsfree-windows CLI. Handles UI automation via Windows UIA for desktop apps and Playwright for browsers. Supports recording and replaying YAML macros that mix desktop and browser steps.

Combining UIA desktop control and Playwright browser automation in a single CLI with a shared macro format removes the need to maintain two separate automation toolchains.

何时使用

  • Automating multi-step data entry in a Windows desktop app
  • Running end-to-end browser tests without writing test framework code
  • Discovering UI controls in an unfamiliar Windows app before scripting it
  • Recording a mixed desktop-and-web workflow as a reusable YAML macro
  • Taking browser screenshots or snapshots for verification during automation

示例工作流

输入

User asks: open the company intranet in the browser, click 'Submit Report', then confirm the desktop notification appeared in Outlook

智能体
  1. 1

    Run hf browser-open --url https://intranet.example.com to open the URL in the managed browser profile

  2. 2

    Run hf browser-snapshot --fmt text to inspect the page and locate the Submit Report button

  3. 3

    Run hf browser-click --text "Submit Report" to click it

  4. 4

    Run hf start --app "Outlook" then hf tree --title-regex "Outlook" --depth 5 to discover notification controls

  5. 5

    Run hf inspect --json to confirm the notification element is present

输出

Browser action completed and Outlook notification element confirmed via UIA tree

前置要求

  • Python (to run setup.py and scripts)
  • Windows operating system

安装

clawhub install lijinlar/handsfree-windows-control

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接