返回顶部
c

claw-mouse

Control a Linux X11 desktop by taking screenshots and moving/clicking/typing via xdotool + scrot.

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

claw-mouse

# claw-mouse This skill provides a small, scriptable **desktop GUI control** helper for Linux **X11**. It’s intended for “vision loop” automation: 1) take a screenshot 2) decide where to click 3) move/click/type 4) repeat Under the hood it wraps: - `scrot` for screenshots - `xdotool` for mouse/keyboard/window control ## Files - `desktopctl.py` — the CLI script ## Requirements - Linux running **X11** (not Wayland-only) - `python3` - `xdotool` - `scrot` Ubuntu/Debian: ```bash sudo apt-get update sudo apt-get install -y xdotool scrot ``` ## Usage From this skill directory: ```bash python3 desktopctl.py screenshot python3 desktopctl.py click 500 300 python3 desktopctl.py type "hello" python3 desktopctl.py key ctrl+l python3 desktopctl.py windows python3 desktopctl.py activate "Chromium" ``` ### DISPLAY / XAUTHORITY If you’re running from a daemon/headless shell where `DISPLAY` isn’t set: ```bash DISPLAY=:0 XAUTHORITY=$HOME/.Xauthority python3 desktopctl.py screenshot ``` Or use flags: ```bash python3 desktopctl.py --display :0 --xauthority $HOME/.Xauthority screenshot ``` ## Safety notes This can click/type into your real desktop session. Use carefully. ## Changelog - 0.1.0: Initial published skill.

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 claw-mouse-1776419969 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 claw-mouse-1776419969 技能

通过命令行安装

skillhub install claw-mouse-1776419969

下载 Zip 包

⬇ 下载 claw-mouse v0.1.0

文件大小: 3.18 KB | 发布时间: 2026-4-17 18:59

v0.1.0 最新 2026-4-17 18:59
Initial published skill

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

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

p2p_official_large
返回顶部