/install handsfree-windows-control
Handsfree Windows Control
A guide skill for automating native Windows apps (UIA) and web browsers (Playwright)
via the handsfree-windows CLI.
First use: auto-setup
On first use, run setup before issuing any other commands:
python scripts/setup.py
This will:
- Clone
handsfree-windowsfrom GitHub into~/.handsfree-windows/cli/(public repo, read-only) - Install it via
pip install -e(standard pip editable install) - Install Playwright + Chromium browser binaries (~200 MB one-time download from cdn.playwright.dev)
- Run
check_setup.pyto verify everything is working
To skip browser installation (browser-* commands will not work):
python scripts/setup.py --no-browser
To install to a custom directory:
python scripts/setup.py --install-dir "C:\your\preferred\path"
Already installed? Verify anytime:
python scripts/check_setup.py
What is written to disk (transparent)
- CLI source code:
~/.handsfree-windows/cli/(or --install-dir) - pip editable link: standard site-packages egg-link (pip managed)
- Browser persistent profiles:
~/.handsfree-windows/browser-profiles/\x3Cengine>/Contains cookies and login sessions. Delete to reset browser auth. - Browser session state:
~/.handsfree-windows/browser-state.json(last visited URL) - Playwright browser binaries:
~\AppData\Local\ms-playwright\(~800 MB, Windows)
To fully remove everything:
pip uninstall handsfree-windows -y
Remove-Item -Recurse -Force "$env:USERPROFILE\.handsfree-windows"
Core rules
- Do not guess UI controls. Run
hf treeorhf inspectfirst, then act on what is actually there. - Do not type credentials. Navigate to login screens; let the human complete auth.
- Prefer UIA selectors (name + control_type) over raw coordinates.
- Use
drag-canvasonly for canvas/ink surfaces (Paint, drawing apps, etc.). - For destructive actions (delete, submit, send), ask the human for confirmation first.
Workflow: Desktop app (UIA)
# Launch any installed app
hf start --app "Outlook"
# Find the window
hf list-windows --json
# Discover controls (no guessing)
hf tree --title-regex "Outlook" --depth 10 --max-nodes 30000
# Act on what was found
hf click --title "Outlook" --name "New mail" --control-type "Button"
# Inspect element under cursor
hf inspect --json
Workflow: Browser (Playwright)
# Open URL - login sessions saved in profile automatically
hf browser-open --url "https://example.com"
# Inspect page before acting
hf browser-snapshot --fmt text
# Act
hf browser-click --text "Sign in"
hf browser-type --selector "#email" --text "[email protected]"
# Verify
hf browser-screenshot --out result.png
Mixed macro (desktop + web in one YAML)
- action: start
args:
app: "My Desktop App"
- action: browser-open
args:
url: "https://app.example.com"
headless: false
- action: browser-click
args:
text: "Get Started"
- action: sleep
args:
seconds: 1
Run with: hf run macro.yaml
References
- Full command reference + selector schema: references/api_reference.md
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install handsfree-windows-control - 安装完成后,直接呼叫该 Skill 的名称或使用
/handsfree-windows-control触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Handsfree Windows Control 是什么?
Guide skill for controlling native Windows apps (UIA) and web browsers (Playwright) via the handsfree-windows CLI. Use when you need to automate or test desk... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 734 次。
如何安装 Handsfree Windows Control?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install handsfree-windows-control」即可一键安装,无需额外配置。
Handsfree Windows Control 是免费的吗?
是的,Handsfree Windows Control 完全免费(开源免费),可自由下载、安装和使用。
Handsfree Windows Control 支持哪些平台?
Handsfree Windows Control 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Handsfree Windows Control?
由 Lijin AR(@lijinlar)开发并维护,当前版本 v1.3.0。